Skip to content

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:

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:

bash
git clone https://github.com/dojo-coder/challenge-creator.git
cd challenge-creator
npm install

Then open this project in your IDE and follow the setup guide for your specific IDE below.

How It Works

  1. You clone the starter repository and open it in your IDE
  2. The repository includes the MCP server configuration for DojoCode
  3. On first connection, your IDE opens a browser window for authentication
  4. You log in to DojoCode and authorize the IDE
  5. The IDE receives an access token and can now interact with DojoCode on your behalf
  6. 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: