register
Registers an MCP server with the gateway. Once registered, the server’s tools, prompts, and resources are immediately available through the MCPJungle proxy.
__).
Flags
Unique name for the MCP server. Required when not using
--conf.URL of a streamable HTTP MCP server, for example
http://localhost:8000/mcp. Required for HTTP-based servers when not using --conf.Optional human-readable description of the server.
Static bearer token MCPJungle forwards to the upstream server in every request. Use this when the upstream server requires a fixed API token for authentication.
Deregister an existing server with the same name, then register the new one. Without this flag, registering a duplicate name returns an error.
Path to a JSON configuration file. When provided, all other flags are ignored. Required for
stdio and sse transport servers.Config file format
The--conf flag accepts a JSON file matching the following structure. Fields not used by the chosen transport can be omitted.
server-config.json
stdio server:
filesystem-server.json
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique server name. |
transport | string | Yes | streamable_http, stdio, or sse. |
url | string | For HTTP | URL of the HTTP MCP server. |
description | string | No | Human-readable description. |
bearer_token | string | No | Static token forwarded to the upstream server. |
headers | object | No | Additional HTTP headers forwarded to HTTP servers. If both bearer_token and headers["Authorization"] are set, the explicit header takes precedence. |
command | string | For stdio | Executable to run. |
args | array | No | Arguments passed to the command. |
env | object | No | Environment variables passed to the stdio process. |
session_mode | string | No | stateless (default) or stateful. |
env and elsewhere can reference environment variables using ${VAR_NAME} syntax — the CLI resolves them at registration time.
Examples
Register a streamable HTTP server with flags:deregister
Removes an MCP server from the registry, along with all of its tools, prompts, and resources.
Example
list
Lists entities registered in the gateway.
list servers
Lists all registered MCP servers with their transport and connection details.
list tools
Lists available tools, optionally filtered by server or tool group.
Filter tools to those provided by the specified server name.
Filter tools to those currently active in the specified tool group. Note: tools that are in the group config but have been deleted or disabled globally will not appear here. Use
get group to see the full configured list.--server and --group cannot be used together.list prompts
Lists prompt templates, optionally filtered by server.
Filter prompts to those from the specified server.
list resources
Lists resources, optionally filtered by server.
Filter resources to those from the specified server.
list groups
Lists all tool groups. For detailed group configuration, use get group.
Examples
usage
Displays the name, description, and full input schema for a registered tool. Use this to understand what parameters a tool accepts before invoking it.
Example
invoke
Calls a registered tool and prints its response.
Flags
JSON object of input parameters to pass to the tool. Must be valid JSON.
Invoke the tool within a specific tool group’s context. The tool must be included in the group, otherwise the command returns an error.
Examples
Invoke a tool with no input:enable
Enables one or more tools, prompts, or an entire server globally. Enabled entities are visible and callable by MCP clients.
Subcommands
| Subcommand | Argument | Description |
|---|---|---|
enable tool <name> | Tool name or server name | Enable a specific tool, or all tools from a server. |
enable prompt <name> | Prompt name or server name | Enable a specific prompt, or all prompts from a server. |
enable server <name> | Server name | Enable all tools and prompts from a server. |
Examples
The legacy form
mcpjungle enable <name> (without a subcommand) is still accepted for backward compatibility but is deprecated. Use enable tool <name> or enable server <name> instead.disable
Disables one or more tools, prompts, or an entire server globally. Disabled entities are hidden from MCP clients and cannot be called.
Subcommands
| Subcommand | Argument | Description |
|---|---|---|
disable tool <name> | Tool name or server name | Disable a specific tool, or all tools from a server. |
disable prompt <name> | Prompt name or server name | Disable a specific prompt, or all prompts from a server. |
disable server <name> | Server name | Disable all tools and prompts from a server. |
Examples
The legacy form
mcpjungle disable <name> (without a subcommand) is still accepted for backward compatibility but is deprecated. Use disable tool <name> or disable server <name> instead.get prompt
Retrieves a rendered prompt template from a registered MCP server, with optional argument substitution.
Flags
An argument to pass to the prompt template. Can be specified multiple times for prompts that accept several arguments.
Examples
Retrieve a prompt with no arguments:user or assistant) and content, as returned by the upstream MCP server.