Yaha AI Gateway
Integrations

MCP Tool Bridge

Connect MCP tools through the Yaha gateway.

Yaha exposes federated MCP tools at POST /mcp/v1 (Streamable HTTP). Use the same yaha.* key as LLM traffic.

Supported agents in this integration set: Cline, Continue CLI, Hermes Agent.

Prerequisites

  1. Project gateway key (yaha.*)
  2. Tool Bridge enabled on the project (Yaha console → Tool Bridge)
  3. At least one registry item (upstream MCP server) and policy (all enabled or capability group)

See MCP_FLOW.md for architecture.

Connection details

SettingValue
MCP URLhttps://gateway.yahagateway.io/mcp/v1
AuthorizationBearer yaha.<your-project-key>
ProtocolMCP Streamable HTTP (initialize, tools/list, tools/call)

Tool names are namespaced as serverName/toolName (e.g. mock-mcp/ping).

Per-client configuration

Cline

Cline extension → MCP settings → add remote server:

  • URL: https://gateway.yahagateway.io/mcp/v1
  • Headers: Authorization: Bearer yaha.*

Continue CLI

In ~/.continue/config.yaml:

mcpServers:
  - name: nova
    command: npx
    args: ["-y", "mcp-remote", "https://gateway.yahagateway.io/mcp/v1"]
    env:
      AUTHORIZATION: Bearer yaha.<your-project-key>

Hermes Agent

Configure MCP server URL and bearer token in ~/.hermes/config.yaml per Hermes MCP documentation, using the same URL and key as above.

LLM proxy tool loop (optional)

Apps using /v1/chat/completions without client-side tools can opt into Yaha orchestration:

X-Yaha-Tools: enabled

This is separate from external MCP clients; agent CLIs typically run their own tool loops.

Troubleshooting

IssueCheck
401 unauthorizedValid yaha.*; Tool Bridge enabled on project
Empty tool listRegistry items seeded; capability group allowlist
Tools fail at runtimeUpstream MCP server health (GET .../registry/{id}/health)

See also

On this page