Repository navigation
CP-8994 Add API key tools: list, create and revoke - #111
Merged
Merged
Conversation
makerble_list_api_keys, makerble_create_api_key and makerble_revoke_api_key call the new API v2 /api_keys endpoints, so an agent can set up an organisation API key for a custom integration instead of sharing a person's login. Tool count 220 -> 223. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xqkxSnHWhH2odkqnP2
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # makerble-mcp-vercel-README.md # makerble-tools.js
mattkepple
marked this pull request as ready for review
October 31, 2026 08:43
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to MakerbleDev/makerble#17250 (API v2
/api_keysendpoints) for CP-8994. API docs: MakerbleDev/api-docs#118.New tools, placed before the Webhooks tools:
makerble_list_api_keys: GET/api_keys?charity_id=(paginated). It never returns a key's secret, onlysecret_hint.makerble_create_api_key: POST/api_keyswith{charity_id, api_key: {name, user_id}}. The description tells the agent to give the user the one-timesecretstraight away and explains how an integration sends it.makerble_revoke_api_key: DELETE/api_keys/{id}. The description tells the agent to confirm with the user first, because revoking can't be undone.The descriptions are written for an agent that knows nothing about Makerble: an API key is an Organisation's credential for a custom integration that acts as one colleague. Tool count 220 → 223 in the
makerble-tools.jsheader and the README.The tools call the API with the user's own token, which is the only kind of credential allowed to manage keys. Only Organisation Admins can use them; the Rails endpoint enforces it.
I checked the handlers against a stub client: they send the right method, path and body, and all 223 tool names are unique.
When to merge: the MCP is still pre-launch, so per CLAUDE.md this can be merged once it has been reviewed, without waiting for the Rails change to reach production.
Generated by Claude Code