{"repo":"spiral-packages/mcp-server","free":true,"listed":false,"github":"https://github.com/spiral-packages/mcp-server","clone":"git clone https://github.com/spiral-packages/mcp-server.git","description":"MCP Server implementation for the Spiral Framework","language":"PHP","stars":55,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"Spiral MCP Server A powerful and flexible Model Context Protocol (MCP) Server implementation for the Spiral Framework. This package provides a complete MCP server solution with automatic tool discovery, attribute-based configuration, and seamless integration with Spiral's dependency injection container. Table of Contents - Features - Requirements - Installation - Quick Start - Configuration - Creating Tools - Tool Attributes - Middleware - Contributing - License Features ✨ Automatic Tool Discovery - Automatically discovers and registers MCP tools using PHP attributes 🔧 Multiple Transport Options - Supports HTTP, streaming HTTP, and STDIO transports 🎯 Attribute-Based Configuration - Define tool behavior with simple PHP attributes 🛡️ Schema Validation - Automatic JSON schema generation using spiral/json-schema-generator ⚡ Middleware Support - Extensible middleware system for request/response processing 🔌 Spiral Integration - First-class integration with Spiral Framework's IoC container 📊 Session Management - Built-in session handling with configurable TTL 🚀 Production Ready - Designed for high-performance production environments Requirements - PHP 8.3 or higher - Spiral Framework 3.15+ - Composer Installation Install the package via Composer: Add the bootloader to your Spiral application: Quick Start 1. Create Your First Tool Create a simple calculator tool: 2. Define the Request Schema Note : For more information about DTO schema definition visit spiral/json-schema-gener","default_branch":null,"files":null,"tree":[],"storefront":"/r/spiral-packages","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spiral-packages/mcp-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}