| Crates.io | pop-mcp |
| lib.rs | pop-mcp |
| version | 0.1.0 |
| created_at | 2025-11-11 11:09:58.877108+00 |
| updated_at | 2025-11-11 11:09:58.877108+00 |
| description | MCP Server for Polkadot ink! smart contract development with Pop CLI integration |
| homepage | https://github.com/r0gue-io/pop-mcp |
| repository | https://github.com/r0gue-io/pop-mcp |
| max_upload_size | |
| id | 1926994 |
| size | 2,816,741 |
Model Context Protocol server that wires Pop CLI straight into your AI assistant so you can scaffold, build, and operate Polkadot projects through natural language.
Clone the repository and build locally:
git clone https://github.com/r0gue-io/pop-mcp.git
cd pop-mcp
cargo build --release
The binary will be available at target/release/pop-mcp.
Register the MCP server with your AI client:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"pop-cli": {
"command": "/path/to/pop-mcp/target/release/pop-mcp"
}
}
}
Claude Code:
/mcp add pop-cli
When prompted, enter the full path to your binary: /path/to/pop-mcp/target/release/pop-mcp
Other MCP Clients:
Use the same JSON structure with the full path to your target/release/pop-mcp binary.
After configuration, restart your AI client and verify the installation:
check_pop_installation tool⚠️ Caution
Do not add keys with mainnet funds. Even though the code uses it safely, LLMs can hallucinate and send malicious transactions. Use it only for testing/development purposes. DO NOT trust the LLM!!
check_pop_installation (or install_pop_instructions) so the assistant can confirm Pop CLI is available.create_contract with a template (standard, erc20, erc721, etc.) and optional --path.build_contract --path <dir> [--release] and test_contract --path <dir> to compile and verify.deploy_contract --path <dir> [--constructor ... --args ... --url wss://testnet-passet-hub.polkadot.io --suri //Alice]. The tool parses the output and surfaces addresses/code hashes.call_contract for messages, get_contract_info for metadata, and hash_data/convert_address for utilities. Use search_documentation scope=ink whenever extra context from the embedded guides is needed.create_chain --name my-chain [--template contracts|assets|evm --path /work] scaffolds the Pop CLI chain project.search_documentation scope=pop for command references.build_chain --path /work/my-chain [--para-id 1111 --release] produces the node and runtime artifacts.benchmark_pallet --path /work/my-chain --pallet <name> [--runtime wasm] to update weights before launch.launch_chain --path /work/my-chain starts the network via pop up parachain.call_chain --pallet ... --function ... [--args ... --url ws://127.0.0.1:9944]. When you are ready to deploy contracts onto the chain, reuse the smart-contract flow against the chain’s RPC endpoint.Stay within this flow, keep credentials test-only, and let the assistant orchestrate Pop CLI end-to-end.