Directories
¶
| Path | Synopsis |
|---|---|
|
_examples
|
|
|
minimal-server
command
|
|
|
minimal-server/cliauth-test
command
|
|
|
Package audit defines the audit emitter interface that mcp-kit consumers implement to receive tool-call, OAuth, and key-rotation events.
|
Package audit defines the audit emitter interface that mcp-kit consumers implement to receive tool-call, OAuth, and key-rotation events. |
|
Package authz defines the authorization interface that mcp-kit consumers implement to expose their existing RBAC / permission model to the kit.
|
Package authz defines the authorization interface that mcp-kit consumers implement to expose their existing RBAC / permission model to the kit. |
|
Package mcpkit is the top-level convenience entry point for building MCP servers with mcp-kit.
|
Package mcpkit is the top-level convenience entry point for building MCP servers with mcp-kit. |
|
Package mcpmw provides MCP-specific HTTP middleware: JSON-RPC envelope rewriting, Origin allowlist, and (in later versions) audit emitter wrapping.
|
Package mcpmw provides MCP-specific HTTP middleware: JSON-RPC envelope rewriting, Origin allowlist, and (in later versions) audit emitter wrapping. |
|
consent
Package consent provides one shared OAuth 2.1 authorization-endpoint handler that performs browser-based login, optional 2FA challenge, explicit user consent, and produces a fosite authorization response with the canonical MCP audience bound server-side per RFC 8707.
|
Package consent provides one shared OAuth 2.1 authorization-endpoint handler that performs browser-based login, optional 2FA challenge, explicit user consent, and produces a fosite authorization response with the canonical MCP audience bound server-side per RFC 8707. |
|
consent/consenttest
Package consenttest provides test fixtures for consent.Handler consumers.
|
Package consenttest provides test fixtures for consent.Handler consumers. |
|
consent/hmacstore
Package hmacstore implements consent.ApprovalTokenStore using a stateless HMAC-signed payload plus an in-memory replay map.
|
Package hmacstore implements consent.ApprovalTokenStore using a stateless HMAC-signed payload plus an in-memory replay map. |
|
consent/sessionstore
Package sessionstore implements consent.ApprovalTokenStore using a consumer-supplied session backend.
|
Package sessionstore implements consent.ApprovalTokenStore using a consumer-supplied session backend. |
|
keys
Package keys manages OAuth JWT signing keys.
|
Package keys manages OAuth JWT signing keys. |
|
storage
Package storage adapts consumer persistence to Fosite's OAuth storage interfaces.
|
Package storage adapts consumer persistence to Fosite's OAuth storage interfaces. |
|
Package oidc serves OAuth/OIDC discovery documents for MCP servers.
|
Package oidc serves OAuth/OIDC discovery documents for MCP servers. |
|
Package userstore defines the user-lookup interface that mcp-kit consumers implement to expose their existing user table to the OAuth flow.
|
Package userstore defines the user-lookup interface that mcp-kit consumers implement to expose their existing user table to the OAuth flow. |
Click to show internal directories.
Click to hide internal directories.