agent-task-compiler-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-task-compiler-mcpcompile an agent contract for migrating the database schema in users.ts and orders.ts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: yellow-pages
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
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 tools to validate multi-agent coordination thread turns and retrieve schema/samples.
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.133 npmMIT
- FlicenseAqualityDmaintenanceExposes two MCP tools (discover and execute) that enable agents to query an OpenAPI schema via natural language and execute matched API operations.2-
- 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