Changes for version 0.11 - 2026-06-19
- Added OAuth scope support, so MCP servers can act as OAuth 2.0 resource servers.
- Added scopes attribute to MCP::Primitive, and therefore to MCP::Tool, MCP::Prompt, and MCP::Resource.
- Added scopes and insufficient_scope attributes, and a has_scope method, to MCP::Server::Context.
- Added auth and metadata_url attributes to MCP::Server::Transport::HTTP.
- Added headers attribute to MCP::Client.
- Added oauth_metadata method to MCP::Server.
- Added INSUFFICIENT_SCOPE constant to MCP::Constants.
Documentation
Modules
Model Context Protocol Perl SDK
HTTP transport for MCP servers
Constants for MCP (Model Context Protocol)
Primitive base class
Prompt container
Resource container
MCP server implementation
Request context container
Session container
Transport base class
HTTP transport for MCP servers
Stdio transport for MCP servers
Tool container