Repository navigation
Conversation
Co-authored-by: Rohan Shah <rshah2020@users.noreply.github.com>
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.
Adds a
relayplugin underthird_party/relay/that wraps Relay's hosted MCP server (https://mcp.relayfi.com/mcp), the official connector for Relay business banking. Relay documents seventeen read tools covering organizations, accounts and balances, transactions, cards, bank statements (with short-lived download links), invoice contacts, catalog items, and invoices.What's added
third_party/relay/.cursor-plugin/plugin.json(relay, 1.0.0,cursor3.13.0, categoryfinance-and-legal, homepagehttps://mcp.docs.relayfi.com/)third_party/relay/mcp.json:type: http,https://mcp.relayfi.com/mcpassets/logo.png: Relay's official wordmark (relay-logo-dark.svgfrom relayfi.com,#004822), rendered from SVG and centered on a white 256×256 tile so it stays legible on dark and light marketplace backgrounds.cursor-plugin/marketplace.jsonand a row appended to the root README table, with the same description in all three placesDedupe: no existing
relay/relayfiplugin inthird_party/. The open draft #1183 addsagent-relay(agentrelay.com), a different product, so therelayslug does not collide.Validation
node scripts/validate-plugins.mjsandnode scripts/generate-pstack-harness-trees.mjs --checkpass.Smoke test (unauthenticated, from the agent VM)
POST /mcp initialize→ clean HTTP401withWWW-Authenticate: Bearer realm="mcp", error="invalid_token", resource_metadata="https://mcp.relayfi.com/.well-known/oauth-protected-resource/mcp"./.well-known/oauth-protected-resourceis 404; the path-suffixed/mcpdocument resolves.authorization_servers: ["https://app.relayfi.com/oauth"],bearer_methods_supported: ["header"]. The livescopes_supportedlist also includescontacts.writeandinvoices.write, which Relay's docs do not mention and which unlock no documented tool.https://app.relayfi.com/.well-known/oauth-authorization-server/oauth:authorization_code+refresh_token, PKCES256,token_endpoint_auth_methods_supported: ["none", "private_key_jwt"],client_id_metadata_document_supported: true, and noregistration_endpoint.POST https://app.relayfi.com/oauth/registerredirects to the Relay login page (no DCR endpoint exists), so Dynamic Client Registration withcursor://anysphere.cursor-mcp/oauth/callbackcould not be attempted; Relay relies on Client ID Metadata Documents, the same model as the existingruntaplugin.GET /oauth/authwithclient_id=https://cursor.com/oauth/mcp-client.json:redirect_uri=https://www.cursor.com/agents/mcp/oauth/callbackwas accepted (303 to Relay's/oauth/interaction/...consent flow).https://www.cursor.com/bot/mcp/oauth/callback,https://grok.com/connectors-oauth-exchange-code/, andcursor://anysphere.cursor-mcp/oauth/callbackreturned400 invalid_request.http://localhost:8787/callbackandhttp://127.0.0.1:8787/callbackreturned a CloudFront403(anyhttp://localhost…value in the query string is blocked at the edge, even in an unrelated parameter), so Cursor desktop's loopback redirect may not reach Relay's authorization server. Worth a reviewer's check before publishing.tools/list, tool calls, tool annotations) was not tested without a Relay account.Skipped / caveats
https://www.cursor.com/agents/mcp/oauth/callbackwas observed to be accepted; Grok Bot and desktop redirects are flagged above rather than resolved.