IDE Integration (MCP)
DojoCode MCP Server
DojoCode provides an MCP server that lets you interact with the platform directly from your favourite AI-powered IDE. Instead of switching between your editor and the browser, you can manage challenges, run code, and more — all from within your IDE.
With the DojoCode MCP integration you can:
- Browse and search challenges — filter by language, difficulty, tags, and more
- Create and edit challenges — write challenge descriptions, initial code, tests, and solutions
- Run code and tests — execute your code and run test suites without leaving your IDE
- Manage contests — view, create, and join contests
- Download challenges — export challenge files as ZIP archives
Supported IDEs
DojoCode MCP works with any IDE or tool that supports the MCP protocol, including:
- Claude Code (Anthropic)
- Cursor
- VS Code (with GitHub Copilot or compatible extensions)
- Gemini CLI (Google)
- Windsurf
- Any MCP-compatible client
Getting Started
Before configuring your IDE, clone the starter repository. This repo contains the MCP configuration and project structure needed to work with DojoCode challenges:
git clone https://github.com/dojo-coder/challenge-creator.git
cd challenge-creator
npm installThen open this project in your IDE and follow the setup guide for your specific IDE below.
How It Works
- You clone the starter repository and open it in your IDE
- The repository includes the MCP server configuration for DojoCode
- On first connection, your IDE opens a browser window for authentication
- You log in to DojoCode and authorize the IDE
- The IDE receives an access token and can now interact with DojoCode on your behalf
- The token is valid for 90 days — after that, you simply re-authorize
Your credentials are never shared with the IDE. Authentication uses the industry-standard OAuth 2.1 protocol with PKCE.
Quick Tip: /mcp Command
Most AI-powered IDEs support a /mcp command that lets you manage MCP server connections. After configuring the DojoCode server, you can type /mcp in your IDE's chat or command palette to:
- View the status of connected MCP servers
- Trigger authentication or re-authentication
- Reconnect if the server was disconnected
This is the fastest way to verify your connection and troubleshoot issues.
Next Steps
Follow the setup guide for your IDE: