⚠️ Beta — Under active development. Interfaces and schemas may change.
The Global.Church MCP Server exposes our read-only church search tools to AI agents and editors that speak the Model Context Protocol (MCP). You can connect an MCP client (e.g., OpenAI Playground, Cursor) and call tools that proxy our API.
https://global-church-main-ba4d06e.zuplo.app/mcpAuthorization: Bearer <YOUR_API_KEY>?apiKey=<YOUR_API_KEY> to the URL. Our gateway converts it to the Authorization header server-side.tools/list) and invoke them via tools/call.Replace $API_KEY with your issued Global.Church gateway key.
# 1) Ping
curl -s -X POST "https://global-church-main-ba4d06e.zuplo.app/mcp" -H "content-type: application/json" -H "authorization: Bearer $API_KEY" -d '{"jsonrpc":"2.0","id":"1","method":"ping"}'
# 2) List tools
curl -s -X POST "https://global-church-main-ba4d06e.zuplo.app/mcp" -H "content-type: application/json" -H "authorization: Bearer $API_KEY" -d '{"jsonrpc":"2.0","id":"2","method":"tools/list"}' | jq .
# 3) Call search tool (by belief + city/state)
curl -s -X POST "https://global-church-main-ba4d06e.zuplo.app/mcp" -H "content-type: application/json" -H "authorization: Bearer $API_KEY" -d '{
"jsonrpc":"2.0","id":"3","method":"tools/call",
"params":{ "name":"churches_search_v1",
"arguments":{ "queryParams": {
"country":"US", "belief":"roman_catholic",
"locality":"El Cajon", "region":"CA", "limit":3
}}
}}' | jq .
queryParamsThe MCP tool is generated from our OpenAPI spec. All inputs must be nested under arguments.queryParamsand must match the schema. Examples:
{
"jsonrpc":"2.0","id":"rad","method":"tools/call",
"params":{ "name":"churches_search_v1",
"arguments":{ "queryParams": {
"center_lat": 32.7157, "center_lng": -117.1611,
"radius_km": 25, "limit": 5
}}
}}{
"jsonrpc":"2.0","id":"bbox","method":"tools/call",
"params":{ "name":"churches_search_v1",
"arguments":{ "queryParams": {
"min_lat": 32.5, "max_lat": 33.4,
"min_lng": -117.5, "max_lng": -116.8,
"limit": 5
}}
}}https://global-church-main-ba4d06e.zuplo.app/mcpAuthorization: Bearer <YOUR_API_KEY>churches_search_v1arguments.queryParamsbelief="roman_catholic")Want to contribute? See our roadmap and open issues.