The four security modes
Security is configured per-server, not per-account. You can run a public demo server and a production API-Key-locked server at the same time.
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.