add_hub_server
Register an external MCP server (Docker, local command, or SSE) to the hub for tool discovery and execution in security workflows.
Instructions
Add a new MCP server to the hub.
Register a new external MCP server that can be used for tool discovery and execution. Servers can be Docker images, local commands, or SSE endpoints.
:param name: Unique name for the server (e.g., "nmap", "nuclei"). :param server_type: Connection type ("docker", "command", or "sse"). :param image: Docker image name (for docker type). :param command: Command and args (for command type). :param url: SSE endpoint URL (for sse type). :param category: Category for grouping (e.g., "reconnaissance"). :param description: Human-readable description. :param capabilities: Docker capabilities to add (e.g., ["NET_RAW"]). :param environment: Environment variables to pass. :return: Information about the added server.
Examples:
Docker: add_hub_server("nmap", "docker", image="nmap-mcp:latest", capabilities=["NET_RAW"])
Command: add_hub_server("custom", "command", command=["python", "server.py"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| server_type | Yes | ||
| image | No | ||
| command | No | ||
| url | No | ||
| category | No | ||
| description | No | ||
| capabilities | No | ||
| environment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||