Skip to Content
Connect your agent

Other MCP clients

Everything pl4m's MCP server needs from a client, with nothing client-specific in it.

If your client can add a remote MCP server, this is the whole of what it needs.

The server

URLhttps://app.pl4m.com/mcp
TransportStreamable HTTP (POST)
Protocol revisionnegotiated at initialize
Toolsdiscovered with tools/list — eighteen of them

Credentials

Either one:

Authorization: Bearer pl4m_pat_…

...or OAuth 2.1, which needs no configuration beyond the URL. Discovery starts from a 401:

WWW-Authenticate: Bearer resource_metadata="https://app.pl4m.com/.well-known/oauth-protected-resource/mcp"

From there a conforming client finds the authorization server (https://app.pl4m.com), registers itself, and runs the code flow with PKCE. The pieces are served at the paths the specifications fix:

EndpointSpecification
/.well-known/oauth-protected-resource and /.well-known/oauth-protected-resource/mcpRFC 9728, both the root and resource-path forms
/.well-known/oauth-authorization-serverRFC 8414
/registerRFC 7591, dynamic client registration
/authorizeOAuth 2.1, PKCE S256 required, RFC 8707 resource
/tokenauthorization_code and refresh_token
/revokeRFC 7009

Both metadata forms are served because the specification tells clients to try the resource-path form and fall back to the root, and a client that implements only one should still find the authorization server.

Four things that will refuse you

  • code_challenge_method=plain. PKCE with S256, or nothing.
  • A token issued for another resource. Every token is bound to the resource from its authorization request, and /mcp refuses one issued for anything else. The same token does not work on the REST API.
  • A client_secret. Registration always returns token_endpoint_auth_method: "none". A client that asks for a secret is downgraded rather than refused, and the response says what was actually issued. PKCE is mandatory and does the work a secret would.
  • A redirect URI outside the allowlist. https with a host, http on a loopback address, or a private-use scheme containing a dot — and nothing else. A fragment or userinfo is refused. For a loopback redirect the port is ignored when matching, as RFC 8252 requires, because a native client is given an ephemeral port by the operating system and cannot have registered it.

Known gaps

  • Client ID Metadata Documents are not implemented. The current revision deprecates dynamic client registration in favour of them; registration is what is built here, and the specification keeps it for exactly this case.
  • The scope parameter is absent from the WWW-Authenticate challenge. Scope is enforced per tool, so the transport requires none to reach tools/list and a read-only credential is refused at the one tool it may not use. scopes_supported in the protected-resource metadata is the fallback the specification names, and it is published.

On this page