MSG - MCP Swarm Gateway
Provides tools to list, execute commands in, view logs of, and run Docker containers.
Provides a web search tool using DuckDuckGo.
Provides tools to check status, view commit history, diff, and execute arbitrary Git commands.
Provides a tool to run npm install.
Allows Perplexity AI to access local tools through the MCP browser extension, enabling file, terminal, browser, and code execution capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MSG - MCP Swarm Gatewaylist files in my documents folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MSG - MCP Swarm Gateway
Universal MCP Bridge + Multi-Agent Swarm Orchestrator
Turn any web-based AI (ChatGPT, Claude, Grok, Kimi, DeepSeek, Gemini) into a full-powered agent with access to your local PC, terminal, browser, and code execution - with a swarm of parallel agents validated in real-time.
What Makes MSG Different
Feature | MCP SuperAssistant | Other Tools | MSG |
Web AI Chat Support | 11 platforms | 2-5 | 11+ platforms |
Local MCP Tools | ~10 | Varies | 33 tools, 8 categories |
Multi-Agent Swarm | No | No | Yes - parallel agents |
Parallel Validation | No (just pytest) | No | Review agents + pytest |
Custom Skills/Plugins | No | Limited | Hot-loadable skill system |
Web Dashboard | No | No | Real-time monitoring |
Browser Extension | Yes | No | Yes (11 platforms) |
Architecture
Web AI Chats (ChatGPT, Claude, Grok, Kimi, DeepSeek, Gemini...)
|
HTTP/WebSocket (CORS-enabled)
|
+----v--------------+---------------+
| MSG GATEWAY | SWARM ORCH. |
| (FastAPI) | (Parallel) |
+----v--------------+---------------+
|
+----v--------------+
| MCP LOCAL TOOLS |
| (33 tools) |
+----v--------------+
| Your PC |
| Files, Terminal |
| Browser, Code |
+-------------------+Quick Start
1. Install Dependencies
pip install mcp[cli] fastapi uvicorn websockets pyyaml jinja2 psutil httpxOptional (for browser tools):
pip install playwright
playwright install chromium2. Run MSG
cd msg
python run.pyThe dashboard will be available at:
Dashboard: http://localhost:8765/dashboard
API Docs: http://localhost:8765/docs
Tool Explorer: http://localhost:8765/tools
3. Install Browser Extension
Open Chrome/Firefox extensions page
Enable "Developer mode"
Click "Load unpacked" and select the
extension/folderThe MSG tool panel will appear on supported AI chat sites
4. Connect Your AI Chat
Option A: Browser Extension (Recommended)
The extension automatically injects MCP tool capabilities into:
ChatGPT (chatgpt.com)
Claude (claude.ai)
Grok (grok.x.ai)
Kimi (kimi.ai)
DeepSeek (chat.deepseek.com)
Gemini (gemini.google.com)
Perplexity (perplexity.ai)
Mistral (chat.mistral.ai)
OpenRouter (openrouter.ai)
T3 Chat (t3.chat)
Option B: Direct API
Send tool calls directly from any app:
curl -X POST http://localhost:8765/api/v1/tools/execute_command \
-H "Content-Type: application/json" \
-d '{"params": {"command": "ls -la"}}'Option C: WebSocket (Real-time)
const ws = new WebSocket('ws://localhost:8765/ws');
ws.send(JSON.stringify({
tool: 'read_file',
params: {path: '/path/to/file.txt'}
}));
ws.onmessage = (e) => console.log(JSON.parse(e.data));33 Built-in MCP Tools
Filesystem (8)
Tool | Description |
| Read text file with optional offset/limit |
| Write or overwrite a file |
| Append content to a file |
| List files with metadata (size, mtime) |
| Recursive glob search |
| Create directory structure |
| Delete file or directory |
| Size, modified time, permissions |
Terminal (3)
Tool | Description |
| Run shell command with timeout (security sandboxed) |
| Run a script file |
| Start daemon process, return PID |
Browser (4)
Tool | Description |
| Navigate to URL, get page content |
| Click element by selector |
| Fill form input |
| Capture page screenshot |
Code Execution (3)
Tool | Description |
| Execute Python code in isolated subprocess |
| Execute JS via Node.js |
| Evaluate math/code expressions |
System (4)
Tool | Description |
| CPU, RAM, disk, OS info |
| Running processes |
| Kill process by PID |
| Web search via DuckDuckGo |
Git (4)
Tool | Description |
| Repository status |
| Commit history |
| Current diff |
| Run any git command |
Docker (4)
Tool | Description |
| List containers |
| Execute in container |
| Container logs |
| Run new container |
Dev Tools (3)
Tool | Description |
| npm install |
| pip install |
| Run pytest/jest |
Swarm Orchestrator
The swarm executes complex projects with parallel validation:
You submit a project: "Build a Python web scraper"
Project Manager decomposes it into tasks
Code Agents (parallel) write the code
Review Agents (parallel) validate each batch - checking syntax, docstrings, error handling
Verdict: PASS / WARNING / REVISE
Debug Agent fixes REVISE items
Test Agent runs integration tests
Results delivered
Parallel Validation (The Key Feature)
Unlike other systems that only run pytest after code is done, MSG runs Review Agents in parallel with Code Agents. While one agent is still writing code, another is already reviewing what was just completed. This catches issues immediately, not after hours of work.
Submit a Swarm Task
curl -X POST http://localhost:8765/api/v1/swarm/task \
-H "Content-Type: application/json" \
-d '{"description": "Build a calculator app", "files": ["calc.py", "test_calc.py"]}'Check status:
curl http://localhost:8765/api/v1/swarm/task/{task_id}Configuration
Edit config.yaml:
gateway:
host: "0.0.0.0"
port: 8765
security:
allowed_directories:
- "/home/yourname/projects"
blocked_commands:
- "rm -rf /"
max_execution_time: 30
swarm:
max_parallel_agents: 5
review_strictness: "strict"Security
Path sandboxing: Tools can only access allowed directories
Command blocklist: Dangerous commands are rejected
Execution timeouts: No infinite hangs
Output limits: Prevents memory exhaustion
Optional auth: Token-based API authentication
Tech Stack
Component | Technology |
MCP Server |
|
Gateway | FastAPI + WebSockets |
Process Mgmt | asyncio + subprocess |
Browser | Playwright |
Message Bus | asyncio Queue |
Dashboard | FastAPI + Jinja2 + vanilla JS |
Extension | Vanilla JS (content script) |
Project Stats
34 Python files, 3,693 lines of code
33 MCP tools across 8 categories
5 agent types in the swarm (coder, reviewer, tester, debugger + orchestrator)
11 AI platforms supported via browser extension
6 dashboard pages with real-time WebSocket updates
100% syntax clean - all files pass py_compile
License
MIT - Use it, modify it, make money with it. Go get 'em.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/valleyboyzz0024-del/Mcpry'
If you have feedback or need assistance with the MCP directory API, please join our Discord server