Skip to main content
Glama
robot-resources

Robot Resources Router

Official

@robot-resources/router-mcp

⚠️ 非推奨 — npmパッケージは公開終了しました。 Router MCPサーバーは、@robot-resources/router に同梱されているインプロセスRouterプラグインに置き換わりました。OpenClaw以外のエージェント向けのスタンドアロンRouter MCPはロードマップに含まれています。現在のRouterについては、OpenClawプラグイン (npx robot-resources)、JSライブラリ、Python SDK (pip install robot-resources)、または https://api.robotresources.ai/v1/route のHTTP APIをご利用ください。詳細は robotresources.ai/docs を参照してください。

Robot Resources Routerを管理するためのMCPサーバー — 統計、設定、モデル比較機能を提供します。

Robot Resourcesとは?

AIエージェントのための「人事部(Human Resources)」です。

Robot Resourcesは、LLMのAPIコストを60〜90%削減します。ローカルプロキシを実行し、各プロンプトをタスクタイプ(コーディング、推論、分析、単純なQ&A、クリエイティブ、汎用)ごとに分類して、OpenAI、Anthropic、Googleの14種類のモデルの中から、それを処理できる最も安価なモデルにルーティングします。

APIキーがマシンから外部に送信されることはありません。無料、無制限、ティア制限なし。

フルスイートのインストール

npx robot-resources

1つのコマンドでRouterプロキシのセットアップ、エージェントの設定、そして即座にコスト削減を開始できます。

詳細は robotresources.ai をご覧ください。


Related MCP server: whichmodel-mcp

このMCPサーバーについて

このパッケージは、Model Context Protocol を介して、AIエージェントにRouterプロキシの管理ツールを提供します。Claude Desktop、Claude Code、またはMCP互換エージェントから、コスト削減状況の確認、モデルの比較、ルーティング設定の調整を行うことができます。

クイックスタート

npx @robot-resources/router-mcp

localhost:3838(デフォルト)でRouterプロキシが実行されている必要があります。ROUTER_URL環境変数で上書き可能です。

設定

Claude Desktop

claude_desktop_config.json に以下を追加します:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"]
    }
  }
}

Claude Code

.mcp.json に以下を追加します:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"]
    }
  }
}

カスタムRouter URL

プロキシがデフォルト以外のポートで実行されている場合:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"],
      "env": {
        "ROUTER_URL": "http://localhost:4000"
      }
    }
  }
}

ツール

router_get_stats

Routerプロキシのコスト削減統計を表示します。

パラメータ

型

デフォルト

説明

period

`"daily"

"weekly"

"monthly"`

"weekly"

期間

task_type

string

—

タスクタイプでフィルタリング

provider

string

—

プロバイダーでフィルタリング

router_compare_models

指定したタスクタイプについて、能力とコストでモデルを比較します。

パラメータ

型

デフォルト

説明

task_type

string

必須

比較するタスクタイプ

threshold

number

0.7

最小能力スコア

provider

string

—

プロバイダーでフィルタリング

router_get_config

現在のルーティング設定(プロバイダーのスコープ、しきい値、オーバーライド)を読み取ります。

パラメータは不要です。

router_set_config

実行時にルーティング設定を更新します。変更はメモリ内のみで有効です(再起動でリセットされます)。

パラメータ

型

説明

provider_scope

string

特定のプロバイダーに制限

capability_threshold

number

最小能力スコア

baseline_model

string

コスト比較用のモデル

log_level

string

ログレベル

各フィールドに null を渡すと、環境変数のデフォルト値にリセットされます。

要件

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Security, cost, and health governance proxy for MCP infrastructure. Enforces YAML-configurable security policies (blocklists, rate limits, token budgets), tracks real token costs via tiktoken, monitors server health with live JSON-RPC probes. Features OAuth 2.1/OIDC with RBAC, web dashboard, payload normalization, semantic shell AST analysis, mTLS, and a formal STRIDE threat model.
    4
    76 npm
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Unified local MCP AI Gateway that routes across Groq, OpenRouter, Mistral, and local Ollama providers, with OpenAI-compatible APIs, MCP tools, fallback/racing router, monitoring, and web dashboard.
    -