superoffice-mcp-server
SuperOffice CRM Onsite – Model Context Protocol (MCP) Server
Ein produktionsreifer Model Context Protocol (MCP)-Server, der in TypeScript für SuperOffice CRM Onsite-Installationen entwickelt wurde. Er ermöglicht LLM-Assistenten (wie Claude Desktop, Antigravity IDE, Cursor und andere MCP-Clients), nahtlos Kontakte, Personen, Termine, Support-Tickets, benutzerdefinierte Zusatztabellen (y_*) und Audit-Logs über standardmäßige SuperOffice REST WebAPI-Endpunkte abzufragen.
🌟 Funktionen
⚡ Nativer MCP-
stdio-Transport: Integriert sich direkt in Desktop- und Terminal-KI-Clients.🏢 Unternehmens- & Kontaktsuche: Detaillierte Unternehmensinformationen abrufen (
get_contact_by_id).👥 Personensuche: Unscharfe und filterbasierte Suche über Namen und E-Mails (
search_persons).📅 Kalender- & Termin-Intelligenz: Datumsbereichsfilterung mit Benutzerzuordnung (
get_recent_appointments).🎫 Support-Ticket-Verwaltung: Aktuelle Tickets abrufen und vollständige Ticket-Metadaten einsehen (
get_latest_tickets,get_ticket_by_id).📊 Benutzerdefinierte Zusatztabellen-Engine: Alle benutzerdefinierten
y_*-Tabellen dynamisch entdecken und abfragen (list_extra_tables,query_extra_table).🛡️ Audit- & Log-Tabellen-Explorer: Audit-Trails wie
y_logticket,y_logactivityund Systemereignisse einsehen (list_log_tables).🔒 Onsite-bereit: Robuste Basisauthentifizierung, Timeout-Schutz und konfigurierbare Handhabung selbstsignierter Zertifikate.
🛡️ Sanfte Fehlertoleranz: Mehrstufige Fallback-Abfragestrategien (Archive Provider ➔ REST Entity API) für garantiertes absturzsicheres Verhalten.
Related MCP server: CiviCRM MCP Server
🏗️ Architektur
flowchart LR
subgraph Client["Local Workstation / MCP Client"]
Claude["Claude Desktop / Antigravity / Cursor"]
MCP["SuperOffice MCP Server\n(Node.js / TypeScript)"]
Claude <-->|stdio JSON-RPC| MCP
end
subgraph Server["SuperOffice Onsite Environment (VM)"]
IIS["IIS Web Server / REST WebAPI\n/api/v1/"]
SOApp["SuperOffice CRM Core"]
SODb[("SuperOffice Database\n(Core + y_* Extra Tables)")]
IIS --> SOApp --> SODb
end
MCP <-->|HTTP(S) Basic Auth\nREST / Archive / Entities| IIS🛠️ Verfügbare MCP-Tools
Tool-Name | Parameter | Beschreibung |
|
| Ruft den vollständigen Firmen-/Kontaktdatensatz ab (Abteilung, Org.-Nr., E-Mails, Telefone, Kategorie, Geschäft). |
|
| Sucht Personen nach vollständigem Namen, Vor-/Nachname oder E-Mail-Adresse mit mehrstufigem Fallback. |
|
| Ruft Kalendertermine im Datumsbereich ab, mit Aufgabe, Ort, Kontakt und Abschlussstatus. |
|
| Ruft detaillierte Support-Ticket-Informationen ab, einschließlich Kategorie, Status, Ersteller, Besitzer und Kontakt. |
|
| Listet die neuesten Support-Tickets absteigend nach Ticket-ID auf. |
| None | Listet alle benutzerdefinierten Zusatztabellen ( |
| None | Listet dedizierte Protokoll- und Audit-Tabellen auf ( |
|
| Fragt Datensätze dynamisch aus jeder benutzerdefinierten Zusatztabelle über den Dynamic-Archive-Provider ab. |
🚀 Schnellstart
1. Voraussetzungen
Node.js:
v18.0.0oder höherSuperOffice CRM Onsite: Installiert mit aktivierter REST WebAPI (
/api/v1/)Ein aktives SuperOffice-Benutzerkonto mit API-Berechtigungen
2. Klonen & Erstellen
# Clone the repository
git clone https://github.com/your-username/superoffice-mcp-server.git
cd superoffice-mcp-server
# Install dependencies
npm install
# Compile TypeScript to dist/
npm run build⚙️ Konfiguration
Umgebungsvariablen
Variable | Erforderlich | Beschreibung | Beispiel |
| Ja | Basis-URL der SuperOffice WebAPI (ohne abschließenden Schrägstrich) |
|
| Ja | SuperOffice-Benutzername |
|
| Ja | SuperOffice-Benutzerkennwort |
|
| Nein | Auf |
|
| Nein | HTTP-Request-Timeout in Millisekunden |
|
🔌 Client-Einrichtungsanleitungen
1. Claude Desktop
Fügen Sie diesen Eintrag zu Ihrer claude_desktop_config.json hinzu:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"superoffice": {
"command": "node",
"args": [
"C:\\path\\to\\superoffice-mcp-server\\dist\\index.js"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"SUPEROFFICE_API_URL": "https://your-crm-server/SuperOffice",
"SUPEROFFICE_USERNAME": "admin",
"SUPEROFFICE_PASSWORD": "your-password"
}
}
}
}2. Antigravity IDE / Benutzerdefinierte MCP-Konfiguration (mcp_config.json)
{
"mcpServers": {
"superoffice": {
"command": "node",
"args": [
"C:\\Users\\aliha\\.gemini\\antigravity-ide\\scratch\\superoffice-mcp-server\\dist\\index.js"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"SUPEROFFICE_API_URL": "https://osl-so-iis2.ls.local/SuperOffice",
"SUPEROFFICE_USERNAME": "admin",
"SUPEROFFICE_PASSWORD": "your-password"
}
}
}
}🧪 Testen & Verifizieren
Sie können die Konnektivität direkt im Terminal mit PowerShell oder bash testen:
# Set test environment
$env:SUPEROFFICE_API_URL="https://osl-so-iis2.ls.local/SuperOffice"
$env:SUPEROFFICE_USERNAME="admin"
$env:SUPEROFFICE_PASSWORD="your-password"
$env:NODE_TLS_REJECT_UNAUTHORIZED="0"
# Run server (logs to stderr, listens on stdin)
node dist/index.jsSie sollten Folgendes sehen:
[superoffice-mcp] Server v1.1.0 started — connected to https://osl-so-iis2.ls.local/SuperOffice📂 Projektstruktur
superoffice-mcp-server/
├── .github/
│ └── workflows/
│ └── ci.yml # Automated multi-version build testing
├── src/
│ └── index.ts # Main MCP Server implementation (8 tools)
├── .env.example # Environment variables template
├── .gitignore # Git ignore specifications
├── LICENSE # MIT License
├── package.json # Project manifest and scripts
├── tsconfig.json # TypeScript compiler configuration
└── README.md # Comprehensive documentation🛡️ Fehlerbehebung
Wenn Ihr Onsite-Server eine interne Zertifizierungsstelle (CA) oder ein selbstsigniertes Zertifikat verwendet, bricht Node.js fetch standardmäßig ab. Stellen Sie sicher, dass:
"NODE_TLS_REJECT_UNAUTHORIZED": "0"in den env-Abschnitt Ihrer MCP-Konfiguration aufgenommen wird.
Überprüfen Sie:
Das Benutzerkonto hat REST-WebAPI-Berechtigungen in SuperOffice Admin.
Die Basisauthentifizierung ist in IIS für den SuperOffice-WebAPI-Anwendungspool aktiviert.
Der Server nutzt SuperOffices umfangreiche Archive/Dynamic- und Archive/FindPerson-Provider für ausdrucksstarke Abfragen. Wenn ein bestimmter Provider in der Benutzerrolle Ihrer Installation eingeschränkt ist, greift der Server automatisch elegant auf einfache REST-Entity-Endpunkte zurück.
📜 Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert.
This server cannot be deployed
Maintenance
Related MCP Connectors
Any REST/SOAP/GraphQL/OData/SQL API as MCP tools for Claude & ChatGPT. 325 connectors: SAP, ERP.
- PlixanaOAuthcom.plixana
Operate the Plixana CRM from any AI: contacts, deals, quotes, WhatsApp and metrics.
- RevensiOAuthcom.revensi
Connect your AI assistant to Revensi OS agents, workflows, and business data.
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
Related MCP Servers
- FlicenseCqualityNot gradedmaintenanceEnables AI assistants to securely access and interact with Simplicate business data including CRM, projects, timesheets, and invoices through natural language. Supports searching across resources and retrieving detailed information about organizations, contacts, and project data.590-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and manage CiviCRM data, including contacts, activities, contributions, events, and memberships, with full custom field support.5MIT
- AlicenseAqualityBmaintenanceEnables AI agents to securely query, search, and modify Salesforce data through standard Salesforce APIs, including record CRUD, SOQL/SOSL search, Bulk API 2.0 operations, composite calls, object discovery, and custom Apex REST endpoints.15MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to securely triage SuperOffice CRM support cases by retrieving tickets, running database diagnostics, searching knowledge bases, and orchestrating cross-system incident investigations.MIT