crm-mcp

crm-mcp

Bridges Claude Code to the Rowan Rose CRM, translating MCP tool calls into REST API requests for contacts, cases, documents, and more.

Category
Visit Server

README

crm-mcp

MCP (Model Context Protocol) server that bridges Claude Code to the Rowan Rose CRM. Acts as a thin translator between Claude's MCP tool calls and the existing /api/crm/* REST endpoints on the CRM backend.

Architecture

Claude Code  ──HTTPS+Bearer──▶  mcp.rowanroseclaims.co.uk  ──HTTPS+x-api-key──▶  crm.rowanroseclaims.co.uk/api/crm/*
                                (this server, EC2)                              (existing CRM, EC2)

Three independent auth boundaries; this server holds no DB or S3 credentials.

Tools (Phase 1, read-only)

Tool Purpose
crm_lookup_contact Look up a contact by reference, email, or name
crm_get_contact Full contact + all their cases
crm_get_case Full case state (lender, status, dates, extended fields)
crm_list_documents List S3 documents for a contact (filter by case/lender/category)
crm_read_document Extract text from a PDF/DOCX
crm_search Cross-search contacts and cases
crm_get_timeline Communication/action timeline for a contact
crm_list_lenders Known lender directory (canonical names + aliases)

Local development

cp .env.example .env
# fill in CRM_API_KEY (from CRM .env) and MCP_API_KEY (generate)
npm install
npm run build
npm start            # HTTP transport on :5050
npm run start:stdio  # stdio transport (for direct Claude Code stdio use)

Health check:

curl http://127.0.0.1:5050/healthz

Production deploy

Runs under PM2 on a dedicated EC2 (separate from the CRM box).

git pull
npm ci
npm run build
pm2 reload ecosystem.config.cjs
pm2 save

Nginx terminates TLS for mcp.rowanroseclaims.co.uk and proxies to 127.0.0.1:5050.

Registering with Claude Code

claude mcp add --transport http crm \
  https://mcp.rowanroseclaims.co.uk/mcp \
  --header "Authorization: Bearer <MCP_API_KEY>" \
  --scope user

Env vars

See .env.example. Never commit .env.

Audit log

Every tool call writes a structured log line via pino. Logs land in /home/ubuntu/crm-mcp/logs/. Phase 3 will move these to a Postgres mcp_audit_log table.

License

Internal — Rowan Rose / Fast Action Claims.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured