CosmWasm MCP Server
@adairrr
关于 CosmWasm MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
其他 分类下的更多 MCP 服务器
Codelf
unbugA search tool helps dev to solve the naming things problem.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Servers
modelcontextprotocolModel Context Protocol Servers
ICSS
chokcoco不止于 CSS
评论