DS

dojoengine/sensei-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

13 stars 5 forks 품질 62 트렌드 9MIT

Sensei MCP는 Starknet에서 Dojo 및 Cairo 개발을 위한 전문가 지도를 제공하는 모델 Context Protocol (MCP) 서버입니다.

개요

Sensei MCP는 Starknet에서 Dojo 및 Cairo 개발을 위한 전문가 지도를 제공하는 모델 Context Protocol (MCP) 서버입니다. Dojo Entity Component System (ECS) 프레임 워크를 사용하여 onchain 세계를 건설하는 전문 지식과 지원을 제공하는 개인 Dojo Sensei 역할을합니다. - : 카이로의 고유 소유권, 메모리 및 유형 시스템에 대한 도움말 - : 모델, 시스템 및 세계 패턴에 대해 알아보기 - : Starknet 스마트 계약을위한 모범 사례 - : 모델, 시스템, 테스트 및 기타를위한 액세스 주제별 도구 MCP 서버를 설치하고 사용하는 방법에 대한 자세한 내용은 공식 Cursor docs를 참조하십시오. 1. 오픈 커서 명령 팔레트 (⌘+Shift+P) 2. 설정 메뉴 열기 "Cursor Settings"의 유형 3. "MCP Tools"로 이동하고 "New MCP Server"를 클릭합니다. mcp.json에 뒤에 오는 윤곽을 추가하십시오: Cursor는 서버를 초기화하려고합니다.

개요(AI 번역)

Sensei MCP는 Starknet에서 Dojo 및 Cairo 개발을 위한 전문가 지도를 제공하는 모델 Context Protocol (MCP) 서버입니다. Dojo Entity Component System (ECS) 프레임 워크를 사용하여 onchain 세계를 건설하는 전문 지식과 지원을 제공하는 개인 Dojo Sensei 역할을합니다.

특징

  • Expert Cairo Guidance: 카이로의 고유 소유권, 메모리 및 유형 시스템에 도움을 얻으십시오.
  • Dojo ECS Architecture: 모델, 시스템 및 세계 패턴에 대해 알아보기
  • 스마트 컨트랙트 개발: Starknet 스마트 계약을위한 모범 사례
  • ** 특수 도구**: 모델, 시스템, 테스트 및 더 많은 정보

Cursor 사용

설치

MCP 서버 설치 및 사용에 대한 자세한 내용은 공식 Cursor docs를 참조하십시오.

Cursor IDE에 Sensei를 추가하려면:

  1. 커서 명령 팔레트 열기 (⌘+Shift+P)

  2. 설정 메뉴를 열려면 "Cursor Settings"의 유형

  3. "MCP Tools"로 이동하고 "New MCP Server"를 클릭하십시오.

  4. 다음 구성을 mcp.json에 추가하십시오:

  5. 파일 저장

Cursor는 서버를 초기화하려고합니다. 초기화되면 메뉴는 다음과 같습니다

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

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

Using with Cursor

Installation

See the official Cursor docs for more information on installing and using MCP servers.

To add Sensei to your Cursor IDE:

  1. Open Cursor command palette (⌘+Shift+P)
  2. Type in “Cursor Settings” to open up the settings menu
  3. Navigate to “MCP Tools” and click “New MCP Server”
  4. Add the following configuration to mcp.json:
{
  "mcpServers": {
    "sensei": {
      "type": "command",
      "command": "npx github:dojoengine/sensei-mcp",
      "enabled": true
    }
  }
}
  1. Save the file

Cursor will attempt to initialise the server. Once initialised, the menu should look like this:

Note: you may need to install the server manually by running npx github:dojoengine/sensei-mcp in your terminal before Cursor will pick it up.

Use

Once installed, Cursor Agent will automatically query Sensei when appropriate. Follow these best practices for optimal results:

  1. 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”).

  2. 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
  3. 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.”

  4. 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.

Using with Claude Code

To add Sensei MCP to Claude Code, run the following command:

claude mcp add sensei-mcp npx github:dojoengine/sensei-mcp

Running Directly

GitHub에서 전체 README 보기

설치

npx github:dojoengine/sensei-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "sensei": { "type": "command", "command": "npx github:dojoengine/sensei-mcp", "enabled": true } } }