Enterprise MCP Gateway and Tool Registry
Click on "Deploy 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., "@Enterprise MCP Gateway and Tool Registrylist available tools"
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.
Enterprise MCP Gateway and AI Tool Registry
Secure tool-discovery and execution gateway for AI-agent integrations. The project combines a runnable FastAPI gateway with an optional standards-based MCP server entrypoint built with the official Python MCP SDK.
Highlights
JWT authentication with demo admin, developer, and viewer roles
RBAC enforcement for tool execution and administrative operations
Persistent tool registry and audit logs with SQLAlchemy
Built-in calculator, summarizer, keyword extractor, and gateway-health tools
Allowlisted HTTP tool registration for controlled external API integration
Redis-backed rate limiting with an in-memory fallback
Optional OpenTelemetry export to Jaeger
Prometheus-style gateway metrics at
/metricsREST endpoints for browser testing and an optional FastMCP Streamable HTTP server
Automated tests and GitHub Actions CI
Related MCP server: mcp-tool-gateway
Architecture
AI Client / Developer
|
v
FastAPI Gateway -----> JWT Auth + RBAC
|
+-----> Tool Registry -----> Built-in Tools
| `----> Allowlisted HTTP Tools
|
+-----> Rate Limiter ------> Redis or in-memory fallback
|
+-----> Audit Store -------> SQLite quick start / PostgreSQL Docker mode
|
`-----> OpenTelemetry -----> Jaeger (optional)Quick Start
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt
cp .env.example .env
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000Open http://localhost:8000/docs.
Demo Accounts
Username | Password | Role |
|
| admin |
|
| developer |
|
| viewer |
These are intentionally demo-only credentials. Replace the identity layer before deployment.
Run Tests
python -m pytest -qOptional Standards-Based MCP Server
python -m pip install -r requirements-mcp.txt
python mcp_server.pyConnect an MCP client or MCP Inspector to http://localhost:8000/mcp.
Docker Compose
docker compose up --buildAPI docs:
http://localhost:8000/docsJaeger UI:
http://localhost:16686
Documentation
See docs/ for setup, architecture, API reference, MCP notes, and security considerations.
Security Note
The REST gateway demonstrates authentication, authorization, rate limiting, auditing, and allowlisted outbound calls. The optional local MCP server is a separate SDK demonstration. A remote MCP deployment should use OAuth 2.1 resource-server protection and production identity infrastructure.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.66MIT
- AlicenseNot gradedqualityDmaintenanceA secure tool-execution plane for agentic AI that enforces JWT authentication, rate limiting, prompt-injection inspection, and audit logging, while ingesting downstream OpenAPI endpoints as MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to securely discover, invoke, and manage tools through a hardened MCP endpoint with protections like injection detection, circuit breakers, retry backoff, response caching, context-window limiting, and state snapshots.9 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides a unified MCP gateway enabling AI agents to securely access multiple tool servers (knowledge base, database, repo, etc.) with dynamic tool selection and OAuth2/RBAC security.1MIT