Borrowing it
Nothing to install: this file belongs to logiscape/mcp-sdk-php. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/logiscape/mcp-sdk-php/main/AGENTS.mdgit clone --depth 1 https://github.com/logiscape/mcp-sdk-phpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/logiscape/mcp-sdk-php/agents-md)<a href="https://agentmods.dev/instructions/logiscape/mcp-sdk-php/agents-md"><img src="https://agentmods.dev/badge/instructions/logiscape/mcp-sdk-php/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/logiscape/mcp-sdk-php/agents-md"><img src="https://agentmods.dev/badge/instructions/logiscape/mcp-sdk-php/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03027 | $0.03027 |
| Opus 5.5 | $0.01211 | $0.01211 |
| Sonnet 5.5 | $0.00605 | $0.00605 |
| Haiku 4.5 | $0.00303 | $0.00303 |
Grade A, and why
mcp-sdk-php AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Project Overview
This is a PHP implementation of the Model Context Protocol (MCP), allowing applications to provide context for LLMs in a standardized way. The SDK implements both MCP clients and servers with support for stdio and HTTP transports.
Key characteristics:
- Designed for native PHP with easy installation via Composer
- Targets PHP 8.1+ with type safety (strict_types=1)
- Supports both traditional CLI/stdio and web hosting environments
- Speaks every MCP spec revision from
2024-11-05through2026-07-28(the "stateless core"); servers detect each request's era and clients probe-then-fall-back, so one codebase serves modern and legacy peers concurrently - Implements the Tasks (SEP-2663) and MCP Apps (SEP-1865) extensions — see docs/tasks.md and docs/apps.md
- Includes McpServer convenience wrapper for building fully functional MCP servers with just a few lines of PHP code
User-facing documentation is indexed in docs/README.md; the two deep guides are docs/server-dev.md and docs/client-dev.md, and the v1 → v2 changes are in docs/migration-v2.md.
Contributor-facing documentation
For non-trivial work, please also consult the governance and process docs at
the repository root: CONTRIBUTING.md (coding standards,
test stack, versioning policy), ROADMAP.md (direction and tier
self-assessment), SECURITY.md (vulnerability reporting),
GOVERNANCE.md, and the deeper guides under docs/ —
docs/testing.md,
docs/compatibility.md
(the cPanel/Apache compatibility rules), docs/dependency-policy.md,
and conformance/README.md (including the
no-shortcuts-for-conformance rule).
Development Process
The main branch carries v2 of the SDK (stable v1 lives on the 1.x
branch). v2 development is complete; ongoing direction — including the
embedding and web-integration batteries planned for the v2.x minor
line — is set by ROADMAP.md. Key rules for agents working on
the SDK:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 232 lines · 3,027 tokens per session scan A d90e23c4f5da
mcp-sdk-php AGENTS.md is an instructions file published in the GitHub repository logiscape/mcp-sdk-php (368 stars, last pushed 22d ago), licensed MIT. It adds 3,027 tokens to every session, about $0.0121 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
mcp-sdk-php AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-sdk-php AGENTS.mdlogiscape/mcp-sdk-php | Instructions file | 368 | 22d ago | MIT | A | 3,027 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |