# Repello MCP Gateway with ARGUS Integration
The Repello MCP Gateway is an advanced intermediary solution for Model Context Protocol (MCP) servers, architected to integrate directly with **Repello's ARGUS API**. It centralizes your AI infrastructure and secures it by analyzing every request and response.
The Gateway acts as an intermediary between your development environment (like Cursor or Claude Desktop) and other MCP servers. It:
1. Reads server configurations from an `mcp.json` file.
2. Manages the lifecycle of these configured MCP servers.
3. Intercepts all tool calls and responses.
4. Sends the content of each request and response to the **Repello ARGUS API** for real-time analysis.
5. Provides a unified interface for discovering and interacting with all proxied MCPs.
## Installation
### Python (recommended)
Install the repello-mcp-gateway package:
```bash
pip install repello-mcp-gateway
```
## How It Works
The Gateway requires credentials for the Repello ARGUS API to function. You must provide a **Tracking ID** and an **API Key** via command-line arguments at startup.
When a tool is called (e.g., from an editor like Cursor), the Gateway intercepts the call. Before forwarding it to the downstream MCP server (like a filesystem server), it sends the request payload to `https://argusapi.repello.ai/analyze-prompt`. If the API approves the request, it's sent to the tool.
When the tool returns a result, the Gateway intercepts the response. It sends this response to `https://argusapi.repello.ai/analyze-response`. If the API approves, the final result is sent back to the client application.
If the ARGUS API detects a threat in either the request or response, it will return an error, and the Gateway will block the action, raising an `AnalysisError`.
## Usage
You must start the gateway with your `mcp.json` path, a valid tracking ID, and an API key.
```bash
repello-mcp-gateway --mcp-json-path ~/.cursor/mcp.json --tracking-id <your-tracking-id> --api-key <your-api-key>
```
At startup, the gateway will make a test call to the Repello API to validate the provided credentials. If the credentials are not valid, the gateway will fail to start.
### Example `mcp.json` Configuration
The client application (e.g., Cursor) should be configured to launch the gateway. The gateway, in turn, is configured to launch the downstream MCP servers. The client **only** needs to know about the gateway.
<details>
<summary>Cursor example:</summary>
```json
{
"mcpServers": {
"repello-mcp-gateway": {
"command": "repello-mcp-gateway",
"args": [
"--mcp-json-path",
"~/.cursor/mcp.json",
"--tracking-id",
"YOUR_TRACKING_ID_HERE",
"--api-key",
"YOUR_API_KEY_HERE"
],
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
}
}
}
}
}
```
</details>
<details>
<summary>Claude example:</summary>
First, find your python path:
```bash
which python
```
Then, configure your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"repello-mcp-gateway": {
"command": "<python path>",
"args": [
"-m",
"mcp_gateway.server",
"--mcp-json-path",
"<path to claude_desktop_config>",
"--tracking-id",
"YOUR_TRACKING_ID_HERE",
"--api-key",
"YOUR_API_KEY_HERE"
],
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
}
}
}
}
}
```
</details>
## Gateway Tools
The Gateway provides one primary tool for discovery:
- **`get_metadata`**: Provides information about all available proxied MCPs to help LLMs understand which tools and resources are available through the gateway.
The tools from downstream servers (like `list_directory` from the filesystem server) will be dynamically registered on the gateway with a prefix (e.g., `filesystem_list_directory`).
Raw data
{
"_id": null,
"home_page": null,
"name": "repello-mcp-gateway",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "mcp, model context protocol, gateway, security, repello, argus",
"author": null,
"author_email": "Repello <naman@repello.ai>",
"download_url": "https://files.pythonhosted.org/packages/6f/2e/53bcef8bcfd3d75b2061f17e7ad5f2f86f01e6e2c1c4808c5c98c9def909/repello_mcp_gateway-1.0.3.tar.gz",
"platform": null,
"description": "# Repello MCP Gateway with ARGUS Integration\n\nThe Repello MCP Gateway is an advanced intermediary solution for Model Context Protocol (MCP) servers, architected to integrate directly with **Repello's ARGUS API**. It centralizes your AI infrastructure and secures it by analyzing every request and response.\n\nThe Gateway acts as an intermediary between your development environment (like Cursor or Claude Desktop) and other MCP servers. It:\n\n1. Reads server configurations from an `mcp.json` file.\n2. Manages the lifecycle of these configured MCP servers.\n3. Intercepts all tool calls and responses.\n4. Sends the content of each request and response to the **Repello ARGUS API** for real-time analysis.\n5. Provides a unified interface for discovering and interacting with all proxied MCPs.\n\n## Installation\n\n### Python (recommended)\n\nInstall the repello-mcp-gateway package:\n\n```bash\npip install repello-mcp-gateway\n```\n\n## How It Works\n\nThe Gateway requires credentials for the Repello ARGUS API to function. You must provide a **Tracking ID** and an **API Key** via command-line arguments at startup.\n\nWhen a tool is called (e.g., from an editor like Cursor), the Gateway intercepts the call. Before forwarding it to the downstream MCP server (like a filesystem server), it sends the request payload to `https://argusapi.repello.ai/analyze-prompt`. If the API approves the request, it's sent to the tool.\n\nWhen the tool returns a result, the Gateway intercepts the response. It sends this response to `https://argusapi.repello.ai/analyze-response`. If the API approves, the final result is sent back to the client application.\n\nIf the ARGUS API detects a threat in either the request or response, it will return an error, and the Gateway will block the action, raising an `AnalysisError`.\n\n## Usage\n\nYou must start the gateway with your `mcp.json` path, a valid tracking ID, and an API key.\n\n```bash\nrepello-mcp-gateway --mcp-json-path ~/.cursor/mcp.json --tracking-id <your-tracking-id> --api-key <your-api-key>\n```\n\nAt startup, the gateway will make a test call to the Repello API to validate the provided credentials. If the credentials are not valid, the gateway will fail to start.\n\n### Example `mcp.json` Configuration\n\nThe client application (e.g., Cursor) should be configured to launch the gateway. The gateway, in turn, is configured to launch the downstream MCP servers. The client **only** needs to know about the gateway.\n\n<details>\n<summary>Cursor example:</summary>\n\n```json\n{\n \"mcpServers\": {\n \"repello-mcp-gateway\": {\n \"command\": \"repello-mcp-gateway\",\n \"args\": [\n \"--mcp-json-path\",\n \"~/.cursor/mcp.json\",\n \"--tracking-id\",\n \"YOUR_TRACKING_ID_HERE\",\n \"--api-key\",\n \"YOUR_API_KEY_HERE\"\n ],\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@modelcontextprotocol/server-filesystem\", \".\"]\n }\n }\n }\n }\n}\n```\n\n</details>\n\n<details>\n<summary>Claude example:</summary>\n\nFirst, find your python path:\n\n```bash\nwhich python\n```\n\nThen, configure your `claude_desktop_config.json`:\n\n```json\n{\n \"mcpServers\": {\n \"repello-mcp-gateway\": {\n \"command\": \"<python path>\",\n \"args\": [\n \"-m\",\n \"mcp_gateway.server\",\n \"--mcp-json-path\",\n \"<path to claude_desktop_config>\",\n \"--tracking-id\",\n \"YOUR_TRACKING_ID_HERE\",\n \"--api-key\",\n \"YOUR_API_KEY_HERE\"\n ],\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@modelcontextprotocol/server-filesystem\", \".\"]\n }\n }\n }\n }\n}\n```\n\n</details>\n\n## Gateway Tools\n\nThe Gateway provides one primary tool for discovery:\n\n- **`get_metadata`**: Provides information about all available proxied MCPs to help LLMs understand which tools and resources are available through the gateway.\n\nThe tools from downstream servers (like `list_directory` from the filesystem server) will be dynamically registered on the gateway with a prefix (e.g., `filesystem_list_directory`).\n",
"bugtrack_url": null,
"license": null,
"summary": "A gateway for MCP servers with Repello ARGUS integration",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/repello-ai/mcp-gateway",
"Repository": "https://github.com/repello-ai/mcp-gateway"
},
"split_keywords": [
"mcp",
" model context protocol",
" gateway",
" security",
" repello",
" argus"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2273fda3cd4a3446ad520239a158221f82eb6199ee6c28f5ba2fb0ffb85468f7",
"md5": "9647f5dc3c4e63cc56b753f19016d88f",
"sha256": "c663c33fdc55de067688cb5ad957acb79c139130050edf8a5f9e792ca43ffd17"
},
"downloads": -1,
"filename": "repello_mcp_gateway-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9647f5dc3c4e63cc56b753f19016d88f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 12089,
"upload_time": "2025-10-25T10:18:23",
"upload_time_iso_8601": "2025-10-25T10:18:23.746073Z",
"url": "https://files.pythonhosted.org/packages/22/73/fda3cd4a3446ad520239a158221f82eb6199ee6c28f5ba2fb0ffb85468f7/repello_mcp_gateway-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6f2e53bcef8bcfd3d75b2061f17e7ad5f2f86f01e6e2c1c4808c5c98c9def909",
"md5": "82677e6227f72af0b6871897130d0d85",
"sha256": "aaefa58cafdc04c1ec6827a748eb80990a14a252c82b822752f52db2ea22c106"
},
"downloads": -1,
"filename": "repello_mcp_gateway-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "82677e6227f72af0b6871897130d0d85",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 13488,
"upload_time": "2025-10-25T10:18:25",
"upload_time_iso_8601": "2025-10-25T10:18:25.028485Z",
"url": "https://files.pythonhosted.org/packages/6f/2e/53bcef8bcfd3d75b2061f17e7ad5f2f86f01e6e2c1c4808c5c98c9def909/repello_mcp_gateway-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-25 10:18:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "repello-ai",
"github_project": "mcp-gateway",
"github_not_found": true,
"lcname": "repello-mcp-gateway"
}