Developer Guides
Plugin Development
Build SOIT plugin packages that export governed tools, MCP servers, skills, and workflow nodes.
Plugins package capability extensions for installation into SOIT workspaces. A plugin can export tools, MCP servers, skills, workflow nodes, or a mixed set of artifacts.
Package shape
A plugin is a zip archive:
manifest.json # package metadata + enabled flag
spec.json # capability contract, validated against plugin_spec.schema.json
files/
skills/<skill_name>.json
mcp/<server_name>.json
tools/<tool_name>.json
nodes/<node_name>.jsonDeclaring exports
spec.json declares what the plugin contributes:
spec.plugin_type—skill,mcp,tool,workflow_node, ormixed.spec.exports.tools— a list of tool refs liketool:http:ticket_create; for each ref, SOIT loads the tool spec fromfiles/tools/<tool_name>.json(the last ref segment).spec.exports.workflow_nodes— node refs likenode:tool:health_check, loaded fromfiles/nodes/<node_name>.json.spec.exports.skillsandspec.exports.mcp_servers— plugin-owned skill and MCP artifacts.spec.artifacts— optional explicit mapping of exported refs to package JSON paths.
Development workflow
- Author
spec.jsonand validate it againstkernel/specs/v1/plugin_spec.schema.json— installation rejects invalid specs. - Add exported artifact files under
files/. - Zip and upload through the web
/pluginworkbench orPOST /api/v1/plugins/package?mode=auto. - Iterate: bumping
spec.versionand re-uploading upgrades the installation; the same version re-upload requires explicitmode=reinstall. - Verify runtime registration:
GET /api/v1/plugins/runtime/toolsshows what the tool router can dispatch, andPOST /api/v1/plugins/runtime/reloadre-syncs after manual changes.
Rules
- Exported tools and workflow nodes use stable refs — consumers bind the ref, not the file.
- Installation, upgrade, enablement, disablement, and uninstall flow through plugin lifecycle APIs; artifacts on disk under
var/plugins/are managed by the platform. - Projectors call module application services — plugin lifecycle code never writes skill, MCP, tool, or workflow business details directly.
- Plugin tool calls execute through the governed tool router, so timeouts, audit, egress policy, and cost tracking apply automatically.
Related pages
- Plugins — the lifecycle and API surface.
- MCP and Skills — the plugin-owned artifact model.
- Specs and Schemas — refs and validation rules.