Install Mogplex MCP

Connect Cursor, Codex, Claude Code, or OpenCode to the hosted Mogplex MCP endpoint and authenticate with OAuth.

All supported clients use the same remote Streamable HTTP endpoint:

https://www.mogplex.com/api/v1/mogplex/mcp

Choose your local agent

Connect Mogplex

Every client connects to the same hosted endpoint. OAuth opens in your browser, and no API token needs to be pasted into configuration.

Cursor

Open Cursor, register Mogplex, then complete OAuth in your browser.

{
  "mcpServers": {
    "mogplex": {
      "url": "https://www.mogplex.com/api/v1/mogplex/mcp"
    }
  }
}
Install in Cursor

Codex

Copy both commands. Codex binds OAuth to the exact Mogplex resource.

codex mcp add mogplex \
  --url https://www.mogplex.com/api/v1/mogplex/mcp \
  --oauth-resource https://www.mogplex.com/api/v1/mogplex/mcp
codex mcp login mogplex

Claude Code

Install Mogplex, then authenticate from Claude Code with /mcp.

claude mcp add --transport http --scope user mogplex https://www.mogplex.com/api/v1/mogplex/mcp
# Then start Claude Code, run /mcp, select mogplex, and authenticate.

OpenCode

Copy this entry into opencode.json, then authenticate with OpenCode.

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mogplex": {
      "type": "remote",
      "url": "https://www.mogplex.com/api/v1/mogplex/mcp",
      "enabled": true
    }
  }
}

What one click means

Cursor provides a real install deep link. Codex and Claude Code provide copy-ready setup commands. OpenCode provides a complete configuration block to paste into opencode.json. Each path finishes with browser OAuth, so no Mogplex token needs to be pasted into the client.

Cursor

Choose Install in Cursor above. Cursor opens the MCP installer with the Mogplex endpoint already configured. Approve the configuration, then complete the Mogplex consent screen in your browser.

For manual setup, add this to your Cursor MCP configuration:

{
  "mcpServers": {
    "mogplex": {
      "url": "https://www.mogplex.com/api/v1/mogplex/mcp"
    }
  }
}

See Cursor MCP documentation for configuration locations and client controls.

Codex

Run the copied setup exactly as shown:

codex mcp add mogplex \
  --url https://www.mogplex.com/api/v1/mogplex/mcp \
  --oauth-resource https://www.mogplex.com/api/v1/mogplex/mcp
codex mcp login mogplex

The equivalent ~/.codex/config.toml entry is:

[mcp_servers.mogplex]
url = "https://www.mogplex.com/api/v1/mogplex/mcp"
oauth_resource = "https://www.mogplex.com/api/v1/mogplex/mcp"

Confirm the saved server with codex mcp get mogplex. Restart an already-open Codex session if it does not immediately show the new tool catalog.

Claude Code

Install Mogplex at user scope:

claude mcp add --transport http --scope user mogplex \
  https://www.mogplex.com/api/v1/mogplex/mcp

Start Claude Code, run /mcp, select mogplex, and authenticate. Claude Code opens the Mogplex OAuth flow in your browser.

User scope makes the connection available across projects. Replace --scope user with a narrower scope only when you want the connection limited to a particular project. See the Claude Code MCP documentation for scope and server-management commands.

OpenCode

Add the copied entry to your opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mogplex": {
      "type": "remote",
      "url": "https://www.mogplex.com/api/v1/mogplex/mcp",
      "enabled": true
    }
  }
}

Then run:

opencode mcp auth mogplex

OpenCode stores the resulting OAuth credential after authorization. See the OpenCode MCP documentation for config locations and credential management.

Complete OAuth

The client discovers Mogplex's protected-resource and authorization-server metadata, registers an OAuth client, and opens the consent page. Sign in to the Mogplex account you want the agent to use, review the request, and choose Allow access.

Mogplex binds the token to the exact endpoint URL. Keep both the server URL and OAuth resource on the https://www.mogplex.com origin shown above.

Personal access token fallback

OAuth is the preferred path. If a client cannot complete remote MCP OAuth, create a personal access token in Mogplex → Settings → API Keys and send it as Authorization: Bearer mog_.... Never put a PAT in a prompt, repository, or checked-in configuration file.

A read-only PAT can list repos, agents, models, automations, runs, sandboxes, and logs. Sandbox creation and automation mutations require write.

Edit on GitHub

On this page