{"id":"cc01ed5c-b25a-4a60-80a3-2796d922bc1e","shortId":"u7JMWj","kind":"skill","title":"Build MCP servers and clients for PHP applications with the official PHP SDK","tagline":"Use the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows.","description":"# Build MCP servers and clients for PHP applications with the official PHP SDK\n\nUse the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows.\n\n## Prerequisites\n\nPHP, Composer, MCP-compatible host/client\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- composer require mcp/sdk\n\nBasic usage or getting-started notes:\n- bash\n- ## Overview\n- The MCP PHP SDK provides both **server** and **client** implementations for the Model Context Protocol, enabling you to:\n\n- Source: https://github.com/modelcontextprotocol/php-sdk\n- Extracted from upstream docs: https://raw.githubusercontent.com/modelcontextprotocol/php-sdk/HEAD/README.md\n\n## Documentation\n\n- https://github.com/modelcontextprotocol/php-sdk\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk/)","tags":["build","mcp","servers","and","clients","for","php","applications","with","the","official","sdk"],"capabilities":["skill","source-agentskillexchange","skill-build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (975 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:41.847Z","embedding":null,"createdAt":"2026-05-18T13:15:30.755Z","updatedAt":"2026-05-18T19:09:41.847Z","lastSeenAt":"2026-05-18T19:09:41.847Z","tsv":"'/modelcontextprotocol/php-sdk':123,134 '/modelcontextprotocol/php-sdk/head/readme.md':130 '/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk/)':141 'agent':34,69,136 'agentskillexchange.com':140 'agentskillexchange.com/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk/)':139 'applic':8,25,43,60 'bash':100 'basic':93 'build':1,36 'capabl':26,61 'client':5,40,110 'compat':76 'compos':73,90 'context':18,53,115 'doc':127 'document':131 'enabl':117 'environ':89 'exchang':138 'expos':23,58 'extract':124 'get':97 'getting-start':96 'github.com':122,133 'github.com/modelcontextprotocol/php-sdk':121,132 'host/client':77 'implement':111 'instal':78,82 'match':87 'mcp':2,28,37,63,75,103 'mcp-compat':74 'mcp/sdk':92 'model':17,52,114 'note':99 'offici':11,16,46,51 'overview':101 'path':85 'php':7,12,20,24,42,47,55,59,72,104 'prerequisit':71 'prompt':32,67 'protocol':19,54,116 'provid':106 'raw.githubusercontent.com':129 'raw.githubusercontent.com/modelcontextprotocol/php-sdk/head/readme.md':128 'requir':91 'resourc':30,65 'sdk':13,21,48,56,105 'server':3,38,108 'setup':84 'skill':137 'skill-build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk' 'sourc':120,135 'source-agentskillexchange' 'start':98 'tool':29,64 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':81,126 'usag':94 'use':14,49,79 'workflow':35,70","prices":[{"id":"ecdb0766-34e5-4e9d-8e7e-fb695f539a67","listingId":"cc01ed5c-b25a-4a60-80a3-2796d922bc1e","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:30.755Z"}],"sources":[{"listingId":"cc01ed5c-b25a-4a60-80a3-2796d922bc1e","source":"github","sourceId":"agentskillexchange/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:30.755Z","lastSeenAt":"2026-05-18T19:09:41.847Z"}],"details":{"listingId":"cc01ed5c-b25a-4a60-80a3-2796d922bc1e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"8190da375f65b3586f4d0b58e1494a78fb5d865b","skill_md_path":"skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Build MCP servers and clients for PHP applications with the official PHP SDK","description":"Use the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk"},"updatedAt":"2026-05-18T19:09:41.847Z"}}