MCP.so
登录

OpenRouter Agents MCP Server

@wheattoast11

基本信息

分类

数据与分析

许可证

MIT

传输方式

stdio

作者

wheattoast11

关于 OpenRouter Agents MCP Server

A multi-agent research MCP server + mini client adapter - orchestrates a net of async agents or streaming swarm to conduct ensemble consensus-backed research. Each task builds its own indexed pglite database on the fly in web assembly. Includes semantic + hybrid search, SQL execu

OpenRouter Agents MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "openrouter-deep-research-mcp": {
      "command": "npx",
      "args": [
        "@terminals-tech/openrouter-agents",
        "--stdio"
      ]
    }
  }
}

OpenRouter Agents MCP Server 工具

42

Synchronous conversational dialogue with Zero. Maintains short-term memory within the provided messages array.

Unified research tool. async=true (default) enqueues and returns {job_id}. async=false streams results synchronously like conduct_research. Example: {query: 'What is quantum computing?', costPreference: 'low', async: true}

Single entrypoint agent tool. Routes to research, follow_up, retrieve/query, or chain. Examples: {query:'AI safety'} for research, {action:'retrieve', query:'topic', k:5} for search, {chain:[{tool:'search',params:{q:'topic'}},{tool:'get_report',params:{reportId:'1'}}]} for chaining. Max depth: NaN.

Lightweight health check. Returns pong with server time; info=true adds DB/embedder/job counts.

Get job status with a compact summary by default. Use format: 'full' to include full status + events or 'events' to return only events.

Cancel a queued or running job (best-effort).

Retrieve from KB or DB. Examples: {mode:'index', query:'AI safety', k:5} or {mode:'sql', sql:'SELECT id,query FROM research_reports', explain:true}

Get current date/time. format: 'iso'|'rfc'|'epoch'.

Evaluate a simple arithmetic expression (+,-,*,/,^,(), decimals). Safe parser.

List available MCP tools with metadata. Optionally filter by query and use semantic ranking.

Semantic search over available tools. Returns ranked matches.

Execute a read-only SELECT with bound params. Example: {sql: 'SELECT * FROM research_reports WHERE id = $1', params: ['5'], explain: true}

Batch dispatch multiple research queries in a single call. Returns job IDs or waits for completion. Example: {queries: ['topic 1', 'topic 2', {query:'topic 3', costPreference:'high'}], waitForCompletion: true}

概览

What is OpenRouter Agents MCP Server?

OpenRouter Agents MCP Server is a production-grade MCP server for multi-agent AI research and synthesis. It orchestrates parallel research agents using OpenRouter’s model API, providing planning, parallelization, and synthesis capabilities.

How to use OpenRouter Agents MCP Server?

Install via npx @terminals-tech/openrouter-agents --stdio (default STDIO transport) and set the OPENROUTER_API_KEY environment variable. Configuration can be provided via .env or .mcp.json file. For HTTP transport, add the --http flag.

Key features of OpenRouter Agents MCP Server

  • Plans, parallelizes, and synthesizes multi-agent AI research.
  • Embeds query vectors to route models without an LLM call.
  • Persistent knowledge base with PGlite and pgvector.
  • Circuit breaker for model API fault tolerance.
  • Rail Protocol for bidirectional agent communication.
  • Session time-travel with undo, redo, and fork.

Use cases of OpenRouter Agents MCP Server

  • Decompose complex research queries into parallel sub-tasks.
  • Synthesize results from multiple agents with citations.
  • Persist and search research reports and knowledge graphs.
  • Backend for AI assistants requiring multi-step reasoning.
  • Integrate with MCP-compatible clients like Claude, Jan AI, and Continue.

常见问题

1

What is the default transport?

STDIO is the default transport per MCP spec. Use the `--http` flag explicitly for HTTP mode.

2

Does it require an API key?

Yes, `OPENROUTER_API_KEY` is required. Key rotation and cooldown are supported via optional configuration variables.

3

Does data persist across sessions?

Yes, reports, jobs, and the knowledge graph persist by default. Set `DB_AUTO_HEAL=true` for in-memory mode (no persistence).

4

What models are supported?

Two tiers: high‑cost (e.g., Claude Sonnet 4.5, GPT‑5.2) and low‑cost (e.g., Gemini Flash, DeepSeek). Models are selected via embedding‑based routing.

5

Is it compliant with the MCP specification?

Yes, it complies with MCP Specification 2025‑11‑25 (Stable) and supports core features like Tools, Resources, Prompts, and SEP extensions.

评论

数据与分析 分类下的更多 MCP 服务器