MCP Configtypescript

Photon MCP Config

MCP server configuration from TIHLDE/Photon

View Source
.mcp.json
{
    "mcpServers": {
        "photon": {
            "type": "http",
            "url": "http://localhost:4000/api/mcp"
        },
        "postgres": {
            "command": "sh",
            "args": [
                "-c",
                "docker rm -f postgres-mcp 2>/dev/null; docker run -i --rm --name postgres-mcp -e DATABASE_URI=\"$DATABASE_URI\" crystaldba/postgres-mcp --access-mode=unrestricted"
            ],
            "env": {
                "DATABASE_URI": "postgresql://postgres:password@localhost:5432/photon_db"
            }
        }
    }
}