/mcp endpoint.
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" for HTTP-based servers. |
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). |
bearer_token | No | If set, MCPJungle adds Authorization: Bearer <token> to every request to this server. |
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 MCP servers (HuggingFace, Stripe, etc.) require an API token. Pass it with the--bearer-token flag:
Authorization format or additional headers, use the headers field directly:
Environment variable substitution
Config files support${VAR_NAME} placeholders in any string field. The CLI resolves them from the environment before sending the request to MCPJungle:
- Only the
${VAR_NAME}syntax is recognized — not$VAR_NAME. - Placeholders can appear anywhere inside a string value, including as a substring:
"prefix-${VAR}-suffix". - Substitution runs in the CLI process, so the variable must be set in the shell where you run the command.
- Nested objects and string arrays are also resolved.
Tool naming convention
MCPJungle uses a canonical name for every tool that follows the pattern<server-name>__<tool-name> (two underscores):
mcpjungle invoke, mcpjungle usage, or when your MCP client refers to a specific tool.
Deregister a server
To remove a server from MCPJungle:Configure a custom registry URL
By default, the CLI connects to MCPJungle athttp://127.0.0.1:8080. If your server runs on a different host or port, configure the registry URL in one of two ways:
- --registry flag
- Config file
Pass the URL inline with every command: