What does this affect?
Returns the traits found in the description, the safeguards that apply, and the questions still open.
For agents and tools
Connect your coding agent through MCP, the protocol it uses to call tools. It can find relevant safeguards and ask you about open decisions. No AgentDirective account or API key is required.
The round trip
Connect, analyze, create instructions, and report progress. You make the decisions.
No install, no account, no key. Your agent calls the tools over HTTP and receives compiled files back as text.
https://agentdirective.org/mcp
It gets back the detected characteristics, the applicable Control Packs, and the open decisions — as questions to ask you, never as answers.
A decision marked confirmed must carry a real value, and the agent must obtain your confirmation. Open decisions produce an explicit draft; zero matched packs produce no directive.
The agent records progress, test references, and limitations for each requirement. Its report still needs code review and testing.
Model Context Protocol
The endpoint speaks JSON-RPC 2.0 over HTTP, so any MCP client can use it without running code locally.
https://agentdirective.org/mcpMost clients take a remote MCP server as a URL in their configuration. A GET on that address describes the endpoint and lists its tools.
Returns the traits found in the description, the safeguards that apply, and the questions still open.
Creates the bundle when at least one safeguard applies. Open decisions stay open; no-match results are not called directives. Pass previous_directive to compare a new request with an existing one.
Reviews the directive and the implementation status your agent reported, using metadata only.
Creates a read-only checklist and a safe assessment template for the agent to complete locally.
Checks the assessment and returns gaps, open decisions, and an improvement prompt.
Returns the Control Packs, their rules, questions, requirements, and evidence references.
An agent can analyze project traits and compile directives, but it cannot make policy decisions on its own. Spending limits, approval workflows, retention policies, and permissions must be confirmed by a human operator.
When generating directives, any requirement without an explicitly confirmed answer remains marked as open, prompting the agent to ask you before proceeding.
HTTP API
Read-only methodology routes plus stateless compile and review. Cross-origin requests are allowed, so a browser tool can call these too.
| Route | Method | Returns |
|---|---|---|
/api/methodology | GET | Methodology, pack-library, and schema versions. |
/api/packs | GET | Every Control Pack with applicability logic, questions, requirements, and external control mappings. |
/api/oscal/catalog | GET | The same Control Pack library as a schema-validated NIST OSCAL 1.2.2 catalog, for tooling that already reads OSCAL. |
/api/failure-patterns | GET | Real-world-grounded failure patterns, each labeled by evidence kind and cited to a public source. |
/api/vocabulary | GET | Recognized platform names and the review areas they may indicate. |
/api/benchmark | GET | The detection-and-pack-agreement dataset and its latest results snapshot. |
/api/transparency | GET | The published metrics snapshot, with definitions and privacy thresholds. |
/api/changelog | GET | Dated record of product changes. |
/api/compile | POST | Compiles a directive bundle from a description, characteristics, and decisions. |
/api/existing-project/plan | POST | Creates a checklist, report template, and prompt to inspect an existing project without changing it. |
/api/existing-project/audit | POST | Checks the agent’s report, with code and private data removed, and returns findings, open decisions, and an improvement prompt. |
/api/outcomes | POST | Accepts one explicitly consented, allowlisted design-change category and stores only an aggregate daily count. |
/api/review | POST | Checks whether the directive and reported status are consistent; does not inspect code. |
/api/health | GET | Service and runtime status. |
Before you rely on it