eln-mcp-server
ELN MCP Server
MCP-Server für das Formulardesign der ELN-Datenverwaltungsplattform.
Schnellstart
1. Abhängigkeiten installieren
cd d:\github\trae\formily\eln-mcp-server
npm install
npx playwright install chromium2. Kompilieren
npm run build3. Konfiguration im KI-Client
Fügen Sie die folgende Konfiguration zur MCP-Konfigurationsdatei Ihres KI-Clients hinzu:
{
"mcpServers": {
"eln-form-design": {
"command": "node",
"args": ["d:\\github\\trae\\formily\\eln-mcp-server\\dist\\index.js"],
"env": {
"ELN_BASE_URL": "http://10.1.228.52:13002/api/v1",
"ELN_USERNAME": "admin",
"ELN_PASSWORD": "qwert123",
"ELN_HEADLESS": "true"
}
}
}
}4. Konfigurationsdateispeicherorte der Clients
KI-Client | Konfigurationsdateipfad | Format |
TRAE |
| wie oben als JSON |
Claude Desktop |
| wie oben als JSON |
Cursor |
| wie oben als JSON |
VS Code (Copilot) |
| wie oben als JSON |
5. Erläuterung der Umgebungsvariablen
Variable | Standardwert | Beschreibung |
ELN_BASE_URL | API-Adresse des ELN-Servers | |
ELN_USERNAME | admin | Anmeldebenutzername |
ELN_PASSWORD | qwert123 | Anmeldekennwort |
ELN_HEADLESS | true | Playwright-Headless-Modus (false = Browser wird angezeigt) |
ELN_TOKEN_CACHE | (System-Tempverzeichnis) | Pfad zur Token-Cache-Datei |
6. Bereitstellung der Skill-Dateien
Die Skill-Dateien befinden sich im Verzeichnis d:\github\trae\formily\eln-skills\. Teilen Sie diesen Verzeichnispfad Ihrem KI-Client mit:
TRAE: Fügen Sie den skills-Pfad in der
.trae-Konfiguration des Projekts hinzu.Claude Desktop: Legen Sie ihn im Verzeichnis
~/.claude/skills/ab.Cursor: Verweisen Sie in der Projektdatei
AGENTS.mdauf den Pfad.
Related MCP server: wopee-mcp
Verwendungsablauf
1. 对 AI 说: "帮我登录 ELN 系统"
→ AI 调用 login 工具
2. 对 AI 说: "创建一个矿渣粉重量分析模板"
→ AI 调用 list_categories → create_template → add_component → add_formula → save_template
3. 对 AI 说: "查看系统里有哪些模板"
→ AI 调用 list_templates
4. 对 AI 说: "修改模板 258 的公式"
→ AI 调用 select_template → list_formulas → add_formula → save_templateWerkzeugliste (26)
Authentifizierung (2)
login- Automatisierte Browser-Anmeldungcheck_auth- Gültigkeit des Tokens prüfen
Vorlagenverwaltung (5)
create_template- Neue Vorlage erstellenselect_template- Vorhandene Vorlage auswählencopy_template- Vorlage kopierendelete_template- Vorlageninformationen löschensave_template- Auf dem Server speichern
Formulargestaltung (7)
add_component- Komponente hinzufügen (29 Typen)set_property- Komponenteneigenschaften ändernget_schema- Aktuelles Schema abrufenset_full_schema- Vollständiges Schema direkt festlegenremove_component- Komponente entfernenlist_components- Alle Komponenten auflistenreset_schema- Schema zurücksetzen
Datenkonfiguration (5)
add_formula- Formel hinzufügen (22 Funktionen)list_formulas- Formeln auflistenadd_output_item- Ausgabewert hinzufügenset_detection_date- Prüfdatum festlegenget_data_config- Datenkonfiguration abrufen
Tabellenaufbau (3)
set_table_template- Tabellenvorlage festlegenget_table_template- Tabellenvorlage abrufenbind_cell_data- Zellendaten binden
Abfragen (4)
list_templates- Vorlagenliste abfragenget_template_detail- Vorlagendetails abrufenlist_categories- Kategorien abfragenlist_submission_logs- Übermittlungsprotokolle abfragen
Skill-Dateien
Datei | Inhalt |
| Eigenschaften und Verwendung der 29 Komponententypen |
| Formily-JSON-Schema-Schreibkonventionen |
| 22 eingebaute Funktionen und Beispiele zur Formelerstellung |
| Leitfaden zum Aufbau von Tabellen – x-spreadsheet |
| Vollständiger Arbeitsablauf und Bearbeitung häufiger Anfragen |
Technologien
Laufzeit: Node.js 18+
Sprache: TypeScript 5.3+
MCP SDK: @modelcontextprotocol/sdk
Browser-Automatisierung: Playwright
Parametervalidierung: Zod
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for managing FormDesigner forms, fields, logic rules, themes, and entries
MCP server for Mint — AI-powered QA that runs your app in a real browser on every PR.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI-powered browser automation, web scraping, and testing using Playwright across Chromium, Firefox, and WebKit. It allows users to perform actions like navigation, clicking, typing, and taking screenshots through natural language interfaces.17 npmMIT
- AlicenseAqualityBmaintenanceMCP server for autonomous end-to-end testing with Wopee.io. Analyzes web applications, generates and executes Playwright-based functional tests, and validates results — all driven by natural language commands.15220 npm4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that automates Playwright-based UI and API testing, supporting test case generation from requirements or API specs, and execution with detailed reports.12 npm1MIT
- AlicenseBqualityDmaintenanceMCP server for end-to-end QA automation: generates test scenarios, discovers Playwright locators, creates TypeScript test code, executes tests, and creates GitHub issues for failures.627 npmMIT