AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
ToolsCategoriesTrendingNewCompare
Home/
Dev Tooling/
php-sdk
php-sdk logo

php-sdk

Active·★ 1.6k·NOASSERTION·Updated 2026-09-08
★ Trending★ Essential

The MCP PHP SDK is the official toolkit for implementing Model Context Protocol servers and clients in PHP. It offers a framework-agnostic API, allowing developers to expose PHP application functionality to AI agents or integrate with MCP servers.

php-sdk is currently grouped under Dev Tooling, which makes it easier to evaluate through workflow fit instead of isolated features alone. Based on the available data, it leans most heavily toward Implement MCP Servers to expose PHP capabilities (tools, resources, prompts) to AI agents. and Exposing existing PHP application functionalities (e.g., database access, custom logic) as callable tools or readable resources for AI agents.. The listed license is NOASSERTION, which is useful when adoption constraints matter. It also shows measurable community traction with 1.6k GitHub stars.

#PHP#SDK#AI Agents#Protocol#Server-Client#API Integration#Framework-agnostic#Large Language Models
$ Install
$ composer require mcp/sdk
↗ Visit site★ GitHub
01

Features

01Implement MCP Servers to expose PHP capabilities (tools, resources, prompts) to AI agents.
02Build MCP Clients to connect to and interact with any MCP server from PHP applications.
03Support for attribute-based and manual registration of server capabilities.
04Multiple transport options including STDIO and HTTP for flexible deployment.
05Advanced client features like progress tracking, sampling, elicitation, and logging support.
02

Why choose it

+Implement MCP Servers to expose PHP capabilities (tools, resources, prompts) to AI agents.
+Exposing existing PHP application functionalities (e.g., database access, custom logic) as callable tools or readable resources for AI agents.
+Covers 4 supported environments or platforms, which is helpful for broader deployment needs.
+Ships with a public repository and a NOASSERTION license, which makes adoption and review easier.
03

Trade-offs

!There are at least 8 related tools in the same category, so the best choice is easier to make after side-by-side comparison.
04

Compatibility

PHP
Runtime
Verified via docs
Symfony
Framework
Verified via docs
Drupal
CMS
Verified via docs
CakePHP
Framework
Verified via docs
05

Quick start

1
$ composer require mcp/sdk
06

Use cases

↳Exposing existing PHP application functionalities (e.g., database access, custom logic) as callable tools or readable resources for AI agents.
↳Integrating PHP applications with external AI systems or other MCP-compliant services by acting as an MCP client.
↳Developing AI-powered assistants or copilots within Symfony, Drupal, or CakePHP ecosystems by building custom MCP servers.
↳Creating custom PHP-based 'tools' that large language models (LLMs) can discover and execute via the Model Context Protocol.
07

How it compares

≈php-sdk sits in the Dev Tooling category, so it makes more sense to evaluate it alongside tools like dbx instead of in isolation.
≈If your main need is closer to "Exposing existing PHP application functionalities (e.g., database access, custom logic) as callable tools or readable resources for AI agents.", that use case is a better lens for comparison than broad feature checklists alone.
≈php-sdk uses a NOASSERTION license, and community traction are both easier to judge in category context.
08

Alternatives

dbx logo
dbx★ 18.9k
20 MB lightweight cross-platform database client for 70+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 70+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。
vs →
fastmcp logo
fastmcp★ 27.6k
🚀 The fast, Pythonic way to build MCP servers and clients.
vs →
headroom logo
headroom★ 71.3k
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
vs →
mindsdb logo
mindsdb★ 39.7k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
GitHub MCP Server logo
GitHub MCP Server★ 32.8k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
Brave Search MCP logo
Brave Search MCP★ 90.2k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
MetaGPT logo
MetaGPT★ 70.3k
🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
vs →
CopilotKit logo
CopilotKit★ 37.3k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
vs →
See all alternatives →

Related searches

php-sdk AlternativesBest Dev Tooling Tools 2026Open Source Dev Toolingphp-sdk Tutorialphp-sdk Vs CompetitorsPHPSDKAI Agents

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07How it compares08Alternatives
Stats
GitHub Stars★ 1.6k
Last commit3d ago
StatusActive
LicenseNOASSERTION
CategoryDev Tooling
Trend (30d)
+0k↑ 3.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.