wacrm/mcp-server/server.json
Arnas Donauskas 78f2f79d3b Add MCP server for the public API
Introduce mcp-server/ — a stdio Model Context Protocol server that
wraps the /api/v1 public API so MCP clients (Claude, Cursor, etc.) can
drive a self-hosted wacrm instance in natural language.

- Thin wrapper over the existing REST API; all auth, scoping, and rate
  limiting stay server-side. No new backend surface.
- Read-only by default: write and broadcast tools are only registered
  when WACRM_ENABLE_WRITES / WACRM_ENABLE_BROADCASTS are set, layered
  on top of the API key's own scopes. send_broadcast also requires an
  explicit confirm and is marked destructive.
- Registry-ready: server.json manifest, package.json mcpName linked to
  it (io.github.arnasdon/wacrm-mcp), and glama.json for discovery.
- Docs: docs/mcp.md + README bullet + mcp-server/README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 17:30:24 +03:00

52 lines
1.6 KiB
JSON

{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
"name": "io.github.arnasdon/wacrm-mcp",
"description": "Drive a self-hosted wacrm WhatsApp CRM (contacts, conversations, messages, broadcasts) from MCP clients.",
"repository": {
"url": "https://github.com/ArnasDon/wacrm",
"source": "github",
"subfolder": "mcp-server"
},
"version": "0.1.0",
"packages": [
{
"registryType": "npm",
"identifier": "wacrm-mcp",
"version": "0.1.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "WACRM_BASE_URL",
"description": "Base URL of your wacrm instance, e.g. https://crm.example.com",
"isRequired": true,
"isSecret": false,
"format": "string"
},
{
"name": "WACRM_API_KEY",
"description": "wacrm API key (Settings → API keys). Its scopes decide what is allowed.",
"isRequired": true,
"isSecret": true,
"format": "string"
},
{
"name": "WACRM_ENABLE_WRITES",
"description": "Set to true to expose contact create/update and message sending. Read-only when unset.",
"isRequired": false,
"isSecret": false,
"format": "string"
},
{
"name": "WACRM_ENABLE_BROADCASTS",
"description": "Set to true to expose the mass-broadcast tool. Requires WACRM_ENABLE_WRITES.",
"isRequired": false,
"isSecret": false,
"format": "string"
}
]
}
]
}