Developers

Deacon Lane API and MCP server

Your church's systems and AI assistants can read and manage congregation care in Deacon Lane, with the same privacy rules your deacons work under.

Keys and permissions

Coordinators, pastors and your church's administrators create keys in Deacon Lane under Settings → API keys (two-step sign-in). A key works only for your church, can expire, and can be revoked at any time. Send it on every request:

Authorization: Bearer ml_live_…
PermissionWhat the key may doWho can give it
deacon:readRead families, assignments, the care log, needs, sign-ups, the help board and the team, as a coordinator sees them. Never confidential needs or pastor-only notes.Coordinators, pastors, church admins
deacon:writeAlso add and change families, assignments, contacts, needs, help-board posts, imports and syncs.Coordinators, pastors, church admins
deacon:messagesRead threads and send messages, including email and text to families.Coordinators, pastors, church admins
deacon:confidentialSee pastor-level records: confidential needs and pastor-only notes.Pastors only

A key keeps a permission only while the person who made it still has that access. Every change made with a key, and every family record it reads, is recorded with the key's name.

The rules keys follow

  • Sharing a need with the whole church, and approving a help-board post, always needs a different person (or key) than the one who asked.
  • Families who replied STOP or unsubscribed are never emailed or texted; they come back in skipped. Your church's daily email and text limits apply.
  • Families are archived, never deleted, through the API.
  • Requests are server to server: browsers can't call the API from another site.
  • 120 requests a minute per key. Errors are JSON: {"error": {"code", "message", "details"}}.

REST API

Base URL https://deaconlane.org/api/v1. The full description is deacon-openapi.json (OpenAPI 3.1), which you can load into your own tools.

curl https://deaconlane.org/api/v1/households?filter=due \
  -H "Authorization: Bearer $DEACON_LANE_KEY"

curl -X POST https://deaconlane.org/api/v1/messages/send \
  -H "Authorization: Bearer $DEACON_LANE_KEY" -H "Content-Type: application/json" \
  -d '{"channel":"sms","audience":"household","household_id":"…","body":"Hi {{first_names}}, thinking of you this week."}'

Loading the endpoints…

MCP server

AI assistants that support MCP connect to https://deaconlane.org/mcp (Streamable HTTP) with the same key in the Authorization header. They see only the tools the key's permissions allow. For Claude Code:

claude mcp add --transport http deacon-lane https://deaconlane.org/mcp \
  --header "Authorization: Bearer $DEACON_LANE_KEY"

Assistants can make mistakes. Start with deacon:read, and check anything an assistant sends to families before it goes out.

Loading the tools…