GET /api/v0/servers
Returns a list of all registered MCP servers. Each item includes connection details but omits sensitive fields such as bearer tokens — use GET /api/v0/server_configs for the full configuration.
Access: admin and user
200
Unique name of the server within MCPJungle.
Transport protocol. One of
stdio, streamable_http, or sse.Human-readable description.
Remote server URL. Present for
streamable_http and sse transports.Executable path. Present for
stdio transport.Arguments passed to the command. Present for
stdio transport.Environment variables passed to the process. Present for
stdio transport.Either
stateless (default, new connection per call) or stateful (persistent connection).POST /api/v0/servers
Registers a new MCP server. The body shape depends on the transport type. Accepts an optional ?force=true query parameter: if a server with the same name already exists, it is deregistered before the new one is registered.
Access: admin only
When
true, deregister any existing server with the same name before registering.Request body
Unique name for the server. Must not conflict with an existing server unless
force=true.Transport protocol. Accepted values:
stdio, streamable_http, sse.Optional human-readable description.
Connection management mode.
stateless creates a new connection per tool call. stateful keeps a persistent connection — useful for servers with slow cold starts or that require session state.Remote server URL. Required when
transport is streamable_http or sse. Must be a valid http:// or https:// URL.Static token sent in the
Authorization header when proxying requests to the upstream server. Ignored for stdio transport.Additional HTTP headers forwarded to
streamable_http upstream servers. If both bearer_token and headers["Authorization"] are set, the explicit header value takes precedence.Executable to launch. Required when
transport is stdio.Command-line arguments. Used only with
stdio transport.Environment variables injected into the subprocess. Used only with
stdio transport.- stdio
- streamable_http
- sse
cURL
201 — The newly created server object (same shape as a list item from GET /api/v0/servers).
DELETE /api/v0/servers/:name
Deregisters a server. All tools and prompts provided by the server are removed from the proxy immediately.
Access: admin only
Name of the server to deregister.
cURL
204 — No content.
POST /api/v0/servers/:name/enable
Re-enables a previously disabled server, making its tools and prompts available again through the MCP proxy.
Access: admin only
Name of the server to enable.
cURL
200
Name of the server that was enabled.
Names of tools that were re-enabled.
Names of prompts that were re-enabled.
POST /api/v0/servers/:name/disable
Disables a server, hiding all its tools and prompts from the MCP proxy without removing the registration. The server can be re-enabled later.
Access: admin only
Name of the server to disable.
cURL
200 — Same shape as the enable response, listing the tools and prompts that were disabled.
GET /api/v0/server_configs
Returns the full registration configuration for every server, including bearer tokens and custom headers. Use this endpoint to export configs for migration or backup. Treat the output as a secret.
Access: admin only
cURL
200 — An array of RegisterServerInput objects. Each item has the same fields as the POST /api/v0/servers request body, including bearer_token and headers where applicable.