← Files URLMatcherARCHIVED FILE

docs/setup.md

2.89 KB · Nov 30, 2026 · 07:40 UTC

↓ Download file

# URLMatcher MCP setup

## URLMatcher administrator setup

In the Supabase project:

1. Open **Authentication → URL Configuration** and set the Site URL to `https://app.urlmatcher.com`.
2. Open **Authentication → OAuth Server** and enable OAuth 2.1.
3. Enable Dynamic Client Registration.
4. Set the OAuth Server **Authorization Path** to `/oauth/consent`.
5. Under JWT Signing Keys, use an asymmetric key such as RS256 or ES256 so the public JWKS endpoint contains a verification key.
6. Publish the URLMatcher app and verify that `https://app.urlmatcher.com/oauth/consent` is reachable.
7. If URLMatcher's login flow uses `redirectTo` to return to the consent page, allow the exact consent return URL or a suitable URLMatcher-owned pattern in the general Auth redirect URL list. Preserve the `authorization_id` query parameter through login.

The Codex, ChatGPT, Claude, or Cursor callback is registered as the redirect URI of the dynamically registered OAuth client. It is not the same setting as Supabase Auth's general login redirect allow-list.

Verify readiness before connecting:

- Authorization-server discovery returns `200` and includes `registration_endpoint`.
- `https://api.urlmatcher.com/functions/v1/mcp/.well-known/oauth-protected-resource` returns the URLMatcher resource and an OAuth authorization server.
- The advertised Supabase OAuth issuer's JWKS contains at least one public key. Supabase currently advertises its original `supabase.co` issuer even when the MCP resource uses the custom domain.
- The consent URL returns the app and preserves `authorization_id` through login.

## User connection

Install the URLMatcher plugin and choose Connect for the included URLMatcher app. Complete login and consent at app.urlmatcher.com, then return to ChatGPT or Codex and start a conversation with URLMatcher selected. Use the host's URLMatcher connection settings to reconnect or change accounts. OpenAI manages the registered account connection for the installed app.

Maintain one version in source/plugin.json. The complete installable source uses
the existing development app binding in .app.json. The public submission uses
the same MCP endpoint through its own portal-managed app. The build removes
the development app reference from
URLMatcher-latest.zip because public uploads must declare the remote MCP endpoint
instead. This ZIP is exclusively for the existing Developer Portal submission;
it is not a direct web installer. Verify the portal's associated app and the
actual saved release's web installation separately. A connection to a different
development app does not verify the submitted release.

For a client without the plugin, add one MCP server:

- Name: `URLMatcher`
- Transport: HTTP / Streamable HTTP
- URL: `https://api.urlmatcher.com/functions/v1/mcp`
- Authentication: OAuth

Do not enter an API key, client ID, or client secret when the client supports OAuth discovery and Dynamic Client Registration.

SHA-256: 1d7a6c6067af0d1bae43a43405565df65ccf60fa10b82bade7531f7d1ea36d7f