Exposes API Platform resources to AI agents (LLMs) via the Model Context Protocol — declaring MCP tools with #[McpTool] / McpToolCollection, read-only #[McpResource], the mcp: array on #[ApiResource], input/output DTOs, structured vs custom (CallToolResult) responses, JSON-Schema overrides via #[ApiProperty], and MCP-specific validation. Use whenever the user wants an LLM/AI agent to discover or call their API, mentions MCP, Model Context Protocol, tools/resources for an agent, tools/call, tools/list, or asks to make a resource 'callable by an AI' — even if they don't name MCP explicitly.
$npx -y skills add api-platform/skillset --skill api-platform-mcpInstalls into the current project.
Run `npx skills use "https://github.com/api-platform/skillset" --skill "api-platform/skillset/api-platform-mcp"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/api-platform/skillset" that are relevant to the current task. Run `npx skills add "https://github.com/api-platform/skillset"` and select the relevant skills, then follow their instructions.