agent-task-compiler-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-task-compiler
Compile natural-language intent into a verifiable, executable agent contract — a stable JSON interface that any AI agent can consume.
Why?
LLMs are great at editing code but unreliable at specifying what they are about to do. agent-task-compiler turns vague intents into a strict AgentContract — roles, allowed tools, success criteria, constraints, and verification steps — so agents behave predictably and can be tested.
Related MCP server: semantic-runtime
Install
npm install agent-task-compilerUsage — CLI
npx agent-task-compiler "migrate database schema for users.ts and orders.ts"Usage — Library
import { compileIntent, validateContract } from 'agent-task-compiler';
const contract = await compileIntent({
intent: 'refactor utils.ts without changing behavior',
allowedTools: ['read_file', 'write_file', 'run_tests'],
});
const { valid, errors } = validateContract(contract);
if (!valid) throw new Error(errors.join('\n'));Usage — MCP Server
Add to your MCP client config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"agent-task-compiler": {
"command": "npx",
"args": ["-y", "agent-task-compiler-mcp"]
}
}
}The server exposes two tools:
compile_intent— same input as the library, returns{ contract, validation }validate_contract— validates any contract object
Contract shape
type AgentContract = {
version: '1.0';
intent: string;
roles: { name: string; capabilities: string[]; restrictions: string[]; model?: string }[];
tools: { name: string; args: object; required: boolean }[];
successCriteria: { id: string; description: string; check: 'automated' | 'manual' | 'llm-judge' }[];
constraints: { kind: 'scope' | 'safety' | 'resource' | 'policy'; description: string }[];
verification: { step: string; command?: string; expects?: string }[];
metadata: { compiledAt: string; parser: string; confidence: number };
};JSON Schema is at schema/contract.schema.json (also exported as agent-task-compiler/schema).
Pluggable parser
The default parser is rule-based and deterministic. Swap it for any LLM:
import { compileIntent, type IntentParser } from 'agent-task-compiler';
const llmParser: IntentParser = {
name: 'gpt-4o',
async parse(intent) {
// ...call the model, return IntentIR
},
};
await compileIntent({ intent: 'fix bug in auth.ts', parser: llmParser });Safety defaults
Every destructive intent ships with
require-confirm+dry-runrestrictions.Secrets in intent trigger a
security-reviewerrole and a policy constraint.Production/migration intents require explicit approval.
strict: truefails fast on low confidence.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and run grounded business agents over MCP: agents, knowledge bases, skills, Storylines.
Immutable agent diagrams: create, edit, validate and render versioned diagrams over MCP.
MCP facade over the Nebelus Construction API. ~48 tools give full agent build parity: create/update/probe agents, edit graphs, attach knowledge and vector stores, wire connectors, set governance policies and locked guardrails, enable grounding-trace, and read deployment wiring. Purpose-built for regulated industries: data residency is enforced per region (EU / GCC-KSA), with PII controls and an audit trail. Agents are created as drafts — no deploy tool is exposed over MCP by design; publishing happens in the Nebelus console.
Free MCP contract auditing for AI agents and developers. Check tool schemas, detect potential breaking changes between versions, and get structured compatibility findings before deployment. Static analysis only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible clients to interact with deployed Agent5ive agents as tools. Allows users to query agent purposes and send messages to leverage Agent5ive capabilities through natural language.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to serve and query semantic models, providing tools for entity descriptions, metric lookups, context resolution, and operation validation for AI agents.MIT
- AlicenseBqualityBmaintenanceEnables centrally authoring and validating reusable agent guidance and delivering it across MCP-compatible hosts via registry resources, prompt templates, skill execution, and shared state.7MIT
- AlicenseAqualityCmaintenanceEnables any MCP client to run natural-language queries and actions against CRM and ticket systems, with schema-validated tools, audit logging, and server-side write gating.7MIT