Secure auth for MCP servers — WorkOS

Add OAuth to your MCP server

WorkOS AuthKit supports OAuth 2.1 as a compatible authorization server for MCP apps, based on the latest MCP protocol specification. This enables fine-grained authorization for agentic applications and workflows.

See an example MCP

Learn how to add auth to your MCP server in 10 min

Get started with MCP

Everything you need to master the basics and ship your first app

Read the MCP docs
We take the complexity of an evolving and intricate protocol and make securing it with AuthKit as easy as pasting a URL.
Read the docs
Fork MCP examples
Getting started quickly with open source templates. AuthKit MCP supports every language and framework.
View code on GitHub
Bring your own users
Already have users and login? WorkOS Connect can run as standalone middleware to only provide MCP OAuth flows — no migration necessary.
Get started

Auth for MCP has never been easier

WorkOS AuthKit handles all the complexity of the OAuth Authorization Server. You just build the MCP tools and resource endpoints.

Read the docs

Get your AuthKit domain

server.py


“WorkOS was the obvious choice for our MCP OAuth. Fast iteration, enterprise features built-in, and it just worked. Shipped Rube to everyone from indie devs to enterprise customers in two weeks.”
Rahul Tarak
Founding Engineer

“We wanted to ship an MCP server quickly and with WorkOS we were able to integrate in a matter of days to handle everything related to OAuth. This let us focus on building the best MCP server for our customers.”
Matthew McClure
Co-founder & VP of Developer Experience

Go deeper with MCP Guides

Go beyond the basics with guides for MCP experts

MCP Architecture Diagrams
Visual breakdown of MCP workflows and architecture.
Learn more

Securing AI Agents
Best practices for authenticating, authorizing, and defending AI agents in enterprise environments.
Learn more

How MCP Servers Work
An inside look at how MCP servers operate, from components to architecture and execution flow.
Learn more

Integrating WorkOS with Cloudflare MCP
Detailed integration guide with real-world examples.
Learn more

Watch sessions from MCP Night by WorkOS

MCP Night Keynote
Michael Grinich introduces enterprise-ready authorization for MCP servers, powered by WorkOS.
Watch now

Panel: OpenAI + Anthropic
Leaders from Anthropic and OpenAI discuss collaboration on MCP.
Watch now

Notion MCP: An inside look
Marissa Felix & Kenneth Sinder demo Notion MCP, allowing users to reference Notion documents and databases.
Watch now

Mux + WorkOS MCP
Matt McClure demonstrates the new Mux/WorkOS MCP video integration.
Watch now

Cursor MCP
Eric Zakariasson discusses how users are utilizing MCP within Cursor.
Watch now

xmcp - The TypeScript MCP Framework
Valentina Bearzotti demonstrates how XMCP helps developers build and deploy MCP servers more easily.
Watch now

MCP-UI
Liad Yosef & Ido Salomon show how MCP-UI enables interactive UI for MCP servers.
Watch now

VS Code MCP
Harald Kirschner discusses how VS Code helps solve common problems encountered when working with MCPs.
Watch now

Block MCP
Richard Moot demonstrates how Block reduced their entire API platform to just three tools: discovery, planning, and execution.
Watch now

Connect with the MCP Community

Register for local MCP events and contribute to community projects

WorkOS Events
Discover upcoming WorkOS events — from flagship MCP Nights to casual dev days and happy hours.
Explore upcoming events
MCP Discord Server
Join the dev-focused space to connect, share projects, and stay in the loop with fellow MCP builders.
Join the Discord

Ready to get started with MCP?

Explore docs Example project