CosmWasm MCP Server Template
About
MCP server template for CosmWasm smart contract projects
Details
- Author
- drewstaylor
- GitHub stars
- 1
- Downloads
- 319
- Categories
- Developer Tools
Jump to
- Wraps CosmWasm query and execute entry points
- Generates JSON schemas for AI agents
- Supports stdio, SSE, and HTTP‑streamable transports
- Customizable LLM instructions and tool descriptions
- Works with any CosmWasm contract via template adaptation
- Provides 6 default MCP tools for contract interaction
Requires Rust on the nightly channel. Adapt the template to your contract by updating Cargo.toml with your contract dependency, feature‑gating entry points, replacing imports in src/server.rs, and setting deployed contract addresses in src/contract.rs. Optionally customize LLM instructions, enable custom tool schemas, and choose a transport mode (stdio, SSE, or HTTP‑streamable). Build with cargo build --release. Connect to Claude Desktop via stdio, or to LangGraph via @langchain/mcp-adapters.
CosmWasm MCP Server Template
MCP server in Rust, for wrapping query and execute entry point messages to be broadcast by a signer. This project template should work with any CosmWasm contract.Building this project
To build this project requires the nightly build of Rust, this will allow using edition 2024 of rustc.
```sh
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





