anthropomorphic
v1.0.0
Published
Anthropomorphic operating instructions as a global MCP server + multi-client installer. Five tools (run_ant_method/loop/judge/domain/philosophy) shipped to OpenCode, Claude Desktop, Cursor, and Cline via marker-fenced AGENTS.md blocks.
Maintainers
Readme
Anthropomorphic
CLI: anthro
Anthro operating instructions, packaged as a global MCP server + a multi-client installer for OpenCode, Claude Desktop, Cursor, and Cline / VS Code.
Extreme Token Optimization
Every decision is measured against context cost:
- Heavy checklists live on disk (
~/.ant/skills/,assets/flowcharts.md), loaded via MCP tools on demand — never bloating the system prompt. - UI stubs for OpenCode are dynamically written to
~/.config/opencode/skills/during install — one-liner stubs that route slash-command UI entries to the corresponding MCP tools. - The MCP server returns instructions + skill bodies + flowcharts only when a tool is called, not preloaded.
MCP Tools
| Tool | Purpose |
|---|---|
| run_ant_method | The core loop (think, act, prove). Returns the full Anthro behavioral rules + the ant-method skill + the master flowcharts. |
| run_ant_loop | Multi-agent orchestration. Returns the rules + the ant-loop skill + the flowcharts. |
| run_ant_judge | Adversarial verification (diffs, tests, fraud hunting). Returns the rules + the ant-judge skill + the flowcharts. |
| run_ant_domain | Generating new domain adapters. Returns the rules + the ant-domain skill + the flowcharts. |
| run_ant_philosophy | Fetch the core Anthro philosophy for one-shot development contexts. Returns the verbatim body of philosophy.md. |
Install
npm install -g anthropomorphic # install globally from the npm registry
anthro # run the interactive installer (auto-detects active AI clients)The installer auto-detects OpenCode, Claude Desktop, Cursor, and Cline/VS Code, then configures each with one prompt. For manual setup or a specific client, add the MCP config block directly (see Manual MCP Configuration below).
All available commands:
anthro # interactive installer (auto-detect clients)
anthro --setup # force-enable clients, bypass auto-detect
anthro init # project-local install in CWD
anthro uninstall # cleanly remove (MCP configs, AGENTS.md blocks, skill stubs, ~/.ant/)
anthro serve # start the MCP stdio server directly (for manual MCP host config)
anthro --help # show all available commandsThe installer:
- Passively scans standard configuration paths for the 4 supported AI clients.
- Asks one decision question: global agent root (recommended) or project-specific (
anthro init). - Copies the
skills/directory andflowcharts.mdinto~/.ant/. - Surgically writes the MCP server entry into each detected client's JSON config (preserving siblings and comments).
- Appends a marker-fenced
<!-- anthro:start -->...<!-- anthro:end -->block into the client'sAGENTS.md(orCLAUDE.mdfor Claude Desktop's project config), containing the synthesized Anthro philosophy + tool directory + flowcharts hook. - For OpenCode, generates 5 skill stub files under
~/.config/opencode/skills/that wire slash commands to MCP tools.
How it works
- The
AGENTS.mdblock instructs the agent thatflowcharts.mdis the Master Reference Map and that it must be read before any complex workflow, viarun_ant_methodwithtask: "flowcharts.md". - The MCP server's
initializeresponse reinforces this. - Each tool handler reads
~/.ant/skills/<skill>/SKILL.md, prepends the verbatimphilosophy.mdbody and theflowcharts.mdcontent, and returns the combined text as the tool response.
Manual MCP Configuration
If the installer does not detect your client or you prefer to configure manually:
OpenCode
Add to ~/.config/opencode/opencode.jsonc:
{
"mcp": {
"anthro": {
"type": "local",
"command": ["anthro", "serve"],
"enabled": true
}
}
}Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"anthro": {
"command": "anthro",
"args": ["serve"]
}
}
}Restart the client after adding the config. Verify the server responds correctly:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | anthro serveShould return a JSON-RPC initialize response with the five run_ant_* tools listed in the server instructions.
License
MIT
