What is Sensei MCP?
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development on Starknet. It serves as a personal Dojo Sensei, offering specialized knowledge and assistance for building onchain worlds using the Dojo Entity Component System (ECS) framework.
How to use Sensei MCP?
Install via Cursor IDE by adding a new MCP server with the command npx github:dojoengine/sensei-mcp, or add it to Claude Code with claude mcp add sensei-mcp npx github:dojoengine/sensei-mcp. You can also run it directly in the terminal with npx github:dojoengine/sensei-mcp.
Key features of Sensei MCP
- Expert guidance for Cairo’s ownership, memory, and type systems
- Dojo ECS architecture: Models, Systems, and World patterns
- Smart contract development best practices for Starknet
- Specialized tools for models, systems, testing, and more
- Incremental development workflow from setup through testing
- Automated tool selection based on user requests
Use cases of Sensei MCP
- Building onchain worlds using the Dojo ECS framework
- Writing Cairo smart contracts for Starknet
- Setting up Dojo project structure with
sozo init
- Creating and configuring Dojo models and systems
- Writing and running tests for Dojo applications
评论