Open-source MCP security, aggregation, and monitoring. Single-user, self-hosted MCP proxy.
Project description
OpenEdison
Open-source MCP security gateway that prevents data exfiltration—via direct access or tool chaining—with full monitoring for local single‑user deployments. Provides core functionality of https://edison.watch for local, single-user use.
Just want to run it?
curl -fsSL https://raw.githubusercontent.com/Edison-Watch/open-edison/main/curl_pipe_bash.sh | bash
Run locally with uvx: uvx open-edison --config-dir ~/edison-config
📧 Interested in connecting AI to your business software with proper access controls? Contact us to discuss.
Features
- Single-user MCP proxy - No multi-user complexity, just a simple proxy for your MCP servers
- JSON configuration - Easy to configure and manage your MCP servers
- Simple local frontend - Track and monitor your MCP interactions, servers, and sessions.
- Session tracking - Track and monitor your MCP interactions
- Simple API - REST API for managing MCP servers and proxying requests
- Docker support - Run in a container for easy deployment
Quick Start
Install from PyPI
Prerequisites
- Pipx/uvx
# Using uvx
uvx open-edison --help
# Using pipx
pipx install open-edison
open-edison --help
Run with a custom config directory:
open-edison run --config-dir ~/edison-config
# or via environment variable
OPEN_EDISON_CONFIG_DIR=~/edison-config open-edison run
Run with Docker
There is a dockerfile for simple local setup.
# Single-line:
git clone https://github.com/GatlingX/open-edison.git && cd open-edison && make docker_run
# Or
# Clone repo
git clone https://github.com/GatlingX/open-edison.git
# Enter repo
cd open-edison
# Build and run
make docker_run
The MCP server will be available at http://localhost:3000 and the api + frontend at http://localhost:3001.
Run from source
- Clone the repository:
git clone https://github.com/GatlingX/open-edison.git
cd open-edison
- Set up the project:
make setup
- Edit
config.jsonto configure your MCP servers. See the full file: config.json, it looks like:
{
"server": { "host": "0.0.0.0", "port": 3000, "api_key": "..." },
"logging": { "level": "INFO", "database_path": "sessions.db" },
"mcp_servers": [
{ "name": "filesystem", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"], "enabled": true },
{ "name": "github", "enabled": false, "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "..." } }
]
}
- Run the server:
make run
# or, from the installed package
open-edison run
The server will be available at http://localhost:3000.
MCP Connection
Connect any MCP client to Open Edison:
npx -y mcp-remote http://localhost:3000/mcp/ --http-only --header "Authorization: Bearer your-api-key"
Or add to your MCP client config:
{
"mcpServers": {
"open-edison": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:3000/mcp/", "--http-only", "--header", "Authorization: Bearer your-api-key"]
}
}
}
Usage
API Endpoints
See API Reference for full API documentation.
Development
Setup
Setup from source as above.
Run
Server doesn't have any auto-reload at the moment, so you'll need to run & ctrl-c this during development.
make run
Tests/code quality
We expect make ci to return cleanly.
make ci
Configuration
The config.json file contains all configuration:
server.host- Server host (default: localhost)server.port- Server port (default: 3000)server.api_key- API key for authenticationlogging.level- Log level (DEBUG, INFO, WARNING, ERROR)mcp_servers- Array of MCP server configurations
Each MCP server configuration includes:
name- Unique name for the servercommand- Command to run the MCP serverargs- Arguments for the commandenv- Environment variables (optional)enabled- Whether to auto-start this server
Security & Permissions System
Open Edison includes a comprehensive security monitoring system that tracks the "lethal trifecta" of AI agent risks:
- Private data access - Access to sensitive local files/data
- Untrusted content exposure - Exposure to external/web content
- External communication - Ability to write/send data externally
The configuration allows you to classify these risks across tools, resources, and prompts using separate configuration files.
In addition to trifecta, we track Access Control Level (ACL) for each tool call, that is, each tool has an ACL level (one of PUBLIC, PRIVATE, or SECRET), and we track the highest ACL level for each session. If a write operation is attempted to a lower ACL level, it is blocked.
Tool Permissions (tool_permissions.json)
Defines security classifications for MCP tools. See full file: tool_permissions.json, it looks like:
{
"_metadata": { "last_updated": "2025-08-07" },
"builtin": {
"get_security_status": { "enabled": true, "write_operation": false, "read_private_data": false, "read_untrusted_public_data": false, "acl": "PUBLIC" }
},
"filesystem": {
"read_file": { "enabled": true, "write_operation": false, "read_private_data": true, "read_untrusted_public_data": false, "acl": "PRIVATE" },
"write_file": { "enabled": true, "write_operation": true, "read_private_data": true, "read_untrusted_public_data": false, "acl": "PRIVATE" }
}
}
Resource Permissions (resource_permissions.json)
Defines security classifications for resource access patterns. See full file: resource_permissions.json, it looks like:
{
"_metadata": { "last_updated": "2025-08-07" },
"builtin": { "config://app": { "enabled": true, "write_operation": false, "read_private_data": false, "read_untrusted_public_data": false } }
}
Prompt Permissions (prompt_permissions.json)
Defines security classifications for prompt types. See full file: prompt_permissions.json, it looks like:
{
"_metadata": { "last_updated": "2025-08-07" },
"builtin": { "summarize_text": { "enabled": true, "write_operation": false, "read_private_data": false, "read_untrusted_public_data": false } }
}
Wildcard Patterns
All permission types support wildcard patterns:
- Tools:
server_name/*(e.g.,filesystem/*matches all filesystem tools) - Resources:
scheme:*(e.g.,file:*matches all file resources) - Prompts:
type:*(e.g.,template:*matches all template prompts)
Security Monitoring
All items must be explicitly configured - unknown tools/resources/prompts will be rejected for security.
Use the get_security_status tool to monitor your session's current risk level and see which capabilities have been accessed. When the lethal trifecta is achieved (all three risk flags set), further potentially dangerous operations are blocked.
Documentation
📚 Complete documentation available in docs/
- Getting Started - Quick setup guide
- Configuration - Complete configuration reference
- API Reference - REST API documentation
- Development Guide - Contributing and development
License
GPL-3.0 License - see LICENSE for details.
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 open_edison-0.1.16.tar.gz.
File metadata
- Download URL: open_edison-0.1.16.tar.gz
- Upload date:
- Size: 152.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f41974a902a6b4ef91029241530cf6d4d90dd5820a57a2e7b755309b0ef86e1
|
|
| MD5 |
538d67d652b2213c96165ada0f2be487
|
|
| BLAKE2b-256 |
5d1ad3f04df79ff520c75d2543d08fe75368294e959b84a24c6479da8782e4d5
|
File details
Details for the file open_edison-0.1.16-py3-none-any.whl.
File metadata
- Download URL: open_edison-0.1.16-py3-none-any.whl
- Upload date:
- Size: 128.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db71f67315307d16348ccf4e790c63e94916e067550f7b966f83e114eb43d6fa
|
|
| MD5 |
38a364157b02a6eeb26696e2444a82b4
|
|
| BLAKE2b-256 |
a8890c72dba6653412355e94ed58c423ce574c354f09d27ba8e5bf62fb251f5e
|