ojob.io/ai/mcps/mcp-pass

Usage

ojob ojob.io/ai/mcps/mcp-pass mainmcp="(type: remote, url: 'http://server1:8888/mcp')" othermcps="[(type: remote, url: 'http://server2:8888/mcp'), (type: remote, url: 'http://server3:8888/mcp')]" usesse=true uri=/mcp serverdesc="(serverInfo: (name: 'my-pass', title: 'My pass server', version: '1.0.0'))" includeTool=tool1,tool2 excludeTool=tool3,tool4 useprefix=main-,other1-,,other3- 

Description

Starts a passthrough MCP server that allows the addition of extra tools from other MCP servers to a main one.

Expects

Name Description
mainmcp A SLON/JSON connection string to the main MCP server to connect to.
othermcps A list of SLON/JSON connection strings to the other MCP servers to connect to and get tools from.
usesse If true and onport is defined, returns HTTP MCP responses as SSE events.
uri If onport is defined, exposes the HTTP MCP endpoint on this URI prefix instead of /.
serverdesc Optional JSON/SLON map used to override the exposed server identity/description.
includeTool Optional comma-delimited list of tool names to include.
excludeTool Optional comma-delimited list of tool names to exclude.
useprefix Optional comma-delimited list of prefixes applied to tools per connection order; use an empty entry for no prefix.