A central server for MCP servers
Project description
Argus MCP
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for more details.
Project Overview
Argus MCP is a central gateway and management platform for MCP (Model Context Protocol) servers. It connects to and aggregates capabilities from multiple backend MCP servers (stdio, SSE, or streamable-HTTP) and exposes them to upstream MCP clients through SSE (/sse) and Streamable HTTP (/mcp) transports.
The project has a server/client architecture:
argus-mcp server— Headless server that runs the MCP bridge, management API, and transports.argus-mcp tui— Textual-based terminal UI that connects to a running server over HTTP.argus-mcp secret— Manage encrypted secrets (set, get, list, delete).
Core Advantages:
- Simplified Client Configuration: MCP clients connect to one Argus MCP address to access all backend services.
- Capability Aggregation: Aggregates MCP tools, resources, and prompts from multiple sources into a single endpoint.
- Management API: RESTful API at
/manage/v1/for runtime inspection and control of backend services. - Multi-Server TUI: Connect the TUI to multiple Argus MCP servers simultaneously and switch between them.
- Security: JWT/OIDC authentication, RBAC authorization, encrypted secret storage, and log redaction.
Installation and Setup
Requires Python 3.10+.
From PyPI
uv tool install — fastest, isolated environment, auto-managed (recommended):
uv tool install argus-mcp
pipx — same isolation concept, more established:
pipx install argus-mcp
pip — installs into the current environment:
pip install argus-mcp
Quick try: Run without installing using
uv run argus-mcp --help
After installing, verify with:
argus-mcp --help
From Docker
See the Docker usage guide.
docker run --rm diaz3618/argus-mcp:latest --help
From Source
-
Clone Repository
git clone https://github.com/diaz3618/argus-mcp.git cd argus-mcp
-
Create and Activate Virtual Environment
uv venv source .venv/bin/activate # Linux/macOS # .venv\Scripts\activate # Windows
-
Install Dependencies
uv sync
Quick Start
View Help
argus-mcp --help
usage: argus-mcp [-h] {server,stop,status,tui,secret} ...
Argus MCP v0.6.0
positional arguments:
{server,stop,status,tui,secret}
server Run the headless Argus server (Uvicorn + MCP bridge)
stop Stop a detached Argus server
status List all running Argus server sessions
tui Launch the Textual TUI connected to a running Argus server
secret Manage encrypted secrets (set, get, list, delete)
options:
-h, --help show this help message and exit
Start the Server
# Default: listen on 127.0.0.1:9000, auto-detect config file
argus-mcp server
# Custom host, port, and log level
argus-mcp server --host 0.0.0.0 --port 8080 --log-level debug
# Explicit config file
argus-mcp server --config /path/to/config.yaml
Config file resolution order: --config flag → ARGUS_CONFIG env var → auto-detect (config.yaml → config.yml).
The server exposes:
- SSE endpoint at
http://<host>:<port>/sse— for MCP clients using the SSE transport. - Streamable HTTP endpoint at
http://<host>:<port>/mcp— for MCP clients using the newer Streamable HTTP transport. - Management API at
http://<host>:<port>/manage/v1/— for the TUI and automation.
Set the ARGUS_MGMT_TOKEN environment variable to enable bearer token authentication on the management API.
Launch the TUI
# Connect to a local server
argus-mcp tui --server http://127.0.0.1:9000
# With authentication
argus-mcp tui --server http://127.0.0.1:9000 --token YOUR_TOKEN
# Multi-server mode (uses ~/.config/argus-mcp/servers.json)
argus-mcp tui --servers-config /path/to/servers.json
Multi-Server Configuration
Create a servers.json file to manage multiple Argus MCP servers:
{
"servers": [
{
"name": "local",
"url": "http://127.0.0.1:9000"
},
{
"name": "production",
"url": "https://argus.example.com:9000",
"token": "your-production-token"
}
],
"active": "local"
}
Default location: ~/.config/argus-mcp/servers.json
MCP Client Connection
After starting the server, connect any MCP-compatible client to one of the transport endpoints:
| Transport | URL |
|---|---|
| SSE | http://<host>:<port>/sse |
| Streamable HTTP | http://<host>:<port>/mcp |
Supported clients include Claude Desktop, Cursor, Cline, and any other MCP-compatible application.
Logs
Runtime logs are saved in the logs/ directory with timestamped filenames.
Configuration
The configuration file defines both server settings and backend MCP server connections.
Config Format (YAML)
The config uses a versioned YAML format with server settings and backend definitions:
version: "1"
server:
host: "0.0.0.0"
port: 9000
transport: sse # "sse" or "streamable-http"
management:
enabled: true
token: "${ARGUS_MGMT_TOKEN}"
backends:
my_stdio_server:
type: stdio
command: python
args: ["path/to/server.py"]
env:
API_KEY: "${MY_API_KEY}"
remote_sse:
type: sse
url: "https://mcp.example.com/sse"
remote_streamable:
type: streamable-http
url: "https://mcp.example.com/mcp"
Backend Types
stdio — Local MCP server processes managed by Argus MCP.
| Field | Required | Description |
|---|---|---|
type |
Yes | "stdio" |
command |
Yes | Executable to run |
args |
No | Command arguments (default: []) |
env |
No | Environment variables |
sse — Connect to MCP servers over SSE; optionally start a local process.
| Field | Required | Description |
|---|---|---|
type |
Yes | "sse" |
url |
Yes | SSE endpoint URL |
command |
No | Optional local process to start |
args |
No | Command arguments |
headers |
No | Extra HTTP headers |
auth |
No | Outgoing auth config (static or oauth2) |
streamable-http — Connect to MCP servers using Streamable HTTP transport.
| Field | Required | Description |
|---|---|---|
type |
Yes | "streamable-http" |
url |
Yes | Streamable HTTP endpoint URL |
headers |
No | Extra HTTP headers |
auth |
No | Outgoing auth config (static or oauth2) |
Streamable HTTP backends must always set
type: streamable-httpexplicitly.
Common Backend Options
All backend types also support:
| Field | Default | Description |
|---|---|---|
group |
"default" |
Logical server group name |
filters |
— | Per-capability allow/deny lists (tools, resources, prompts) |
tool_overrides |
— | Rename or override descriptions for individual tools |
timeouts |
— | Per-backend timeout overrides (init, cap_fetch, sse_startup) |
Environment Variable Expansion
All string values support ${VAR_NAME} syntax for environment variable expansion.
Secret References
String values can use secret:name syntax to resolve values from encrypted storage (see argus-mcp secret).
Management API
The management API is mounted at /manage/v1/ and provides:
| Endpoint | Method | Description |
|---|---|---|
/manage/v1/health |
GET | Health check (uptime, backend health summary) |
/manage/v1/status |
GET | Server status (version, config, endpoints, feature flags) |
/manage/v1/backends |
GET | List all backends with connection state and capabilities |
/manage/v1/groups |
GET | List logical server groups |
/manage/v1/capabilities |
GET | Aggregated tools, resources, prompts |
/manage/v1/sessions |
GET | Active MCP client sessions |
/manage/v1/events |
GET | Recent event log entries |
/manage/v1/events/stream |
GET | Live SSE event stream |
/manage/v1/reload |
POST | Hot-reload configuration |
/manage/v1/reconnect/{name} |
POST | Reconnect a specific backend |
/manage/v1/shutdown |
POST | Graceful server shutdown |
When ARGUS_MGMT_TOKEN is set, include Authorization: Bearer <token> in requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file argus_mcp-0.6.3.tar.gz.
File metadata
- Download URL: argus_mcp-0.6.3.tar.gz
- Upload date:
- Size: 207.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
544ea6787f7592657e94eaffd4f1f9910710e4efa14faafcee64f2a95ca6daf4
|
|
| MD5 |
9ff8dc3820d136a742276bd8c403b85f
|
|
| BLAKE2b-256 |
03f7ecab5cffacd4038b13e54fbcb63b5033ff03c1e19b21484a219e2ab1b5cf
|
Provenance
The following attestation bundles were made for argus_mcp-0.6.3.tar.gz:
Publisher:
publish.yml on diaz3618/argus-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
argus_mcp-0.6.3.tar.gz -
Subject digest:
544ea6787f7592657e94eaffd4f1f9910710e4efa14faafcee64f2a95ca6daf4 - Sigstore transparency entry: 1013813435
- Sigstore integration time:
-
Permalink:
diaz3618/argus-mcp@a3d6f25ea5d6b56756ff41ee34cdcab015041431 -
Branch / Tag:
refs/tags/v0.6.3 - Owner: https://github.com/diaz3618
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3d6f25ea5d6b56756ff41ee34cdcab015041431 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file argus_mcp-0.6.3-py3-none-any.whl.
File metadata
- Download URL: argus_mcp-0.6.3-py3-none-any.whl
- Upload date:
- Size: 272.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4db5c288615e340a0aecf42131febe344d96b8ef281abac6b56e1752c46e717a
|
|
| MD5 |
5f73bbb918dffe90a3edfca2b1ca47f9
|
|
| BLAKE2b-256 |
9943c2f104ccc1eb3805b256a39e702bf39b6f08cfc91ba0ffe2ca2deb237b2d
|
Provenance
The following attestation bundles were made for argus_mcp-0.6.3-py3-none-any.whl:
Publisher:
publish.yml on diaz3618/argus-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
argus_mcp-0.6.3-py3-none-any.whl -
Subject digest:
4db5c288615e340a0aecf42131febe344d96b8ef281abac6b56e1752c46e717a - Sigstore transparency entry: 1013813468
- Sigstore integration time:
-
Permalink:
diaz3618/argus-mcp@a3d6f25ea5d6b56756ff41ee34cdcab015041431 -
Branch / Tag:
refs/tags/v0.6.3 - Owner: https://github.com/diaz3618
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3d6f25ea5d6b56756ff41ee34cdcab015041431 -
Trigger Event:
workflow_dispatch
-
Statement type: