Install
$ agentstack add mcp-deghosal-2026-mcp-fabric ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MCP Fabric
[](https://github.com/deghosal-2026/mcp-fabric/actions/workflows/ci.yml) [](LICENSE) [](https://www.python.org/) [](https://pypi.org/project/mcp-fabric-toolmesh/) [](https://www.bestpractices.dev/projects/13795) [](https://github.com/deghosal-2026/mcp-fabric/actions/workflows/scorecards.yml) [](https://github.com/astral-sh/ruff) [](https://github.com/python/mypy) [](CODEOFCONDUCT.md)
A control plane for AI agents — register MCP servers, normalize tools into capabilities, control access with policies and trust levels, require human approval for sensitive actions, and audit everything.
MCP solves one important problem: a standard interface for AI tools and data. It does not solve the next problem that appears immediately after success: tool ecosystem sprawl.
MCP Fabric is that missing layer — the dashboard where platform teams connect, organize, control, review, and monitor every tool their agents use.
The Problem
Once a team adds multiple MCP servers, several hard questions emerge:
- Which tools should be exposed to which agents?
- How should overlapping capabilities be described?
- What trust level should be assigned to each server?
- Which agents get access to which tools — and who needs to approve?
- How should a platform team audit and govern usage across the whole tool ecosystem?
What's New in v0.3.0 — Schema-Digest Security
> Full changelog: [docs/CHANGELOG.md](docs/CHANGELOG.md)
v0.3.0 brings Schema-Digest Mappings — a security layer that detects when server tool schemas drift from their capability mappings. When a re-inspected server shows a changed tool schema, affected mappings are automatically marked stale and excluded from routing until an admin reviews and approves the change.
Key features:
- Schema-digest computation — SHA-256 hash of (toolname + inputschema + output_schema) stored on each mapping at creation time
- Drift detection on re-inspect — schema changes automatically mark affected mappings as stale
- Digest-bound routing — only active mappings with matching digests are considered for routing
- OPA policy gates —
deny_stale_mappinganduntrusted_writerules in Rego policies - Admin review UI — Pending Reviews page with approve/reject workflow and audit trail
- Trust Posture integration — "Pending Reviews" button linking to the review page
Key resources:
- [Work Breakdown — Phase 14](docs/wbs/phase-14-v030.md)
Quick Start
# Install from PyPI
pip install mcp-fabric-toolmesh
# Clone and start the full stack (Docker)
git clone https://github.com/deghosal-2026/mcp-fabric.git
cd mcp-fabric
docker-compose up -d
# Or run locally without Docker:
poetry install && cd ui && npm install && cd ..
poetry run uvicorn api.main:app --reload &
cd ui && npm run dev
| Service | URL | |---|---| | API | http://localhost:8000 | | API Docs (Swagger) | http://localhost:8000/docs | | Admin UI | http://localhost:3000 | | Metrics | http://localhost:8000/v1/metrics | | Health | http://localhost:8000/health |
Documentation
| Guide | Description | |---|---| | 👤 [Admin UI User Guide](docs/user-guide.md) | Walkthrough of all UI pages with screenshots | | 📄 [Product Requirements (PRD)](docs/PRD.md) | 29 user journeys, persona definitions, product scope | | 📐 [Technical Specification](docs/spec.md) | Full architecture, DB schema, API contract, OPA policies | | 🏗️ [Architecture](docs/ARCHITECTURE.md) | System design, data flow, component interfaces | | 🧪 [UI Test Plan](docs/ui-test/PLAN.md) | UI test strategy: 145 vitest tests | | 🧪 [Docker Test Plan](docs/docker-test/PLAN.md) | E2E test strategy: Playwright + curl + 19 screenshots | | 🛠️ [Development Guide](docs/guides/development.md) | Local setup, testing, migrations, Docker Compose | | 🚀 [Deployment Guide](docs/guides/deployment.md) | Docker Compose deploy, env vars, backup/restore, blue-green upgrade | | ⚙️ [Configuration Reference](docs/guides/configuration.md) | All 25 env vars with defaults, feature flags, production checklist | | 📊 [Monitoring Guide](docs/guides/monitoring.md) | Prometheus metrics, Grafana dashboard, Alertmanager, OTel tracing | | 🔒 [Security Guide](docs/guides/security.md) | Auth model, password policy, MFA, token lifecycle, RBAC, audit | | ❓ [Troubleshooting Guide](docs/guides/troubleshooting.md) | Common issues: API, health checks, OPA, Redis, CORS, DB migrations | | 📝 [Changelog](docs/CHANGELOG.md) | Version history and release notes |
What MCP Fabric Does
MCP Fabric is a control plane for AI agents. It sits between your MCP servers and the agents that consume them, giving platform teams a single dashboard to manage the full lifecycle:
1. Register servers → 2. Define capabilities → 3. Set policies
→ 4. Create agent classes + tokens → 5. Bundle into packs
→ 6. Assign packs → 7. Approve gated actions → 8. Audit everything
| Layer | What It Provides | |---|---| | Server Registry | Register, inspect, and monitor MCP servers. Auto-discover tools from /tools/list. Filter by health, trust, team. | | Capability Catalog | Normalize raw MCP tools into meaningful capabilities (e.g. deployment:promote). Deprecate with configurable grace periods. | | OPA Policy Engine | Deploy Rego policies that govern access decisions — trust hierarchy, agent class requirements, namespace isolation. | | Agent Classes + Tokens | Define agent types (agent:developer) and issue identity tokens (fcp_****). Token shown once at creation. | | Capability Packs | Bundle capabilities and assign them to agent classes. Control which capabilities each class can access. | | Approvals | Human-in-the-loop for sensitive capabilities. Review requests with full context (agent, capability, server, parameters). | | Audit Log | Immutable record of every action — capability requests, policy changes, server events. Export for compliance (SOC2, SOX). | | Alerts | Surface operational issues: server degradation, unreachable servers, unreviewed servers, denial spikes. | | Trust Posture | Per-agent-class trust levels with color-coded cards. Optimistic UI updates with automatic rollback on error. | | Admin User Management | RBAC with Admin/Editor/Viewer roles. MFA enforcement. |
Architecture
Agent → MCP Fabric API → Registry → OPA Policy → Approval Gate → Target MCP Server
↓
Audit Pipeline
↓
┌──────────────┐
│ Admin UI │
│ (Dashboard, │
│ Config, │
│ Monitor) │
└──────────────┘
The Admin UI is the control plane. Platform teams use it to register servers, define capabilities, set policies, manage agent classes, bundle packs, review approvals, monitor alerts, and audit activity — all from a single dashboard.
Stack
- API: FastAPI
- Metadata store: PostgreSQL
- Cache: Redis
- Policy engine: OPA (Open Policy Agent) Rego policies
- Telemetry: OpenTelemetry, Tempo, Prometheus, Grafana
- UI: React
- Local dev: Docker Compose
Everything runs locally. No enterprise dependencies required.
Roadmap
v0.3.0 — Current:
- Schema-digest mappings: detect tool drift, mark stale, block routing until re-approved
- OPA deny rules:
deny_stale_mapping,untrusted_write,raw_contextfor audit - Admin review UI: approve/reject stale mappings with audit trail
- 326 automated tests (backend, UI, OPA, E2E) + 31 OPA policy tests
v0.4.0 — Planned:
- Multi-tenant scopes and namespace isolation
- Analytics and usage heatmaps
- Webhook integrations for external tooling
- Performance benchmarks and caching improvements
GA (v1.0.0) — Planned:
- Stabilization, security audit, production hardening, and enterprise features
Test Status
| Suite | Tests | Status | |---|---|---|---|---| | Backend unit (services, middleware, errors, models) | 326 | ✅ Passing | | OPA policy (Rego) | 31 | ✅ Passing | | UI unit/integration (Vitest) | 128 | ✅ Passing | | UI E2E + screenshots (Playwright) | 75 | ✅ Passing | | Docker Compose E2E (curl) | 6 | ✅ Scripts ready | | Total | 566 | |
make test # Backend unit tests
make test-unit # Unit tests only
cd ui && npm test # UI tests
make opa-test # OPA policy tests
Who It's For
- Platform teams managing multiple MCP servers
- Advanced agent builders who need governed tool access
- Developer experience teams building internal AI tooling platforms
- OSS builders creating reusable MCP ecosystems
License
MIT
See [ROADMAP](ROADMAP.md), [GOVERNANCE](GOVERNANCE.md), and [CONTRIBUTING](CONTRIBUTING.md) for project direction, governance, and how to contribute.
Resources
- Issues: github.com/deghosal-2026/mcp-fabric/issues — bug reports and feature requests
- Security: [SECURITY.md](SECURITY.md) — report vulnerabilities privately
- Contributing: [CONTRIBUTING.md](CONTRIBUTING.md) — coding standards and PR process
- Changelog: [CHANGELOG.md](CHANGELOG.md) — release history
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: deghosal-2026
- Source: deghosal-2026/mcp-fabric
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.