I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

sensei-mcp
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development on Starknet.
3 years
Works with Finder
2
Github Watches
2
Github Forks
5
Github Stars
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 your personal Dojo Sensei, offering specialized knowledge and assistance for building onchain worlds using the Dojo Entity Component System (ECS) framework.
Features
- Expert Cairo Guidance: Get help with Cairo's unique ownership, memory, and type systems
- Dojo ECS Architecture: Learn about Models, Systems, and World patterns
- Smart Contract Development: Best practices for Starknet smart contracts
- Specialized Tools: Access topic-specific tools for models, systems, testing, and more
Installation
Using with Cursor
To add Sensei to your Cursor IDE:
- Open Cursor Settings (⌘+,)
- Navigate to the "MCP" section
- Click "Add New MCP"
- Configure as follows:
- Name: Sensei (or any name you prefer)
- Type: Command
-
Command:
npx github:dojoengine/sensei-mcp
- Click "Save"
Once configured, you can access Sensei by:
- Opening the command palette (⌘+K)
- Typing "MCP" and selecting "Open MCP Chat"
- Selecting "Sensei" from the MCP dropdown
Sensei will provide specialized assistance for your Dojo and Cairo development questions, with deep knowledge of Starknet development best practices.
Using with Cursor Agent
When using Sensei with Cursor Agent, follow these best practices for optimal results:
-
Always mention the specialized tools: Explicitly ask the agent to use Sensei's specialized tools (e.g., "Please use the dojo_model tool to help me create a model").
-
Follow the incremental development approach:
- Start with project setup using
dojo_101
- Define models first using
dojo_model
- Implement systems next using
dojo_logic
- Configure the project last using
dojo_config
- Add tests using
dojo_test
- Start with project setup using
-
Be specific in your requests: For example, instead of asking "Help me with my Dojo game," say "Please use the dojo_model tool to help me create a Position model for my game."
-
Break down complex tasks: Ask for help with one component at a time rather than requesting an entire game implementation at once.
Example prompt:
I'm building a Dojo game. First, please use the dojo_101 tool to help me set up the project structure.
After that, I'll need help creating the models using the dojo_model tool.
Running Directly
You can also run Sensei MCP directly:
npx github:dojoengine/sensei-mcp
Available Tools
Sensei provides specialized tools for different aspects of Dojo development:
- dojo_101: Beginner-friendly introduction to Dojo development
- dojo_config: Essential guidance for configuring Dojo projects
- dojo_logic: Expert guidance on implementing Dojo systems and game logic
- dojo_model: Specialized guidance for creating and working with Dojo models
- dojo_test: Comprehensive guide for writing tests for Dojo applications
- dojo_token: Detailed guidance on implementing token standards in Dojo
How to Use Tools
When chatting with Sensei, you can ask for specific guidance by mentioning the tool name:
Can you help me understand how to create a model in Dojo?
Sensei will automatically use the appropriate tool (in this case, dojo_model
) to provide specialized guidance.
Recommended Development Workflow
For the best results, follow this incremental development approach:
-
Project Setup (use
dojo_101
)- Initialize your project with
sozo init
- Understand the project structure
- Remove or replace boilerplate code
- Initialize your project with
-
Define Models (use
dojo_model
)- Create your game state models
- Ensure proper trait derivation
- Set up key fields correctly
-
Implement Systems (use
dojo_logic
)- Create system contracts
- Implement game mechanics
- Handle state changes
-
Project Configuration (use
dojo_config
)- Set up Scarb.toml
- Configure Dojo profiles
- Manage dependencies
-
Testing (use
dojo_test
)- Write comprehensive tests
- Verify game logic
This workflow ensures you build your Dojo application in a structured, methodical way, leveraging the specialized knowledge of each tool at the appropriate stage of development.
Core Expertise
Sensei has deep expertise in:
- Cairo programming language (including its unique ownership, memory, and type system)
- Dojo ECS architecture (Models, Systems, and World)
- Smart contract development on Starknet
- Best practices for onchain game development
Development
Project Structure
-
bin/
: Contains the executable script -
src/
: Source code for the MCP server -
prompts/
: Text prompts for different aspects of Dojo development -
resources/
: Additional resources used by the prompts
Building from Source
# Clone the repository
git clone https://github.com/dojoengine/sensei-mcp.git
cd sensei-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/suhail-ak-s/mcp-typesense-server
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Reviews

user_YCwHjSoj
I've been using sensei-mcp from dojoengine and it's simply fantastic! The seamless integration and efficiency it offers are unmatched. Highly recommend for anyone looking into a versatile MCP solution. Check it out on GitHub!