agent-mcp

v3.5.6
@wowok/agent-mcp Checked 2 days ago Published 2 days ago

Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.

WoWok Agent (MCP Server) Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust. Skills: https://github.com/wowok-ai/skills All configuration surfaces follow one user-ratified constitution (see src/config/README.md):

Summary extracted from the README.

WoWok Agent (MCP Server)

Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.

Skills: https://github.com/wowok-ai/skills

Docs: https://github.com/wowok-ai/docs

Configuration Priority Constitution

All configuration surfaces follow one user-ratified constitution (see src/config/README.md):

  • Industry rules chain: system-code config < industry config < product-template rules < Prompt.
  • Persona chain: engine built-ins < system persona < general config files (judgment.json, match-policy.json) < account persona < Prompt.
  • AI config writes are code-gated on human confirmation: the AI may read, draft, and propose, but every persistent write throws unless the user explicitly confirms (confirm=true). Gated channels: config_operation judgment_doc_patch / match_policy_patch / match_policy_clear / store_dual_payout_set, persona_operation set carrying a long_term payload, and industry template writes (two-phase authorize=true). Gate-free by design: session-only overrides (judgment_set / judgment_reset), transient persona layers (apply / apply_delta / sync / current-only set), and human hand edits of the config files.
  • Save-time validation splits by cost: structural problems (schema violations, unknown keys, missing ids, bad vocabulary refs) block the write and the last good version stays in force; schema-legal but suspicious values (weights: 0, a weight dominating >5×, unknown_policy: "drop", top_n > 200) apply and ride back as warnings[] for the AI to relay.

Quick Start

1. Install MCP Server

{
  "mcpServers": {
    "wowok": {
      "command": "npx",
      "args": [
        "-y",
        "@wowok/agent-mcp"
      ]
    }
  }
}

Native Windows: a bare npx command cannot be spawned (ENOENT). Use "command": "cmd", "args": ["/c", "npx", "-y", "@wowok/agent-mcp"] — or install the skills package below, which registers a version-pinned launcher (<absolute node> <abs>/@wowok/agent-mcp/dist/index.js, no PATH lookup) for you.

Skills significantly reduce the learning curve and usage difficulty of the MCP Server. They provide structured guidance for AI assistants on complex system building, tool usage, and safety protocols. See the WoWok Skills repository for full details.

# Personal (global) — postinstall writes skills to every detected client
# and registers the MCP server (user scope):
npm install -g @wowok/skills
wowok-skills doctor        # per client: skills fresh/stale/missing + MCP registration

# Project (team sharing) — commit to git for collaboration:
cd your-project
wowok-skills init                        # all targets, user + project scope (default)
wowok-skills init --project              # project scope only (commit these)
wowok-skills init --target claude,cursor --project
wowok-skills init --target agents        # cross-client .agents/skills root
wowok-skills init --target all           # every target (same as the default; kept for scripts)

wowok-skills uninit                      # remove skills everywhere (MCP entries untouched)

pnpm 10 / ignore-scripts=true: lifecycle scripts are blocked by default, so pnpm add -g @wowok/skills installs the CLI but writes no skills and never registers the MCP server. Run wowok-skills init afterwards (it is idempotent and does exactly what the postinstall hook does), or approve the build script with pnpm approve-builds -g.

Requirements: Node.js 20 or newer. The MCP server's SDK declares engines.node >= 20, and this package declares the same, so npm warns instead of failing at startup with a syntax error.

agents is the cross-client root (.agents/skills), read by Codex, Cursor, Devin Desktop, Kilo, Google Antigravity and Trae project scope — not Trae's native root. Trae's own target id is trae (~/.trae-cn/skills on CN, .trae/skills project). Target ids: agents, claude, codex, gemini, qwen, grok, opencode, antigravity, trae, cursor, windsurf, codebuddy, workbuddy, qoder, cline, kilo, copilot.

Supported clients: Claude Code, OpenAI Codex CLI / ChatGPT (Codex mode), Gemini CLI, Qwen Code, Grok Build, OpenCode, Google Antigravity, Trae (CN & international), Cursor, Devin Desktop (formerly Windsurf), CodeBuddy, WorkBuddy, Qoder, Cline, Kilo Code, GitHub Copilot.

Note: The skills package auto-installs and configures the @wowok/agent-mcp MCP server. Set WOWOK_SKILLS_NO_MCP=1 to skip MCP management.

Available Skills

Always loaded (1 skill — foundational layer):

Skill Purpose
wowok-output Output processing — address resolution, name mapping, amount formatting, data visualization

On-demand (12 WoWok skills — loaded by context; role is the wowok-skills role id):

Skill Role Purpose
wowok-order 👤 Customer Buyer lifecycle — pre-purchase due diligence, order creation, progress, arbitration
wowok-provider 🏪 Provider Service provider guide — create Service, Machine, Allocators, order fulfillment, fork iteration
wowok-supplier 📦 Supplier Supplier guide — present to a Demand, fulfill sub-orders, collect settlement
wowok-collaborator 🤝 Collaborator Process collaborators — execute workflow forwards (internal staff / named operators)
wowok-arbitrator ⚖️ Arbitrator Arbitration service — create Arbitration, handle disputes, organize voting, fees
wowok-machine 🏪 Provider Machine workflow design — nodes, pairs, forwards, guards, dependency-first build order
wowok-market 🛒 Shared Market discovery & operations — match/discover, arbitration_score, metrics, anti-cheat
wowok-governance 🛡️ Shared Permission / Treasury / Personal governance — indexes, roles, fund stewardship, audit
wowok-messenger 📨 Shared Encrypted messaging — E2E communication, WTS evidence, anti-spam, Contact lifecycle
wowok-onboard 🆕 Shared First-touch onboarding — business dialogue from zero to the first published Service
wowok-planner 🛠️ Shared Planning — natural-language intent → Object Dependency Graph (ODG)
wowok-auditor 🛠️ Shared Pre-publish audit — Guard completeness, Machine soundness, fund flow, readiness

Generic assistant skills (3 — shipped by the same package, not WoWok-specific):

Skill Role Purpose
file-analysis Shared Locate → extract → analyze uploaded documents and workspace files; every claim traces to a file actually read
data-analysis Shared Exact computation in the code_run sandbox — CSV/JSON transform, aggregation, statistics, file generation
web-research Shared Real-time web search/fetch with source discipline — current facts with citations

Sunk into the MCP knowledge layer (no skill needed — content is served directly by the MCP server):

Former skill Now served by
wowok-tools schema_query action='get_tool_reference'
wowok-safety schema_query action='get_safety_rules' + the runtime confirm gate on every write
wowok-scenario industry_pack_operation (recommend_industry / list_modes)
wowok-guard schema_query action='get_guard_design_patterns' / 'get_guard_templates'

These four directories are detected and deleted on install, so an upgraded machine never carries stale copies.

Tip: wowok-output is always loaded; every other skill is installed too and selected by the client from its description. Guard design, safety rules, tool reference, and industry mode content are served directly by the MCP server — no skill installation required.