CosmWasm MCP Server
@adairrr
About CosmWasm MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 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. It is written in Rust and uses the cw-orchestrator library to communicate with CosmWasm contracts.
How to use CosmWasm MCP Server?
Build the server binary with cargo build --release, then configure it in your MCP client (e.g., Claude Desktop) by adding the binary path, empty args, and environment variables TEST_MNEMONIC and RUST_LOG to the client's configuration file. Restart the client to see the MCP UI elements, then send natural‑language prompts to query contracts, execute transactions, or check balances.
Key features of CosmWasm MCP Server
- Built in Rust using the cw-orchestrator SDK
- Enables AI agents to query CosmWasm smart contracts
- Supports contract state queries (e.g.,
get_count) - Supports contract execution (e.g.,
increment) - Supports address balance queries
- Uses standard input/output MCP transport (stdio)
Use cases of CosmWasm MCP Server
- AI‑powered monitoring and interaction with live smart contracts
- Automated testing of CosmWasm contract logic
- Integrating blockchain actions into conversational AI workflows
- Querying on‑chain state and balances without manual RPC calls
FAQ from CosmWasm MCP Server
What dependencies are required to run this server?
You need Rust and Cargo to build the binary. At runtime, the server requires the TEST_MNEMONIC and RUST_LOG environment variables.
How does the server communicate with the MCP client?
It uses standard input/output (stdio) transport, as shown in the client configuration where the server is launched directly as a process.
Does the server support multiple blockchain networks?
Not yet. The chain is currently hardcoded; a TODO in the README indicates future support for passing the chain via environment variable or command argument.
What actions can the server perform on smart contracts?
Based on the examples, it can query contract state (e.g., get_count), execute contract methods (e.g., increment), and retrieve the balance of an address.
Where can I find more information about the protocol it implements?
The README links to the Model Context Protocol for details.
More Other MCP servers
ghidraMCP
LaurieWiredMCP Server for Ghidra
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Comments