MCP Catalogs
首页

openrouter-mcp-multimodal

by stabgan·39·综合分 47

OpenRouter 的 MCP 服务器,提供文本、图像、音频和视频分析及生成功能,支持 300+ 种 LLM。

ai-llmmediadeveloper-tools
18
Forks
0
活跃 Issue
本月
最近提交
2 天前
收录于

概述

这个 MCP 服务器通过 OpenRouter 提供多模态能力,将 Claude Desktop、Cursor、Kiro、VS Code、Windsurf 或 Cline 连接到各种语言模型。其独特之处在于提供跨多种媒体类型的分析功能,包括文本处理、图像分析/生成、音频分析/生成以及视频理解/生成。服务器支持高级功能,如响应缓存、网络搜索、提供程序路由和自定义排序,以及最新的 MCP 2025-06-18 规范,支持结构化输出和进度通知。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:创作者生成和分析多媒体内容,包括文本、图像、音频和视频
:开发者通过 MCP 将 OpenRouter 的多模态能力集成到应用程序中
:团队使用各种 AI 客户端(Claude Desktop、Cursor 等)访问 300+ 种 LLM 并使用高级工具
:支持哪些模型?
:如何配置提供商路由?

什么时候选它

当您的 AI 工作流程需要多模态功能(文本、图像、音频、视频)并希望通过 MCP 访问 OpenRouter 的多样化模型生态系统时,请选择此服务器。

什么时候不要选它

如果您需要与供应商无关的访问权限,或者您使用的是不支持 OpenRouter 集成的其他 LLM 提供商,请避免使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • chat_completion

    Send messages to any model. Supports provider routing, model suffixes, response caching, reasoning passthrough, and web search.

  • analyze_image

    Analyze images from local files, URLs, or data URIs. Auto-optimized with sharp.

  • analyze_audio

    Transcribe/analyze audio from files, URLs, or data URIs.

  • analyze_video

    Analyze video from files, URLs, or data URIs.

  • generate_image

    Generate images with aspect ratio control and optional path-sandboxed disk save.

  • generate_audio

    Generate speech or music. Auto-detects format, wraps raw PCM in WAV.

  • generate_video

    Generate video via async API (Veo 3.1 / Sora 2 Pro) with MCP progress notifications.

  • search_models

    Search/filter models by name, provider, or modality. Paginated.

  • rerank_documents

    Rerank documents against a query (Cohere, Fireworks).

  • get_model_info

    Get pricing, context length, and capabilities for any model.

  • health_check

    Verify API key, OpenRouter reachability, server + protocol versions.

  • validate_model

    Check if a model ID exists on OpenRouter.

可对比工具

openrouter-mcpanthropic-mcpopenai-mcpgemini-mcp

安装

安装

快速安装
npx -y @stabgan/openrouter-mcp-multimodal

需要 OPENROUTER_API_KEY 环境变量。

Claude Desktop 配置
{
  "mcpServers": {
    "openrouter": {
      "command": "npx",
      "args": ["-y", "@stabgan/openrouter-mcp-multimodal"],
      "env": {
        "OPENROUTER_API_KEY": "sk-or-v1-..."
      }
    }
  }
}
Docker
{
  "mcpServers": {
    "openrouter": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "OPENROUTER_API_KEY=sk-or-v1-...",
        "stabgan/openrouter-mcp-multimodal:latest"
      ]
    }
  }
}
全局安装
npm install -g @stabgan/openrouter-mcp-multimodal

然后配置:

{
  "mcpServers": {
    "openrouter": {
      "command": "openrouter-multimodal",
      "env": { "OPENROUTER_API_KEY": "sk-or-v1-..." }
    }
  }
}

FAQ

支持哪些模型?
该服务器通过 OpenRouter 提供 300+ 种 LLM 的访问,包括 Anthropic(Claude)、Google(Gemini)、OpenAI(GPT)等模型的访问。您可以使用 search_models 工具按名称、提供商或模态搜索和筛选模型。
如何配置提供商路由?
您可以使用环境变量设置提供商偏好,如 OPENROUTER_PROVIDER_SORT(价格/吞吐量/延迟)、OPENROUTER_PROVIDER_IGNORE(要排除的提供商 slug 的 CSV)和 OPENROUTER_PROVIDER_DATA_COLLECTION(允许/拒绝)。这些也可以在 chat_completion 工具中为每个请求设置。

openrouter-mcp-multimodal 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。