little-green-light-mcp
The supplied schema exposes read-only LGL CRM lookup tools; the README also documents bounded, approval-gated name and street-address update tools that are not listed in this schema.
Search constituents by name or exact email, with paging and compact/verbose output.
Fetch one constituent's full profile by ID, including computed lifetime giving totals.
View one constituent's gift history.
Search gifts across all constituents by date range, with paging.
List cached reference data: funds, appeals, gift categories, and gift types.
Per README only: preview/apply approved constituent name changes with one-use tokens, stale checks, and verification.
Per README only: list addresses and preview/apply approved address additions, edits, or mark-inactive changes with validation and verification.
No constituent creation, deletes, gift/email/phone/group/note/relationship writes, or native steward assignment writes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@little-green-light-mcp show me our top donors this year"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
little-green-light-mcp
A MCP server for the Little Green Light donor CRM. Any stdio MCP client can look up constituents, list gifts in a date range, fetch one person's giving history, and preview and apply approved constituent name and street-address edits.
The server name is lgl-mcp. How you register it depends on the host — see Setup.
Bounded name updates
The eight lookup tools remain read-only: lgl.js exposes only a GET request function.
Two separate modules hold the only write transports. name-updates.js sends a
single name-only PATCH to an existing constituent. address-updates.js (below)
adds one street address or edits one existing one. There are no delete, gift,
email, phone, group, note, or relationship write tools, and no way to create a
constituent. Both writers share one per-constituent lock, so a name update and an
address update never overlap on the same record.
Call
preview_constituent_name_updatewith an exact constituent ID and explicit name fields. Resolve the constituent identity before preparing the preview.Show the returned before/after changes to the user and obtain their approval of those exact changes. Creating a preview is not approval to apply it.
Call
apply_constituent_name_updatewith that preview'sconfirmation_tokenandconfirmed: trueonly after approval. The token is one-use and belongs to that server session; restarting clears outstanding previews.
The apply tool re-reads the complete constituent and refuses the update if any
returned data changed after preview. It sends only the changed name fields, then
re-reads and compares all name fields and other returned profile data. Only
updated_at and the derived sort_name are allowed to change additionally.
Already-correct names return unchanged and require no write.
LGL has been observed copying a new addressee into alt_addressee when the two
matched before the update. This was seen once, on an organization; in the same
update annual_report_name, which also matched, did not change. It has not been
observed on an individual. The prediction applies only when both fields are
saved as exactly equal strings.
The PATCH still sends only the requested fields. When alt_addressee is saved as
exactly the old addressee, the preview lists the copy under expected_side_effects so it is
approved with the change. Verification accepts alt_addressee only at exactly
the predicted value. If it stays unchanged, the update still verifies and the
result lists it under side_effects_not_observed. Any other change to
alt_addressee, or to any other field, fails verification.
Permitted fields: prefix, first_name, middle_name, last_name, suffix,
spouse_name, org_name, and addressee (the label/display name). For an individual,
org_name describes their employer and is refused. For an organization, only
org_name and addressee may be edited; contact-person names are refused. A linked
spouse's name must be edited on that person's own constituent. Spouse-field edits
are refused when relationships are missing or contain a spouse/partner link.
Blank strings explicitly clear an optional field; leaving a prospect with no name
is refused. A field omitted from the API response cannot be previewed or changed.
Adding a spouse to an addressee does not create or link another record.
Writes are never retried automatically, including timeouts, rate limits, and server errors. A verification failure reports whether the saved names differed, unrelated returned fields changed, or the saved record could not be read. Inspect LGL before preparing another preview; the tool does not retry or roll back a failed verification. Previews and locks are local to one server process. The API has no documented conditional-update mechanism here, so another client could still edit between the final read and PATCH. Verification detects returned differences; it cannot make that interval atomic or verify data the API does not return.
Native steward assignments: unavailable
On 2026-10-26, all 33 resource schemas in LGL's published API index were checked. They expose constituent name updates, but no native steward, solicitor, or relationship-manager assignment field or endpoint. This server therefore cannot write native steward assignments. It does not substitute groups, custom fields, or constituent relationships for the native Stewards feature.
LGL's developer guidance explains that not all fields are available through the API and directs requests for additional fields to LGL support. A documented steward read/write endpoint and its staff-ID mapping are needed to implement the remaining requested feature.
Validation scope
Name updates are tested offline with simulated API responses, including a complete
stdio MCP preview/apply/verify exchange. No live donor update was used for testing.
The published constituent UpdateBody marks first/last names and email arrays as
required. The connector deliberately sends only the requested changed name fields;
if LGL rejects that narrow PATCH, it reports the error without resending contact
data or broadening the payload. Live acceptance of this narrow payload remains
unverified and needs an explicitly approved edit to an identified constituent.
Related MCP server: SQL Server MCP
Bounded street-address updates
address-updates.js is the second isolated write transport. It follows the same
pattern as name updates: a read-only preview, a one-use confirmation token, a stale
check on apply, exactly one write with no retries, then a re-read that verifies the
result.
Both writers wait for room under the rate limit before the stale check, and a
write must start within 10 seconds of the moment that check began, so slow
stale-check reads count against the limit too. If the write cannot start in
time, nothing is sent and a fresh preview is needed. The writes are not
conditional, so a change made by staff in those few seconds is not
detected. A new address with no address_type uses the id LGL lists for Home.
list_constituent_addresses(id)shows every street address with its id, street, city, state, postal code, country, type,is_preferredandnot_current.preview_constituent_address_update(id, action, ...)writes nothing. Actions:addwithaddress: {street, city, state, postal_code, address_type?}and an optionalmake_preferred: true.updatewithaddress_idand only the fields to change, and/ormake_preferred: true.mark_inactivewithaddress_id, which sets LGL'snot_currentflag.
It re-reads the constituent and its address list and returns the current addresses, the exact addresses after the change, the exact request body, and a token tied to a fingerprint of the profile plus every address.
apply_constituent_address_update(confirmation_token, confirmed: true)re-reads and refuses if anything changed, sends onePOSTorPATCH, then re-reads and checks the target address, every other address and every profile field. Mismatches come back asverification_failedwith aproblemslist and the tool result flagged as an error. Nothing is retried or rolled back automatically.
Endpoints, confirmed in LGL's API docs (api-docs/static.html, "Street Address
Management") and a read-only GET of a live record on 2026-11-19:
Purpose | Endpoint |
List |
|
Create one |
|
Update one |
|
Address types |
|
Fields sent: street, city, state, postal_code, street_address_type_id,
is_preferred, not_current. Every PATCH re-sends the address's current street,
city, state, ZIP and type alongside the change, so none of them is left to LGL's
defaults. County, country and seasonal fields are never sent. A new address is
verified to have come back with no country, county or seasonal setting.
DELETE /street_addresses/{id} exists in LGL but is deliberately not implemented.
Rules built in because of LGL behavior seen in the October 2026 cleanup (AGENTS.md):
Every write sends
is_preferredandnot_currentexplicitly. A PATCH that omits them silently reactivates an inactive address and makes it preferred.The preferred flag is never cleared on an address that has siblings, because LGL then promotes another address of its own choosing. To retire a preferred address, first add or update the replacement with
make_preferred: true(the preview shows the old one losing the flag), thenmark_inactivethe old one.A new address is made preferred by default when the constituent has no current preferred address; pass
make_preferred: falseto override.Input is validated: two-letter US state or territory codes, ZIP or ZIP+4, a non-empty street, and no city, state or ZIP packed onto the end of
street(checked against the saved city when an update changes only the street).A PATCH re-sends the address's street, city, state and ZIP, so an existing address must already be split into those fields. A preview for an address with a single-line street, or an empty city, state or ZIP, is refused until an
updatesupplies them. This applies tomark_inactivetoo: split the address first, then mark it inactive.Verification requires every field it checks to be present in LGL's response; a missing field is reported, not assumed empty. Empty string and null count as the same empty value. Only US addresses can be edited, and a new address cannot duplicate an active one.
Address updates are tested offline with a simulated LGL and a stdio MCP exchange. No live address write was made during development. LGL's real acceptance of these payloads, and whether it clears the old preferred flag when a new address is made preferred, get confirmed by the first approved edit. Verification reports it if not.
Setup
Get an API key from LGL: Settings → Integration Settings → LGL API.
Put it in
~/.config/lgl-mcp/env(already created, chmod 600):LGL_API_KEY=your-key-hereAlternatively, add a macOS Keychain item named
lgl-api-key, or set theLGL_API_KEYenvironment variable for a one-off run. The key is never logged, committed, or echoed in error messages.Install dependencies (already done on first checkout):
npm installPoint a stdio MCP host at this server. The command is
node; the argument is the absolute path toindex.js:{ "command": "node", "args": ["/absolute/path/to/little-green-light-mcp/index.js"] }Wrap that in whatever config shape your host uses (
mcpServers, a top-level server map, and so on). No extra env vars are required if the key is in~/.config/lgl-mcp/envor Keychain. SetLGL_API_KEYin the host's env block only for a one-off override.
Tools
Tool | What it does |
| Search by name or exact email address. Compact rows are identity only — no giving totals. |
| Full profile for one constituent by id, including giving totals computed from the full gift history (0 if none). |
| Giving history for one constituent. |
| Read-only preview of exact name changes; returns a one-use token. |
| Apply an explicitly approved preview and verify the saved record. |
| Read-only list of one constituent's street addresses with ids and flags. |
| Read-only preview of an add, update or mark-inactive; returns a one-use token. |
| Apply an explicitly approved address preview and verify every address and profile field. |
| Search gifts by date range, across all constituents. |
| All configured funds (cached). |
| All configured appeals (cached). |
| All configured gift categories (cached). |
| All configured gift types (cached). |
Every lookup tool accepts verbose: true to get the full LGL object instead of the trimmed summary.
Compact constituents include name, email, phone, and city/state. Giving dates and lifetime
total are only on get_constituent. Compact gifts include date, amount, fund_id, note, and
donor name (when expanded). List responses that are capped include a note field saying how
many results were omitted — nothing is silently truncated.
Confirmed query syntax
LGL's /constituents/search and /gifts/search take q[]=field=value pairs, not free text —
this was undocumented for several fields and confirmed by probing a live account:
Constituents:
name=<text>(LGL's own documented example) oreaddr=<email>for an exact email match (undocumented; guesses likeemail=/email_address=were rejected).Gifts:
date_from=YYYY-MM-DD/date_to=YYYY-MM-DD(confirmed real filters — an out-of-range date zeroestotal_items). Multipleq[]entries AND together.Gifts have no fund or amount filter on this endpoint —
fund_id,fund,fund_ids,campaign_id,amount_from,amount_towere all tried and rejected as unknown parameters.search_giftsdoesn't expose these; filter results client-side onfund_id/noteif needed.A gift's donor name only appears when the request includes
expand=first_name,last_name,org_name— LGL doesn't nest a constituent object in the gift response otherwise.get_constituent's giving totals (first/last gift date, lifetime amount) aren't returned by LGL on the constituent object at all — they're computed here from that constituent's own gift history, paged to completion. A constituent with no gifts returnslifetime_amount: 0. A safety cap still applies (10,000 gifts); the response says so if it is hit.
Development
npm run inspect # MCP Inspector — exercise tools interactively
npm run audit:readonly # static check: write methods isolated to the two update modules
npm test # offline service, transport, and stdio MCP tests
npm run audit:safety # both checks aboveRate limits
LGL allows 300 API calls per 5-minute window. Both transports share a sliding-window throttle. GET requests retry with backoff on 429/5xx. Each writer sends a single PATCH or POST without retries, then verifies with GET. Restart or reconnect the MCP client after installing an update so it discovers the new tools; existing client registration and credentials do not need to change.
Available Tools
8 toolsget_constituentget_constituentA
Fetch one constituent's profile by LGL id, including giving totals computed from the full gift history.
Inputs: id (required), verbose.
get_constituent_giftsget_constituent_giftsA
List the giving history for one constituent, most recent first.
Inputs: id (required), limit, offset, verbose.
list_appealslist_appealsA
List all appeals configured in LGL. Small, rarely-changing reference data — cached for this session after the first call.
Inputs: verbose.
list_fundslist_fundsA
List all funds configured in LGL. Small, rarely-changing reference data — cached for this session after the first call.
Inputs: verbose.
list_gift_categorieslist_gift_categoriesA
List all gift categories configured in LGL. Small, rarely-changing reference data — cached for this session after the first call.
Inputs: verbose.
list_gift_typeslist_gift_typesA
List all gift types configured in LGL. Small, rarely-changing reference data — cached for this session after the first call.
Inputs: verbose.
search_constituentssearch_constituentsA
Search LGL constituents by name or email address. Returns a compact summary per match (name, email, phone, city/state). Giving totals are not included — use get_constituent for those. Pass verbose:true for the full record.
Inputs: query (required), limit, offset, verbose.
search_giftssearch_giftsA
Search gifts across all constituents by date range. Useful for totals and reconciliation questions (e.g. 'gifts in 2025'). Fund/amount filtering isn't exposed by LGL's search endpoint — filter the results client-side if needed.
Inputs: limit, offset, to_date, verbose, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Tools are mostly distinct: list_funds, list_appeals, list_gift_categories, list_gift_types each target a different reference data type. search_constituents and get_constituent both relate to constituents but search is for lookup by name/email while get_constituent is for a specific ID with more detail. get_constituent_gifts and search_gifts are distinct (one per constituent, one across all). Only slight overlap between search_constituents and get_constituent, but descriptions clarify their purposes.
All tool names follow a consistent verb_noun pattern: 'list_' for reference data, 'search_' for search operations, 'get_' for fetching a single record, and 'get_constituent_gifts' for the gift history. This is uniform and predictable.
8 tools is well within the ideal 3-15 range. The server covers a focused set of operations for an LGL (Little Green Light) integration: listing reference data, searching constituents, fetching details, and querying gifts. Each tool has a clear purpose, and none seem redundant.
The tools cover querying and searching capabilities well, but there are no create, update, or delete operations, so it's a read-only surface. For a CRM/donation tool, one might expect capabilities like adding a gift or updating a constituent, but the server's stated purpose is not explicit about that. The lack of write operations is a notable gap for full lifecycle coverage, but it may be intentional for this MCP server.
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Unofficial remote MCP server for Less Annoying CRM: OAuth 2.1, read-only grants, 10 tools.
Read-only Google Analytics 4 MCP server for AI assistants.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server for Microsoft SQL Server integration that enables users to query, monitor, and analyze databases directly through Claude. It supports schema exploration, performance analysis, and optional write operations via natural language commands.9 npm1MIT
- AlicenseAqualityDmaintenanceA read-only MCP server for SQL Server database introspection that enables Claude to explore and query databases via tools like listing objects and executing SELECT queries.20MIT
- AlicenseCqualityDmaintenanceRead-only MCP server for Meta (Facebook) Graph API, enabling access to Marketing API, Pages, Instagram, and WhatsApp Business data through Claude Code and any MCP-compatible client.3011 npm1MIT
- AlicenseAqualityCmaintenanceA read-only MCP server that connects Claude to the Northwind sample PostgreSQL database, allowing natural language queries to generate SQL and charts.52MIT