/ai-gateway:omni-mcpfrom ai-gateway
Connects to the OmniRoute MCP server with 110 tools across routing, cache, compression, memory, skills, providers, and audit. Supports SSE, stdio, and HTTP transports.
Ships in ai-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill needs OmniRoute, which is installed separately. From this skill's folder, run
python3 scripts/sfp_app.py statusto see whether it is installed and running. If it is not, runpython3 scripts/sfp_app.py installto get the plan (it changes nothing), tell the user what it will do, and run it again with--yesonly after they agree.startruns it when it is installed but stopped.
Connect to the OmniRoute MCP server (110 tools, 3 transports: SSE/stdio/HTTP). Covers routing, cache, compression, memory, skills, providers, and audit tools across 33 permission scopes.
All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.
GET mcp › audit
curl http://localhost:20128/api/mcp/audit \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET mcp › audit › stats
curl http://localhost:20128/api/mcp/audit/stats \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET mcp › sse
curl http://localhost:20128/api/mcp/sse \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST mcp › sse
curl -X POST http://localhost:20128/api/mcp/sse \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
GET mcp › status
curl http://localhost:20128/api/mcp/status \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET mcp › stream
curl http://localhost:20128/api/mcp/stream \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST mcp › stream
curl -X POST http://localhost:20128/api/mcp/stream \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
DELETE mcp › stream
curl -X DELETE http://localhost:20128/api/mcp/stream \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET mcp › tools
curl http://localhost:20128/api/mcp/tools \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
Requires OMNIROUTE_URL and OMNIROUTE_KEY. See entry-point SKILL for setup.
GET $OMNIROUTE_URL/api/mcp/ssePOST $OMNIROUTE_URL/api/mcp/streamAdd to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"omniroute": {
"command": "npx",
"args": ["-y", "omniroute", "--mcp"],
"env": { "OMNIROUTE_KEY": "sk-..." }
}
}
}
{
"mcp": {
"servers": {
"omniroute": {
"url": "http://localhost:20128/api/mcp/sse",
"headers": { "Authorization": "Bearer sk-..." }
}
}
}
}
The table below shows representative core tools; the server's discovery response is authoritative and includes all 110 tools.
| Scope | Tools |
|---|---|
| health | omniroute_get_health |
| combos | omniroute_list_combos, omniroute_get_combo_metrics, omniroute_switch_combo |
| routing | omniroute_simulate_route, omniroute_best_combo_for_task, omniroute_explain_route |
| providers | omniroute_get_provider_metrics, omniroute_check_quota, omniroute_route_request |
| budget | omniroute_set_budget_guard, omniroute_set_routing_strategy, omniroute_set_resilience_profile |
| testing | omniroute_test_combo |
| memory | memory_add, memory_search, memory_delete |
| skills | skill_invoke, skill_list, skill_describe, skill_register |
| cache | omniroute_cache_stats, omniroute_cache_flush |
| admin | omniroute_db_health_check, omniroute_sync_pricing, omniroute_get_session_snapshot |
Full list: GET $OMNIROUTE_URL/api/mcp/tools
Tools are grouped into 33 scopes (chat-only, memory-readonly, full-admin, etc.).
Pass scope name as --scope arg or via X-Omniroute-Scope header.
Full docs: https://github.com/diegosouzapw/OmniRoute/blob/main/docs/frameworks/MCP-SERVER.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub siddu1004/sfp --plugin ai-gateway45 skills in this plugin
/cli-a2aInteract with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively./cli-backup-syncBackup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files./cli-batchesSubmit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows./cli-chatSend chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration./cli-compressionConfigure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts./cli-contextsManage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.