Register a server with CLI flags
The quickest way to register a Streamable HTTP server is with theregister command and inline flags:
If Mcpjungle is running inside Docker on macOS or Windows, the container cannot reach
127.0.0.1 on your host. Use host.docker.internal instead:Register a server from a config file
For servers that need authentication or custom headers — or when you want to keep registration configs in version control — use a JSON config file:| Field | Required | Description |
|---|---|---|
name | Yes | Unique identifier for this server. No spaces, special characters, or consecutive underscores. |
transport | Yes | Must be "streamable_http". Other possible values are "sse" and "stdio". |
description | No | Human-readable description surfaced in the CLI and API. |
url | Yes | The full URL of the MCP server’s endpoint (e.g., https://example.com/mcp). Required when transport is streamable http. |
bearer_token | No | If set, Mcpjungle adds Authorization: Bearer <token> to every request to this server. |
session_mode | No | stateless (default) creates a new connection per tool call. stateful reuses a persistent session across tool calls. |
headers | No | Map of additional HTTP headers to forward. If Authorization is set here, it overrides bearer_token. |
Authenticating with a bearer token
Many SaaS-hosted MCP servers require a static API token. Pass it with the--bearer-token flag:
Authorization format or additional headers, use the headers field directly:
Environment variable substitution
JSON config files support${VAR_NAME} placeholders in string fields, including URLs, bearer tokens, and header values.
See the configuration file reference for the exact substitution rules and examples.
Verify the registration
After registering a server, inspect what Mcpjungle discovered:Deregister a server
To remove a server from Mcpjungle:Related pages
STDIO servers
Register local process-based MCP servers using JSON config files.
Connect Claude Desktop
Connect Claude Desktop to Mcpjungle and start using your registered tools through one MCP endpoint.
Tools and prompts
List, invoke, enable, disable, and retrieve what registered servers expose.
Config file reference
See the full JSON schema details for server registration files.
