serve7-mcp-connectors
Serve7 MCP Connector Library
Wiederverwendbare MCP-Tools für Amazon Connect AI Agents und Bedrock AgentCore. Sieben generische Connectors – Kundensuche, Support-Ticket erstellen, Ticketstatus prüfen, Termin vereinbaren, CRM-Datensatz aktualisieren, Wissen abrufen und Aufgabe erstellen – werden hier einmal gebaut und dann bei jedem Serve7-Kundenprojekt wiederverwendet, statt für jedes Projekt von Grund auf neu verdrahtet zu werden.
Das ist Projekt #6 aus der Praktikumsideenliste für den Herbst 2026 („Serve7 MCP Connector Library“). Es ist eine funktionierende erste Version: Jeder Connector läuft heute Ende-zu-Ende gegen ein In-Memory-Mock-Backend (kein AWS-Konto, kein Live-CRM, keine Anmeldedaten erforderlich, um es auszuprobieren), mit einer sauberen Nahtstelle für den späteren Austausch gegen ein echtes Backend.
Warum ein Adapter und nicht eine direkte Integration
Die Geschäftslogik jedes Connectors (Schema-Validierung, was als Fehler gilt, welche Felder ein- und ausgehen) liegt in src/connectors/*.ts und spricht nie direkt mit einem konkreten Backend-SDK. Stattdessen ruft sie eine der fünf kleinen Schnittstellen in src/adapters/types.ts auf – CrmAdapter, TicketingAdapter, SchedulingAdapter, KnowledgeAdapter, TaskAdapter. Heute sind diese alle in-memory implementiert (src/adapters/mock.ts). Morgen, wenn ein echtes Salesforce/ServiceNow/Connect-Cases/Bedrock-Knowledge-Base-Backend angebunden wird, bedeutet das, eine neue Adapterklasse zu schreiben und eine switch-Anweisung umzustellen (src/adapters/index.ts) – keine Änderungen am Connector-Code, an seinen Tests oder an den MCP-Tooldefinitionen, die ein Agent sieht. Siehe docs/adding-a-real-adapter.md.
MCP client (Claude Desktop, Bedrock AgentCore, ...)
│ tool call: customer_lookup({ customerId: "cust-1001" })
▼
src/server.ts (stdio) or src/http-server.ts (deployed)
│ registers every connector as an MCP tool
▼
src/connectors/customer-lookup.ts
│ validates input (zod), calls adapters.crm.lookupCustomer(...)
▼
src/adapters/index.ts → mock.ts today, a real adapter laterRelated MCP server: CRM Agent Tools
Projektaufbau
src/
connectors/ one file per MCP tool — schema + business logic only
adapters/ the CRM/ticketing/scheduling/knowledge/task interfaces,
plus the in-memory mock implementations
mock-data/ seed data the mock adapters serve
mcp-server-factory.ts registers every connector on an McpServer instance
server.ts stdio entrypoint (local dev, Claude Desktop, Claude Code)
http-server.ts Streamable-HTTP entrypoint (deployed, e.g. behind Lambda)
tests/ one test file per connector + a registry sanity test
deploy/ Dockerfile + AWS SAM template for a Lambda deployment
docs/ per-connector reference + how to add a real adapterLokales Ausführen
npm install
npm test # 29 tests, all against the mock adapters
npm run typecheck # strict TypeScript, zero `any` in connector code
npm start # stdio MCP server — Ctrl+C to stop
npm run start:http # HTTP MCP server on :8080 (curl http://localhost:8080/health)
npm run smoke # real MCP client over stdio, calls all 7 tools end to end
npm run smoke:http # same, over HTTP — start:http must be running firstEinbinden in Claude Desktop / Claude Code
Richten Sie einen MCP-Client auf den Stdio-Server aus, z. B. in der claude_desktop_config.json von Claude Desktop:
{
"mcpServers": {
"serve7-connectors": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/serve7-mcp-connectors/src/server.ts"]
}
}
}Dann fragen Sie ihn z. B. „Schlage den Kunden cust-1001 nach“ oder „Was haben wir für Wissensartikel zu Ankündigungen von Notfallschließungen?“ – er ruft dabei customer_lookup bzw. retrieve_knowledge gegen die Mock-Daten auf.
Für den Echtbetrieb bereitstellen (z. B. von Bedrock AgentCore aus)
Siehe deploy/README.md – baut eine Lambda als Container-Image mit einer IAM-geschützten Function-URL über sam deploy.
Einen 8. Connector hinzufügen
Erstellen Sie
src/connectors/my-new-tool.tsmitdefineConnector()– übernehmen Sie die Struktur eines vorhandenen Connectors, z. B.create-task.ts.Fügen Sie ihn zum
CONNECTORS-Array insrc/connectors/index.tshinzu.Fügen Sie eine Testdatei in
tests/hinzu.Dokumentieren Sie ihn in
docs/connectors.md.
server.ts, http-server.ts und der Registry-Test nehmen ihn automatisch auf – sonst muss nichts weiter angefasst werden.
Was bewusst in dieser ersten Version nicht im Umfang liegt
Gemäß der ursprünglichen Projektbeschreibung sollte jeder Connector später auch einen Authentifizierungsansatz (umgesetzt, auf Adapter-Ebene), eine Deployment-Vorlage (umgesetzt, deploy/) und eine Dokumentation (umgesetzt, docs/) abdecken – alles ist ausgeliefert. Noch nicht gebaut und eine zügige Folgearbeit wert: ein echter Adapter für mindestens ein Backend (damit das Ganze nicht mehr nur aus Mocks besteht) sowie das Anbinden eines echten Agenten von Bedrock AgentCore, der den Connector über den bereitgestellten HTTP-Endpunkt Ende-zu-Ende aufruft.
Available Tools
7 toolscreate_support_ticketCreate Support TicketA
File a new support ticket for a customer when their issue can't be resolved in the current interaction. Use retrieve_status afterward to check progress on a ticket already created.
Inputs: subject (required), customerId (required), description (required), priority.
create_taskCreate TaskA
Create a follow-up task for a human teammate — e.g. 'call customer back with a refund confirmation' — when something needs manual handling after the AI-driven part of the interaction ends.
Inputs: title (required), assignee (required), description (required), dueDate.
customer_lookupCustomer LookupA
Look up a customer record by customer ID, email, or phone number. Returns account status and tier so an agent (human or AI) can personalize the interaction. Call this first in nearly every flow.
Inputs: email, phone, customerId.
retrieve_knowledgeRetrieve KnowledgeA
Search the knowledge base for articles relevant to a customer's question. Returns the top matches with a relevance score and source URL so responses can be grounded and cited.
Inputs: query (required), topK.
retrieve_statusRetrieve Ticket StatusA
Check the current status of a previously created support ticket by its ticket ID. Use this before telling a customer their issue is still 'in progress' vs resolved.
Inputs: ticketId (required).
schedule_appointmentSchedule AppointmentB
Book an appointment (call-back, in-branch visit, technician visit, etc.) for an existing customer.
Inputs: startTime (required), customerId (required), serviceType (required), durationMinutes.
update_crm_recordUpdate CRM RecordA
Patch fields on an existing customer's CRM record (e.g. after verifying a new phone number or email during a call). Only include the fields you want changed.
Inputs: customerId (required), tier, email, phone, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a clearly distinct resource and action: customer lookup, ticket creation/status, appointment scheduling, CRM patching, knowledge search, and task creation. There is no meaningful overlap or ambiguity between tool purposes.
Most tools follow the verb_noun pattern (create_support_ticket, retrieve_status, schedule_appointment, update_crm_record, retrieve_knowledge, create_task). The exception is customer_lookup, which reverses the order to noun_verb, creating a minor consistency deviation.
Seven tools is a well-scoped size for a customer support/CRM connector. Each tool covers a distinct workflow step, and none feel redundant or unnecessary.
The surface covers customer lookup, ticket creation and status, knowledge retrieval, and follow-up tasks, but ticket lifecycle is incomplete (no update or close) and appointment management lacks cancellation/rescheduling. These are notable gaps for a full customer support workflow.
Related MCP Connectors
Your team's custom tools and skills in every agent, through one MCP connection.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseAqualityFmaintenanceProvides 14 MCP tools for AI agent infrastructure, enabling knowledge base queries, skill search, handoffs, blueprint validation, trust scoring, identity verification, SLA validation, and compliance checks.22MIT
- FlicenseNot gradedqualityDmaintenanceProvides Claude agents with CRM contact lookup, action logging, and prompt cost auditing tools. Includes a Streamlit UI to demo the same tools without an MCP client.-
- AlicenseNot gradedqualityDmaintenanceEnables an AI to perform customer support workflows by looking up customers, retrieving orders, and creating support tickets through MCP tools.ISC
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools for hybrid knowledge base search, grounded Q&A with citations, agent execution, and ticket/account lookups.-