Skip to content
← All MCP servers

Is the OpenRouter MCP server safe? What it can reach

What the OpenRouter MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

OpenRouter hosts this MCP server itself and signs in with OAuth. The login mints a dedicated API key that expires within 7 days and starts with a $10 spend cap. Most tools read live model data, but send-message and generate-image run billable calls. Set the spend cap on the consent screen.

Who maintains it

ImplementationKindStatus
OpenRouter MCP server (hosted)Officialactive

It runs as a hosted remote server. The documented endpoint is https://mcp.openrouter.ai/mcp.

How it signs in

OAuth with PKCE. You approve a consent page, and OpenRouter issues a dedicated API key for the connection. The server acts as your account, within that key’s spend limit.

What its tools can do

KindTools
Readlist-models, get-model, list-model-endpoints, list-image-models, list-image-model-endpoints, list-providers, list-daily-model-rankings, list-app-rankings, get-credits, get-generation, list-benchmarks, list-task-classifications, search-docs, ping
Writesend-feedback, spawn-ori-eval, install-ori-harness
Can’t be undonesend-message, generate-image

send-message and generate-image make billable inference calls, so they are listed as destructive because spend can’t be undone. spawn-ori-eval and install-ori-harness return instructions that the assistant is told to follow.

Built-in limits

OptionWhat it does
Spend cap on the issued keyThe key starts with a $10 limit, which you can edit on the approval screen.
Key lifetimeThe key expires within 7 days. A shorter maximum key lifetime in your privacy settings shortens it further.
Revoke from the dashboardThe key is labeled OpenRouter MCP and can be revoked at openrouter.ai/settings/keys.

The risks

  • send-message sends whatever text the assistant chooses to any model, so an injected instruction can spend your credit and send conversation content to a third-party model.
  • generate-image also bills per call, and the cap on the issued key is the only documented limit on total spend.
  • get-credits and get-generation expose your balance, usage and cost history to the conversation.
  • spawn-ori-eval and install-ori-harness return instructions that the assistant then follows, which is a path for the server’s output to steer the agent into installing software.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --transport http openrouter https://mcp.openrouter.ai/mcp

Claude Code names MCP tools mcp__openrouter__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "ask": [
      "mcp__openrouter__send-message",
      "mcp__openrouter__generate-image",
      "mcp__openrouter__send-feedback",
      "mcp__openrouter__spawn-ori-eval",
      "mcp__openrouter__install-ori-harness"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.openrouter]
url = "https://mcp.openrouter.ai/mcp"

Checklist

  • Lower the spend cap on the consent screen to what you need.
  • Ask before send-message and generate-image in your client rules.
  • Revoke the key from your OpenRouter dashboard when you are done.
  • Don’t follow install-ori-harness or spawn-ori-eval output without reading it.

Checked against the vendor documentation on November 25, 2026. OpenRouter MCP server docs · Docs page (markdown)

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing