Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.32 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.32 KB

MCP Server

A framework-agnostic server for the Model Context Protocol: expose tools, resources and prompts over STDIO or HTTP, declared with attributes or registered on the builder. It serves both the initialize handshake and the stateless 2026-07-28 revision.

composer require mcp/server

Some features need an extra package:

  • symfony/finder for the file-based discovery of tools, resources and prompts
  • firebase/php-jwt for validating OAuth access tokens with the JwtTokenValidator
  • a PSR-6 or PSR-16 cache for the cached discovery and the session stores that use them
  • symfony/lock for session locks
  • PSR-7 and PSR-17 implementations for the HTTP transport, for example nyholm/psr7

To build a client as well, install mcp/sdk instead.

Resources

This repository is a read-only split of mcp/sdk.