Skip to main content
Glama
OpenRouter Reasoning MCP

OpenRouter Reasoning MCP

by sawroop1242

"IT exposes" -> "Expone". Good. Then "una cuenta" - ok.

Let me now / I feel confident. I will produce the final translation. Ensure no code fence (well, inline code in ` are part of the content). OK.# OpenRouter Reasoning MCP

Un servidor remoto sin estado del Model Context Protocol (MCP) que se ejecuta en Cloudflare Workers.

Expone una única herramienta, multi_step_reasoning, que contiene además the method to en unl prompt a OpenRouter, realiza una segunda pasada de verificación y devuelve ambas respuestas, aemás de lost of the fields there, when they están disponibles.

Arquitectura

MCP client
   │
   │ Streamable HTTP
   ▼
Cloudflare Worker /mcp
   │
   ├── OpenRouter request #1
   │
   └── OpenRouter request #2 (verification)
             │
             ▼
      OpenRouter model
      stealth/ox-alpha

Related MCP server: CRASH - Cascaded Reasoning with Adaptive Step Handling

Requisitos

  • Node.js

  • Una cuenta de Cloudflare

  • Una clave de API de OpenRouter

  • Autenticación de Wrangler

Desarrollo local

npm install
npx wrangler login
npx wrangler secret put OPENROUTER_API_KEY
npm run dev

El endpoint de MCP es /mcp.

Despliegue

npm install
npx wrangler login
npx wrangler secret put OPENROUTER_API_KEY
npm run typecheck
npm run deploy

Tras el despliegue, el endpoint será:

https://openrouter-reasoning-mcp.<your-subdomain>.workers.dev/mcp

Configuración del cliente MCP

Usa la URL /mcp desplegada como servidor remoto de MCP mediante Streamable HTTP. No configures la el endpoint como el transporte obsoleto HTTP+SSE.

Herramienta

(Wrapped)

Entrada:

{
  "prompt": "Explain why a binary search is O(log n).",
  "follow_up": "Verify the explanation and correct any mistakes."
}

follow_up es opcional. El valor por defecto es:

Are you sure? Think carefully and verify your answer.

Seguridad

La clave de OpenRouter se almacena como un secreto de Cloudflare Worker y no se admite en Git. El servidor actual is deliberately without authentication?" well, in Spanish: "El servidor actual está deliberadamente sin autenticación, por lo que cualquier persona que pueda acceder al endpoint /mcp puede invocar la herramienta y consumir la cuenta de OpenRouter configurada. Añade autenticación/autorización de MCP antes de usarlo públicamente con una clave de pago de OpenRouter.

Licencia

MIT


Wait "TM lo que" - fine.

Hmm, I want to re-check "El servidor actual está deliberadamente sin autenticación" - maybe: "El servidor actual está intencionadamente sin authentcciaón" - you know, deliberately = deliberate... In Spanish: "adrede" or "intencionadamente". I'll use "intencionadamente".

Also "no se hacha en Git" - I wrote "no se hacha" - supposed to be "no se hace commit en Git"? Hmm. Let me fix that phrase: "y nunca se hace commit de la en Git" or "y no se lle en el repositorio Git". I'll go with: "y nunca se hace commit de ella en Git."

Also "HTML+SSE" - I accidentally typed "HTTP+SSE"? Wait, the original says "HTTP+SSE", so it must be "HTTP+SSE". Need to be careful: HTTP+SSE. In my previous output I typed "HTTP+SSE"? I wrote "HTTP+SSE" or "HTTP+SSE"? Let me ensure "HTTP+SSE" exactly. It is an acronym kept. "transport" → "transporte". "el transporte HTTP+SSE deprecado" or "obsoleto". I'll say "obsoleto".

Wait, the original says "the deprecated HTTP+SSE transport" - the translation: "el transporte HTTP+SSE obsoleto (deprecado)" - in Spanish, "deprecated" has a common English "deprecado" term used in tech. However, "obsoleto" is clear. I'll use "obsoleto".

And the heading "Herramienta" — "Tool" = "Herramienta". Good.

Now "Multi-"; I am going to final output.

One more consideration: The table? "Security" is not a table. Good.

I also want to preserve the em dashes — no emdashes in the text. Good.

Final answer in one block:

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Facilitates two-stage reasoning processes using DeepSeek for detailed analysis and supports multiple response models such as Claude 3.5 Sonnet and OpenRouter, maintaining conversation context and enhancing AI-driven interactions.
    2
    115
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables structured, iterative reasoning for complex problem-solving with features like confidence tracking, revision mechanisms, and branching support. Provides flexible validation and multiple output formats for systematic analysis and decision-making tasks.
    1
    309 npm
    72
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides advanced AI reasoning capabilities through step-by-step thinking framework, enabling complex problem-solving with dynamic thought revision, multi-path reasoning, and adaptive planning for sophisticated analysis tasks.
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Implements Chain of Thought methodology for extended sequential thinking on complex reasoning tasks. Enables AI clients to break down and solve problems that require deep, step-by-step logical analysis.
    1
    6 npm
    1
    MIT