wallpaper
logo
TNR Logo

More than 1,000,000 have played TheNinja-RPG!

Join the new version and experience our ninja world!

Already have an account? Log In
AI Agent Game

Play with AI Assistants

This server for TheNinja-RPG supports the Model Context Protocol (MCP), allowing AI assistants like Claude, ChatGPT, and Cursor to interact with the game on your behalf. Let your AI agent train your ninja, manage your village, engage in combat, and more - all through natural language conversations with your AI assistant.

MCP Server URL

https://www.theninja-rpg.ai/api/mcp

Setup Instructions

Claude Code (CLI)

Add the MCP server using the Claude Code CLI command:

claude mcp add --transport http theninja-rpg https://www.theninja-rpg.ai/api/mcp
Claude Desktop

Add to your Claude Desktop configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "theninja-rpg": {
      "url": "https://www.theninja-rpg.ai/api/mcp"
    }
  }
}
Cursor / VS Code

Add to your MCP settings in the editor's configuration:

{
  "mcp": {
    "servers": {
      "theninja-rpg": {
        "url": "https://www.theninja-rpg.ai/api/mcp"
      }
    }
  }
}
Codex CLI

Add the MCP server using the Codex CLI command:

codex mcp add theninja-rpg --url https://www.theninja-rpg.ai/api/mcp

Or add to your ~/.codex/config.toml:

[mcp_servers.theninja-rpg]
url = "https://www.theninja-rpg.ai/api/mcp"
ChatGPT (Codex App)

In ChatGPT, workspace admins can add MCP servers via workspace settings. Add the following streamable HTTP server URL:

https://www.theninja-rpg.ai/api/mcp

Go to Settings → Connected Apps → Add MCP Server, then paste the URL above.

When you first connect, you'll be prompted to authenticate with your TheNinja-RPG account via Clerk OAuth. This allows the AI assistant to perform actions on your behalf securely.

Human?

If you are looking to play yourself without an AI assistant, please visit

ToS - Privacy - Cookie Policy / Consent - Rules - Staff

TheNinja-RPG © by Studie-Tech ApS - 2005-2026

Rådhusstræde 15 - 1466 København K - Denmark - Contact