Documentation Index
Fetch the complete documentation index at: https://docs.mcpcore.io/llms.txt
Use this file to discover all available pages before exploring further.
The four security modes
| Mode | How the client authenticates | Best for |
|---|---|---|
| Public | No credentials needed | Open demos, read-only public data |
| Unlisted | Secret key embedded in the URL | Quick internal sharing without credential management |
| API Key | Authorization: Bearer <key> header | Internal tools and integrations where you control the clients |
| OAuth | OAuth 2.0 authorization flow | User-facing apps with per-user identity |
Choosing the right mode
Public
No authentication required. Anyone with the endpoint URL can call your tools. Use for open demos or tools that only read publicly available data. Configure Public mode →Unlisted
The server URL itself contains an embedded 48-character secret key generated by MCPCore:API Key
Clients include a long-lived token in theAuthorization header:
OAuth
Clients authenticate through a standard OAuth 2.0 authorization flow. You supply your Authorization Server’s RFC 8414 metadata URL (the.well-known endpoint from Okta, Auth0, Keycloak, or your own server). MCPCore validates the metadata, sets up discovery endpoints for your subdomain, and verifies incoming JWTs using your server’s public keys. MCP clients register themselves and complete the OAuth flow automatically.
Use for user-facing applications where tools act on behalf of individual users, or wherever you want to reuse an existing identity provider.
Configure OAuth mode →
Changing the security mode
Switch modes at any time from the server’s Edit form. The subdomain URL stays the same.Security does not affect tool code
Your tool code always receives the sameparams and env objects regardless of the security mode. Authentication is handled entirely at the server layer before your code runs.