MCP Server Security

MCP Server Security That Fits How You Work

Four authentication modes, encrypted secrets, and rate limiting, configurable per server without touching a line of tool code.

What's included

Access control built for every use case

Pick the authentication mode that matches who should be able to call each MCP server.

Public access

Open access for MCP servers that expose only non-sensitive tools, with no authentication required.

API Key authentication

Require a static API key on every request to the server, ideal for internal or partner integrations.

OAuth 2.0

Full OAuth 2.0 support for MCP clients that need to authenticate on behalf of an individual user.

Bearer Token

Token-based authentication for clients that manage their own credential issuance and rotation.

Encrypted secrets

API keys and credentials used by your tools are stored encrypted with AES-256 and referenced in code as env.MY_KEY. They stay out of your tool code, and only appear in responses or logs if your tool outputs them.

Rate limiting

Limit request volume per server to protect it from abusive or accidental traffic spikes.

Full error visibility

Every failed call captures the full stack trace and input parameters, so a suspicious pattern of failures is easy to spot.

Server settings

Security configuration on the same screen as everything else

app.mcpcore.io
MCPCore server overview dashboard showing authentication and security configuration for an MCP server
Security compared

Building security yourself vs MCPCore's built-in security

Authentication, secret storage, and rate limiting are usually the parts of an MCP server that take the longest to get right.

FeatureFramework or self-hosted SDKMCPCore
Auth modes availableImplement yourself4 built-in modes
Switch auth without code changes
Secrets encryptionImplement yourselfAES-256, built in
Rate limitingImplement yourselfBuilt in, per server
Error visibilityImplement yourselfFull stack traces included

Security features included on every plan

All four authentication modes and encrypted secrets are available starting on the free tier.

View pricing

MCP server security questions

Start building today

Free tier available. No credit card required. Get your first MCP server running in minutes.