client_id; Gratona derives the
workspace boundary from the authenticated admin or API key and applies primitive
scopes plus Gratona permission sets for every request.
Current MCP Tool Surface
Create, update, delete, and archive tools are hidden by default. Mutation tools
should only be enabled after explicit scopes, idempotency keys, audit metadata,
confirmation UX, and production tests are complete.
ChatGPT And Codex
Use the production MCP endpoint for public ChatGPT and Codex connections:- “Find Mattie Charles and summarize her profile, giving, sponsorships, notes, and recent activity.”
- “Summarize donations for the last 90 days and fetch one donation record.”
- “Show sponsorship health for Education and one sponsored recipient.”
- “List saved views and reports that would help me plan today’s follow-up work.”
- “Show notes and activity for donor 26303.”
- “What can I access in this Gratona workspace?”
MCP Endpoints
Every unauthenticated MCP request returns an OAuth bearer challenge with the
protected-resource metadata URL so compatible clients can discover the auth
configuration.
Auth And Permissions
Gratona enforces access in layers:- Authentication resolves the admin, API key or OAuth token, scopes, and Gratona workspace.
- The primitive registry filters discovery and invocation by primitive scope.
- Each primitive applies Gratona group permission sets such as donor forms, program access, reports, notes, activity logs, and dashboard permissions.
- Record queries always use the server-derived workspace boundary.
REST Primitive API
Use REST when you need direct HTTP access from scripts or services.- Base URL:
https://api.helpyousponsor.com - Auth header:
X-HYS-API-Key: hys_... - Discovery:
GET /v3/primitives - Primitive schema:
GET /v3/primitives/{name}/schema - Invoke:
POST /v3/primitives/{name}/invoke - Dry-run validation:
POST /v3/primitives/{name}/validate
Schema Discovery
Agents can inspect the Gratona data model surface when grantedschema:read.
GET /v3/schema/modelsGET /v3/schema/models/{name}GET /v3/schema/enumsGET /v3/schema/capabilities
resources/list and
resources/read. Current resources include donor, entity, donation, commitment,
program, household, donor-entity relationship, soft credit, form, field, and
donor-field schemas.
Scope Planning
Use the smallest key or OAuth grant that still lets the agent do the job.
Tool discovery only returns operations the current credentials can use. A broad
primitive scope does not bypass Gratona group permissions.