mcp-tools template
A stdio MCP server shipped inside the package:
plugin.json
mcp.json
server/index.mjs
skills/notes/SKILL.md
mcp.json starts the server with the bare node command and points it at
${PLUGIN_ROOT}/server/index.mjs. The server keeps its state in
${PLUGIN_DATA}/notes.json, which OpenAgent creates and preserves across
uninstall and reinstall.
Pointers
commandis either a bare executable resolved fromPATHor a./-prefixed path inside the package. Never use an absolute path or...${PLUGIN_ROOT}and${PLUGIN_DATA}are expanded inargs,envvalues, andcwd.envmay not redefine either variable.streamable-httpis available for remote servers and requires HTTPS except on loopback endpoints. The legacyssetransport is skipped.- Skill text is what makes a tool discoverable and usable; describe each tool and when to call it.