agent/claude/code/.claude-plugin/plugin.json
Snider 3782514acf
feat(cli): integrate MCP server (#71)
Exposes core CLI commands as MCP tools for AI agents.

This change introduces a Go-based MCP server that wraps the
existing core CLI commands (`go test`, `dev health`, `dev commit`),
providing structured JSON responses.

This allows AI agents to interact with the core CLI in a structured,
type-safe manner.

The implementation includes:
- A new Go HTTP server in `google/mcp/`
- Handlers for each of the core CLI commands
- Unit tests for the handlers with a mock `core` executable
- Documentation for the new MCP tools
- Integration with the `code` plugin via `plugin.json`
2026-02-02 07:14:50 +00:00

72 lines
1.6 KiB
JSON

{
"name": "code",
"description": "Core development plugin for Host UK monorepo - core CLI integration, formatting hooks, and autonomous workflows",
"version": "0.1.0",
"author": {
"name": "Host UK",
"email": "hello@host.uk.com"
},
"homepage": "https://github.com/host-uk/core-agent",
"repository": {
"type": "git",
"url": "https://github.com/host-uk/core-agent.git"
},
"license": "EUPL-1.2",
"keywords": [
"devops",
"monorepo",
"go",
"php",
"laravel"
],
"mcp": {
"server": "go run google/mcp/main.go",
"tools": [
{
"name": "core_go_test",
"description": "Run Go tests",
"parameters": {
"type": "object",
"properties": {
"filter": {
"type": "string"
},
"coverage": {
"type": "boolean",
"default": false
}
}
}
},
{
"name": "core_dev_health",
"description": "Check monorepo status",
"parameters": {
"type": "object",
"properties": {}
}
},
{
"name": "core_dev_commit",
"description": "Commit changes across repos",
"parameters": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"repos": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"message"
]
}
}
]
}
}