ToolBridge
БесплатноНе проверенA governed MCP server for integrating AI agents with customer data, featuring role-based access control, field redaction, and human-in-the-loop approval for sec
Описание
A governed MCP server for integrating AI agents with customer data, featuring role-based access control, field redaction, and human-in-the-loop approval for secure support operations.
README
A governed MCP integration connecting an AI agent to a mock CRM, support ticket store, and knowledge base, with role-based access control and field redaction enforced outside the model. Built to demonstrate production-safe agent wiring: the model cannot widen its own access, sensitive fields are stripped before the agent ever sees them, and every reply draft goes through a human-review checkpoint before it can be sent.
What it demonstrates
- Governed MCP server built with the official Python
mcpSDK (FastMCP), exposing five tools across three data sources. - Role-based access control: the
support_agentrole cannot call the deal-pipeline tool at all;adminhas full access. The role is fixed from the environment at startup, not negotiable by the model. - Field redaction outside the model: billing fields (
payment_method,billing_email,contract_value_usd) are stripped from customer records forsupport_agentbefore the data reaches the agent. The model sees a clean, role-scoped view. - Grounded KB lookup:
search_kbsurfaces documented answers for the agent to cite, reducing hallucination. - Human-in-the-loop draft step:
draft_replyreturns a review-pending object and explicitly does not send anything automatically.
Quick start
pip install -r requirements.txt
python3 demo.py
No API key required. The demo simulates a full support workflow and prints a narrated transcript showing governance at each step.
To see the admin path (unredacted data, deal pipeline access):
TOOLBRIDGE_ROLE=admin python3 demo.py
To run the governance test suite (12 tests, no pytest needed):
python3 -m tests.test_governance
Optional: if you have an Anthropic API key, you can run a real Claude tool-loop:
ANTHROPIC_API_KEY=sk-... USE_CLAUDE=1 python3 demo.py
File layout
toolbridge/
policy.py Role definitions and governance primitives (access check, redact)
store.py In-memory mock data: CRM, tickets, knowledge base
server.py MCP server -- five tools, all gated through policy
demo.py Runnable demo: narrated transcript, zero API key needed
tests/
test_governance.py 12 assertions covering redaction and access control
requirements.txt
Extending this
The governance layer (policy.py) and the data layer (store.py) are decoupled from the tool definitions. To connect real systems, replace the in-memory dicts in store.py with API clients (HubSpot, Zendesk, Confluence) while keeping policy.py and server.py unchanged. Add new roles by editing the ROLES dict in policy.py.
Установка ToolBridge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/AlexlaGuardia/toolbridge-demoFAQ
ToolBridge MCP бесплатный?
Да, ToolBridge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для ToolBridge?
Нет, ToolBridge работает без API-ключей и переменных окружения.
ToolBridge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить ToolBridge в Claude Desktop, Claude Code или Cursor?
Открой ToolBridge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare ToolBridge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
