Search by

mcp / server

fabpotchr-hertel

Model Context Protocol server for PHP applications

dev-main 2026-11-27 14:01 UTC

This package is auto-updated.

Last update: 2026-11-27 22:48:11 UTC


README

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.