Espone API JSON e MCP HTTP per far lavorare gli agenti sul CRM.

Gli agenti autenticati con token Bearer possono leggere today/pipeline e annotare attività, con host MCP allineati a quelli di produzione.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-02 22:43:46 +02:00
co-authored by Cursor
parent 1f946f63ba
commit 936930e691
44 changed files with 1693 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"mcpServers": {
"eminuxcrm": {
"url": "http://localhost:3001/mcp",
"headers": {
"Authorization": "Bearer ${env:CRM_API_TOKEN}"
}
}
}
}
+10
View File
@@ -0,0 +1,10 @@
---
description: Come gli agenti usano eminuxCRM (MCP) per task, pipeline e follow-up
alwaysApply: true
---
Quando l'utente chiede di interagire con il CRM, usa i tool MCP **eminuxcrm** (non curl). Serve il CRM su localhost:3001 e `CRM_API_TOKEN`.
Flusso: `list_projects` → `today` → `search` / `get_organization` → `create_activity` / `complete_task` / `create_task` / `update_opportunity_stage`.
Non inviare mailing, non cancellare record, non gestire utenti. Annota in timeline quello che fai.