MCP SERVER PROFILE · Development
Development

Open Agent API MCP Bridge

Local stdio MCP bridge for a self-hosted Open Agent API gateway. Discover agents, invoke runs, retrieve results and manage agent capabilities using scoped authentication.

GitHub stars0
Setup options1
Documented tools13
Maintained byjiangxingfan1-coder

Overview

Apache-2.0 licensed MCP bridge connecting MCP clients to a self-hosted Open Agent API gateway. The published MCPB v0.0.64 preview exposes 13 tools for agent discovery, routing, invocation, output retrieval, text uploads, cancellation and scoped agent publication. Local model inference through Ollama can operate without a paid model API key, although end-to-end Ollama invocation through the published MCPB remains unverified.

agentsagent-gatewaystdiomcpbself-hostedollamalocal-modelsopen-source

Installation & configuration 1 documented option

Choose the configuration documented for your client. Replace placeholders with your own values, and review the maintainer documentation before connecting.

Manual stdio configuration

Generic MCP client

{
  "mcpServers": {
    "open-agent-api": {
      "command": "node",
      "args": [
        "/absolute/path/to/extracted-bundle/server/index.mjs",
        "http://127.0.0.1:8787",
        "/absolute/path/to/scoped-token-file"
      ]
    }
  }
}

Download and extract the published MCPB v0.0.64 bundle from https://github.com/jiangxingfan1-coder/Open-Agent-API/releases/tag/mcp-open-agent-api-v0.0.64. Verify SHA-256: 0d0e0eb44304dc14ae21d7624e90ea0b7585fd9158254b05b230a2770b2436d1. Replace the bundle path, gateway origin and token file path with your actual values. The example follows the current source manifest. Exact launch compatibility with the published v0.0.64 bundle and desktop MCP clients has not been independently verified.

Read maintainer installation documentation ↗

Before you install

  • Node.js 22 or later for the published MCPB v0.0.64 bridge.
  • A running self-hosted Open Agent API gateway.
  • Gateway v0.0.64 requires Node.js 24.18.0 or later below version 25. Gateway v0.0.71 declares Node.js 24.18.0 or later below version 27.
  • A gateway origin configured through the gateway_url input.
  • A locally generated scoped gateway token file configured through the token_file input.
  • An MCP client supporting local stdio transport.
  • A configured agent and model provider for real agent invocation.
  • Optional Ollama installation and an available local model for inference without a paid model API key.

Documented tools 13

Capabilities provided in the listing metadata. Check upstream documentation for current availability and parameters.

oaa_list_agents

List available agents configured in the gateway.

oaa_inspect_agent

Inspect an agent and its available capabilities.

oaa_preview_route

Preview how an agent request would be routed.

oaa_watch_catalog

Watch for changes to the gateway agent catalog.

oaa_invoke

Start an agent run using an authorized invocation request.

oaa_get_run

Retrieve the current status and metadata of an agent run.

oaa_wait_run

Wait for an agent run to reach a relevant state.

oaa_read_output

Retrieve output produced by an agent run.

oaa_upload_text

Upload explicitly supplied text using a token with files scope.

oaa_list_artifacts

List artifacts associated with an agent run.

oaa_cancel

Request cancellation of an authorized agent run.

oaa_publish

Publish an agent through the gateway using administrator permissions.

oaa_publish_native

Register a native agent using administrator permissions and an enabled adapter.

Listed on FreeMCP badge

Maintaining this MCP server? Add this optional badge to your GitHub README so visitors can find its FreeMCP listing. Listing is not a security certification or independent verification.

MCP — Listed on FreeMCP

[![Listed on FreeMCP](https://freemcp.in/badges/listed.svg)](https://freemcp.in/servers/open-agent-api-mcp)

Security & permissions

  • Authentication requires a locally generated scoped gateway token stored in a token file.
  • Use least-privilege tokens instead of administrator credentials for routine MCP operations.
  • Agent invocation requires the appropriate invocation permission and may trigger state-changing operations.
  • Text uploads require files scope. Avoid uploading secrets or sensitive information without authorization.
  • Agent publication and native agent registration require administrator scope.
  • Native agent registration requires an already enabled adapter. Native agents may execute with gateway host user privileges; the gateway is not an operating system sandbox.
  • No MCP approval tool is exposed by the published bundle.
  • Use HTTPS for non-loopback gateway connections and protect the token file from unauthorized access.
  • Local inference can avoid paid model API fees. External model providers may require credentials or incur charges.
  • The published MCPB is a preview release. Compatibility and security claims are limited to documented evidence.

See the installation and security guide for a setup checklist.

Buy me a beer