panossalt avatar

MCP Gateway

panossalt/mcp-gateway

If you need to give your team Claude access to internal databases and filesystems without scattering credentials across laptops, this is the gateway you deploy once and point everyone at. It speaks MCP over SSE, handles OAuth 2.1 with PKCE, plugs into Microsoft Entra for SSO, and logs every query to an audit trail. Out of the box you get schema introspection and query execution for Postgres, MySQL, MSSQL, and SQLite, plus sandboxed file operations. Role-based access control lets you restrict SQL writes to analysts and filesystem mutations to admins. The admin UI manages connections, users, API keys, and per-tool permissions. Built on FastAPI with a React frontend.

GitHub stars
6
tools
10
transport
SSE
last updated
Sep 27, 2026

Tools

10 tools

Public tool metadata for what this MCP can expose to an agent.

list_connectionsReturns all database connections the user can access with their names and types.

Returns all database connections the user can access with their names and types.

No parameter schema in public metadata yet.

get_current_timeReturns the current UTC time in ISO 8601 format. Available to all roles.

Returns the current UTC time in ISO 8601 format. Available to all roles.

No parameter schema in public metadata yet.

fs_read_fileRead a file as UTF-8 text

Read a file as UTF-8 text

No parameter schema in public metadata yet.

fs_list_directoryList directory contents

List directory contents

No parameter schema in public metadata yet.

fs_directory_treeRecursive directory tree (JSON)

Recursive directory tree (JSON)

No parameter schema in public metadata yet.

fs_search_filesGlob pattern search

Glob pattern search

No parameter schema in public metadata yet.

fs_get_file_infoFile metadata (size, timestamps)

File metadata (size, timestamps)

No parameter schema in public metadata yet.

fs_write_fileCreate or overwrite a file

Create or overwrite a file

No parameter schema in public metadata yet.

fs_create_directoryCreate a directory (with parents)

Create a directory (with parents)

No parameter schema in public metadata yet.

fs_move_fileMove or rename a file

Move or rename a file

No parameter schema in public metadata yet.

Sponsors

Readme

MCP Gateway

Tests License: MIT Python 3.12

The production platform for MCP tools.

Claude Desktop can connect to your internal tools — databases, filesystems, APIs, anything — through a single authenticated endpoint. You control who can use which tools, every action is logged, and no raw credentials ever leave your server.

Built-in tools: SQL query (Postgres, MySQL, SQLite, MSSQL), filesystem access. Custom tools: plug in anything that implements the MCP tool interface.

See it in action — short demo of Claude Desktop querying a database through MCP Gateway.

Table of Contents


View the full README on GitHub

Details

Repository
github.com/panossalt/mcp-gateway
Transport
SSE
Registry
MCP registry, active