qoliber / agent-readiness-capabilities
Qoliber Agent Readiness. Audit API catalogs, OAuth discovery, MCP and A2A cards, Agent Skills, WebMCP, ARD, and Poppy.
Package info
github.com/qoliber/agent-readiness-capabilities
Type:magento2-module
pkg:composer/qoliber/agent-readiness-capabilities
Requires
- php: ~8.3.0 || ~8.4.0 || ~8.5.0
- ext-dom: *
- ext-libxml: *
- magento/framework: ^103.0
- qoliber/agent-readiness-audit: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Adds the API, authentication and agent discovery group to the audit: the documents that tell an agent which APIs, tools and sign-in methods the store offers. Its results appear in Read the report.
Installation
composer require qoliber/agent-readiness-capabilities bin/magento setup:upgrade
This package adds one group of checks to qoliber/agent-readiness-audit, which Composer installs with it. To install all five check groups at once, require qoliber/ai-readiness-audit instead.
Configuration
This module has no configuration fields. Who can run audits is set by a role permission: see Configuration.
Checks
| Check | Core or optional | What it looks for |
|---|---|---|
| API Catalog | Core | An RFC 9727 linkset at /.well-known/api-catalog, served as application/linkset+json, whose entries link service descriptions or documentation |
| OAuth / OIDC discovery | Optional | RFC 8414 or OpenID Connect discovery for the issuer the protected-resource metadata names, or at the default paths, with an issuer that matches its discovery address |
| OAuth Protected Resource | Optional | RFC 9728 metadata at /.well-known/oauth-protected-resource, or at the address a WWW-Authenticate: Bearer resource_metadata=… challenge names |
| Auth.md agent registration | Optional | A Markdown guide at /auth.md, paired with issuer metadata that declares an agent_auth registration endpoint |
| MCP Server Card | Core | A Model Context Protocol Server Card found through the AI Catalog, the store view's UCP profile or the usual /mcp/server-card and /.well-known/mcp paths. A current card passes when served as application/mcp-server-card+json, and a legacy card passes at the compatibility paths; other forms give a warning |
| A2A Agent Card | Optional | An Agent2Agent card at /.well-known/agent-card.json or /.well-known/agent.json with its interface, input and output modes and skills |
| Agent Skills index | Core | An Agent Skills discovery 0.2.0 index at /.well-known/agent-skills/index.json listing skills with SHA-256 digests |
| WebMCP | Core | Tools a browser sees registered on the storefront. Needs Verify WebMCP with Cloudflare; Unverified otherwise |
| Agentic Resource Discovery | Core | An ARD manifest found at /.well-known/ard.json or /.well-known/ai-catalog.json, through a Link header, an HTML link element, a robots.txt Agentmap line or a DNSSEC-signed _catalog._agents TXT record |
| Personal Agent Protocol (Poppy) | Optional | A manifest at /.well-known/poppy.json for the serving host, with at least one interface and, for signed-in interfaces, a matching issuer |
Verified by tests
- Unit tests: 103 tests in 3 classes.
VerdictMatrixTestproves every check of this module three ways: it passes on a storefront that publishes what it looks for, needs attention on one that conclusively does not or serves an invalid document, and stays unverified when the storefront answers 503, 429 or 403 or times out. - Playwright:
Test/Playwright/verdicts.jsondeclares what each check reports on the six test storefronts of the audit package's suite, which runs every check through Magento's scanner and asserts each result exactly; the admin report tests confirm each result row. WebMCP needs a browser scan, which the audit only asks for on a public storefront, so there it is expected to be Unverified; the unit tests prove its pass and fail. - Real Magento storefront: the integration suite of
qoliber/ai-readiness-suiteaudits a Magento storefront running Qoliber's storefront modules (Agent Readiness with its Markdown and UCP companions, Markdown Content, UCP and UCP MCP), with robots.txt rules set in Magento's own configuration, and asserts that API Catalog, Agent Skills index and Agentic Resource Discovery (from Agent Readiness) and MCP Server Card (from UCP with UCP MCP) pass. With all of them enabled the storefront reaches Verified level 4, Agent-Integrated.
Documentation
The full documentation lives in qoliber/ai-readiness-audit: installation, configuration, usage, troubleshooting and the developer guide.
Contributing
Issues and pull requests are welcome at github.com/qoliber/agent-readiness-capabilities. See CONTRIBUTING.md; AGENTS.md has the same guidance for AI coding agents.
Security
Report vulnerabilities privately as described in SECURITY.md, never in a public issue.
License
MIT © Qoliber. Commercial support and custom work: qoliber.com.