Repository navigation
Serve read tools of payment connectors on the shared endpoint, not crypto - #1345
Merged
Merged
Conversation
The Claude directory policy rules out software that moves money or trades autonomously and, in general, cryptocurrency software. It does not rule out reading payment data. The default (Claude) profile of the shared endpoint now serves the read tools of payment and banking connectors and withholds their write tools, and no longer serves cryptocurrency connectors. The ChatGPT profile keeps its previous exclusions.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
The shared
/mcpendpoint (the URL listed in the Claude directory) withheld every payment and banking connector, including their read tools, while it served cryptocurrency connectors (Binance, Coinbase, Deribit, ...) because they sit in thefinancecategory.The Anthropic Software Directory Policy, section 4A, rules out software that transfers money or executes financial transactions autonomously without human-in-the-loop safeguards, and says cryptocurrency software is not generally allowed. It does not restrict reading payment data. This aligns the default profile with that:
A tool counts as a read tool by the same
readOnlyHintderivation the endpoint already uses to routerun_read_tool/run_write_tool.Changes
shared-toolset.ts:sharedEndpointAccess(slug, profile)(all/read/none);excludedOnSharedEndpointandisExcludedAdapterSlugtake the profile. The refusal for a withheld tool says why (money vs cryptocurrency).anythingmcp_list_connectorsaddsreadToolsOnlyHerefor connectors served partly;notServedHerekeeps the connectors withheld whole.setup_find_connectors/setup_install_connector):SetupContext.profile, set by the controller from the OAuth client's redirect URIs, so a Claude chat can find and install payment connectors (results sayservedHere: Read tools only), never cryptocurrency ones. Without a profile the stricter ChatGPT rule applies.chatgptprofile: unchanged behaviour.Deployment modes: the shared endpoint serves the fixed tool set on Cloud by default (
sharedEndpointMode); self-hosted instances default todirectand are unaffected unless they setMCP_SHARED_ENDPOINT_TOOLS=fixed. A server's own URL (/mcp/<serverId>) serves every connector as before in both modes.Type
Testing
Commands (worktree root unless noted):
cd packages/backend && npx jest src/adapters/connector-setup.service.spec.ts src/mcp-server: 29 suites, 540 tests passed.cd packages/backend && npx tsc --noEmit -p tsconfig.json: clean.cd packages/backend && npm test: 811 suites passed, 4 skipped (live specs); 24092 tests passed.cd packages/backend && npm run lint: 0 errors, 11 existing warnings, no files rewritten.Checklist
npm test)