M0X Docs
M0X Docs

Get Started

Quickstart GuideCore ConceptsAI ModelsPricing Plans

Core Features

Feature OverviewThe CoderX AgentOperating ModesReviewTerminal IntegrationBrowserSecurity

Customization

Lifecycle HooksContext ManagementRules & InstructionsCommandsSkills & Custom ToolsSub-Agents & Parallel OrchestrationSemantic Search@ Mentions

MCP

Model Context Protocol (MCP)MCP FeaturesMCP Tab

Tools

Cloud FeaturesCLIInline Edit (Ctrl+K)BugbotShared TranscriptsSlack IntegrationLinear IntegrationGitHub IntegrationGit SupportGitLab IntegrationDeep Links

Settings

ConfigurationIgnore FilesExtensionsKeyboard ShortcutsShell Commands

Advanced

Parallel AgentsBring Your Own Key (BYOK)Language SupportMigrations

Account

Account ManagementBilling & SubscriptionsUpdate AccessTeamsEnterprise

Guides

CookbookAgent WorkflowsWeb DevelopmentData ScienceLarge Codebases & MonoreposMermaid DiagramsBugbot Rules

Support

TroubleshootingCommon IssuesRequest IDTroubleshooting GuideDownload
Documentation

Model Context Protocol (MCP)

Connect local tools, databases, and third-party APIs directly to your AI development environment.

Model Context Protocol (MCP) is an open-standard protocol that allows CoderX and the M0X IDE to expose external data sources and tools to LLMs. By acting as an MCP Client, CoderX enables you to plug in local databases, APIs, and microservices so that the AI agent can dynamically call them during a task run.


Supported MCP Integrations

You can connect any community-developed MCP server or write your own. Common integrations include:

Server NameUse CaseExample Tool
PostgreSQL / MySQLQuery database schemas, execute SQL selects, check indexing.pg-mcp-server
Slack / TeamsSend notifications, read channel messages, update status.slack-mcp-server
GitHub / GitLabCreate pull requests, query issues, check action runs.github-mcp-server
Jira / LinearFetch ticket details, update status, assign issues.linear-mcp-server
Local File IndexersIndex external folders, run grep on local document databases.filesystem-mcp-server

Configuring MCP Servers

MCP servers are configured via a simple JSON configuration block. You can manage these settings in the Settings > Developer Settings > MCP panel or edit your local config file directly.

Configuration Template

Add the following to your MCP settings file to register local Node.js or Python servers:

mcp-settings.json
{
  "mcpServers": {
    "postgresql": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://username:password@localhost:5432/my_database"
      ]
    },
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your-github-token-here"
      }
    }
  }
}

Execution Security and Approvals

[!CAUTION] When an MCP server is configured, the agent has the ability to trigger database write operations or call external API endpoints.

To prevent unauthorized actions, CoderX enforces strict security boundaries:

  • Permission Prompts: Before calling a tool provided by an MCP server (e.g. slack_post_message), the agent pauses and requests your explicit confirmation.
  • Token Scoping: Ensure external API tokens configured in the environment variables (like your GitHub Token) are restricted only to the permissions the agent actually needs.

@ Mentions

Quickly reference context.

MCP Features

Powerful capabilities unlocked by MCP.

On this page

Supported MCP IntegrationsConfiguring MCP ServersConfiguration TemplateExecution Security and Approvals