Connects directly to the Little Green Light CRM API for nonprofit donor management without middleware like Zapier. Exposes tools to search constituents, record gifts with date filters, manage contact details (addresses, phones, emails), log notes and activities, and organize groups. Includes a one-shot get_donor_context tool that pulls profile, recent gifts, memberships, and notes in a single call. Supports read-only mode via environment variable to block all mutations and hide write operations from the tool list. Ships with both stdio and SSE transports, the latter useful for GitHub Copilot or containerized deployments. All mutation tools publish MCP destructive and idempotent annotations so clients can warn before changes hit your live database.
A direct, secure, and high-fidelity Model Context Protocol (MCP) Server for the Little Green Light CRM database. This server allows AI coding assistants and chat applications (like Claude Desktop, LibreChat, or Open WebUI) to securely interact with your donor database to search constituents, log gifts, categorize taxonomic groups, and generate reports locally without any third-party middleware (like Zapier).
get_donor_context returns profile + recent gifts + group memberships + recent notes in a single call (resolves by name or ID).LGL_READ_ONLY=true refuses every mutation and hides write tools from tools/list. All tools publish MCP destructive/idempotent annotations.Clone this repository to your local machine, open a terminal in the folder, and run:
npm install
Copy the .env.example template to create your local .env configuration file:
cp .env.example .env
Open .env in a text editor and replace the placeholder with your actual LGL API key and configuration:
LGL_API_KEY=your_lgl_api_key_here
PORT=3000
# Optional: Secure your Streamable HTTP endpoint with Bearer Token Authentication
LGL_MCP_TOKEN=your_secure_bearer_token_here
Set LGL_READ_ONLY=true to refuse every create_*, update_*, delete_*, record_*, and add_* tool call. Mutation tools are also hidden from tools/list so the AI assistant doesn't try to call them. Recommended whenever you point the server at a live donor database from an exploratory chat session.
LGL_READ_ONLY=true
All tools also publish MCP annotations (readOnlyHint, destructiveHint, idempotentHint) so clients can warn before destructive calls without depending on the server-side guard.
This server supports two communication transport standards:
To launch the server in Streamable HTTP mode, use the --http (or --sse) flag:
node index.js --http --port 3000
--port <number> or the PORT environment variable (defaults to 3000).LGL_MCP_TOKEN in your .env file, Bearer Token Authentication is strictly enforced. All client requests must include the header Authorization: Bearer <your_token>, or they will be rejected with 401 Unauthorized.This server can be integrated into any AI client, editor, or chat interface that supports the Model Context Protocol (MCP).
To utilize this server in the official Claude Desktop application, add the configuration to your claude_desktop_config.json file.
File Location:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.jsonConfiguration:
{
"mcpServers": {
"lgl-crm": {
"command": "node",
"args": ["C:\\path\\to\\your\\workspace\\folder\\index.js"],
"env": {
"LGL_API_KEY": "your_lgl_api_key_here"
}
}
}
}
Cursor supports custom MCP servers directly in its graphical user interface. You can connect using either Stdio (command) or Streamable HTTP (SSE):
Option A: Local Stdio (Command)
lgl-crmcommandnode C:\path\to\your\workspace\folder\index.jsLGL_API_KEY is set in your operating system environment variables or shell configuration so Cursor can inherit it.Option B: Streamable HTTP (SSE Mode)
node index.js --http --port 3000lgl-crm-ssessehttp://localhost:3000/mcpLGL_MCP_TOKEN is enabled, ensure your editor includes the Bearer authorization header or connection config.Windsurf supports native MCP configurations via its global config file.
File Location:
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.jsonConfiguration:
{
"mcpServers": {
"lgl-crm": {
"command": "node",
"args": ["C:\\path\\to\\your\\workspace\\folder\\index.js"],
"env": {
"LGL_API_KEY": "your_lgl_api_key_here"
}
}
}
}
LibreChat allows you to integrate MCP servers directly through its centralized config file librechat.yaml.
Configuration in librechat.yaml:
mcpServers:
lgl-crm:
type: "stdio"
command: "node"
args: ["C:\\path\\to\\your\\workspace\\folder\\index.js"]
env:
LGL_API_KEY: "your_lgl_api_key_here"
To add this to Open WebUI (commonly used with local Ollama instances):
lgl-crm.node C:\path\to\your\workspace\folder\index.jsLGL_API_KEY is loaded on your host machine or docker run statement running the Open WebUI instance).Unlike other MCP integrations that route sensitive donor information through third-party services (like Zapier or Make), this server operates on a direct local pipeline:
index.js file before deployment.This project is open-source and free to adapt for non-profit organizations under the MIT License.
LGL_API_KEY*secretYour Little Green Light API key (Settings → Integration → API Keys)
explorium-ai/vibeprospecting-mcp
io.github.compuute/lead-enrichment
dev.workers.selbyventurecap.cf-worker/apollo-salesforce-mapper
io.github.br0ski777/company-enrichment
com.mcparmory/apollo
mambalabsdev/mcp-gtm-tech-stack-signal-scraper