cosmwasm-mcp
A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts.
Documentation
CosmWasm MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts, enabling AI agents to manage and interact with blockchain-based contracts programmatically. Learn more at Model Context Protocol.
This MCP server is written in Rust and uses cw-orchestrator to interact with CosmWasm smart contracts.
Get started
1. Build the Server (Counter Example)
cargo build --releaseThis builds a standard input/output MCP server binary.
2. Add or update this section in your `PATH-TO/claude_desktop_config.json`
Windows
{
"mcpServers": {
"cosmwasm-mcp": {
"command": "PATH-TO/rust-sdk/target/release/examples/cw-orch-mcp.exe",
"args": [],
"env": {
"TEST_MNEMONIC": "",
"RUST_LOG": "info"
}
}
}
}MacOS/Linux (`~/Library/Application\ Support/Claude/claude_desktop_config.json`)
{
"mcpServers": {
"cosmwasm-mcp": {
"command": "PATH-TO/rust-sdk/target/release/examples/cw-orch-mcp",
"args": [],
"env": {
"TEST_MNEMONIC": "",
"RUST_LOG": "info"
}
}
}
}3. Ensure that the MCP UI elements appear in Claude Desktop
The MCP UI elements will only show up in Claude for Desktop if at least one server is properly configured. It may require to restart Claude for Desktop.
4. Once Claude Desktop is running, try chatting:
Please query `neutron14kjnjnmeyz2pzaa9ga50dnsu5dwr39q0jhnz50nwr6yyqdkg6ayqwfsur2` for `get_count`.Please increment `neutron14kjnjnmeyz2pzaa9ga50dnsu5dwr39q0jhnz50nwr6yyqdkg6ayqwfsur2`Please get the balance of neutron14kjnjnmeyz2pzaa9ga50dnsu5dwr39q0jhnz50nwr6yyqdkg6ayqwfsur2TODO
- [ ] Don't hardcode chain, allow to be passed in by env or into any command
- [ ] Instantiate a contract
Frequently asked questions
What is cosmwasm-mcp?
cosmwasm-mcp is A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts.
How do I install cosmwasm-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is cosmwasm-mcp open source?
Yes — it is hosted on GitHub at https://github.com/adairrr/cosmwasm-mcp.
Related MCP tools
🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments.
An open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM for the Model Context Protocol. Enhance AI
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP