Sensei MCP
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development on Starknet.
Overview
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development on Starknet, acting as a personal Dojo Sensei for building onchain worlds.
To use Sensei MCP, integrate it with the Cursor IDE or run it directly using npx github:dojoengine/sensei-mcp. For Cursor, configure it in the MCP section and access it via the command palette.
- Expert guidance on Cairo's ownership, memory, and type systems. - Insights into Dojo ECS architecture, including Models, Systems, and World patterns. - Best practices for Starknet smart contract development. - Access to specialized tools for models, systems, testing, and more.
- Assisting developers in building Dojo applications.
- Providing guidance on smart contract best practices.
- Offering specialized tools for different aspects of Dojo development.
Add to your AI client
Use these steps to connect Sensei MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"sensei-mcp-dojoengine": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"sensei-mcp-dojoengine": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"sensei-mcp-dojoengine": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"sensei-mcp-dojoengine": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sensei-mcp-dojoengine": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"sensei-mcp-dojoengine": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sensei-mcp-dojoengine"
]
}
}
}FAQ
Can Sensei MCP help with all aspects of Dojo development?
Yes! Sensei MCP covers a wide range of topics related to Dojo and Cairo development.
Is Sensei MCP free to use?
Yes! Sensei MCP is free to use for everyone.
How can I get the best results from Sensei MCP?
Follow the recommended development workflow and be specific in your requests.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2489,"uuid":"fb71f788-6b7f-430b-9ae9-d4fb32b5e47d","name":"sensei-mcp","title":"Sensei MCP","description":"Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development on Starknet.","avatar_url":"https://avatars.githubusercontent.com/u/121522969?v=4","created_at":"2025-03-13T08:23:20.524Z","updated_at":"2025-03-13T08:28:00.914Z","status":"created","author_name":"dojoengine","author_avatar_url":"https://avatars.githubusercontent.com/u/121522969?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/dojoengine/sensei-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"5\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-10 11:46:02\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]