Open standards

Standards and specifications.

Emcy implements and builds on open standards. Every authentication flow, protocol interaction, and API mapping follows published specifications. No proprietary extensions.

Authorization

OAuth 2.1

draft-ietf-oauth-v2-1
View spec

The authorization framework. Emcy generates MCP servers that act as OAuth 2.1 resource servers -- validating bearer tokens issued by your authorization server.

How Emcy uses it: Token acquisition for MCP server authentication. All browser-based flows use the authorization code grant.

RFC 7636 -- PKCE

RFC 7636
View spec

Proof Key for Code Exchange. Mitigates authorization code interception attacks for public clients (browsers, native apps).

How Emcy uses it: AI clients (Claude, ChatGPT) use PKCE when authenticating with your authorization server. Your MCP server validates the resulting bearer token.

RFC 6749 -- OAuth 2.0

RFC 6749
View spec

The foundational OAuth 2.0 authorization framework. Defines authorization code, implicit, and client credentials grants.

How Emcy uses it: Authorization code grant (section 4.1) for interactive user flows. Foundation for OAuth 2.1.

RFC 6750 -- Bearer Tokens

RFC 6750
View spec

Defines how to use bearer tokens in HTTP requests. Authorization header with Bearer scheme.

How Emcy uses it: MCP servers accept bearer tokens in the Authorization header. Tokens pass through Emcy to upstream APIs.

RFC 8707 -- Resource Indicators

RFC 8707
View spec

Allows clients to indicate the resource they intend to access during token acquisition, enabling audience-restricted tokens.

How Emcy uses it: Audience validation to prevent token misuse across different MCP servers.

Discovery

RFC 9728 -- Protected Resource Metadata

RFC 9728
View spec

Defines a metadata endpoint for OAuth-protected resources, enabling clients to discover authorization server details.

How Emcy uses it: Gateway-backed MCP servers expose /.well-known/oauth-protected-resource for client auto-configuration.

Protocol

MCP Specification

Model Context Protocol
View spec

The Model Context Protocol. Defines how AI agents discover and invoke tools, resources, and prompts from servers.

How Emcy uses it: Generated MCP servers implement the full MCP specification. Tools, resources, and server capabilities.

API Description

OpenAPI 3.x

OpenAPI Specification 3.1.0
View spec

The standard for describing HTTP APIs. Defines endpoints, request/response schemas, authentication, and more.

How Emcy uses it: Input format for MCP server generation. The CLI reads OpenAPI specs and maps operations to MCP tools.