examples/agent-demo/README.md
A multi-service project management app that demonstrates AI agents interacting with Go Micro services through MCP.
Three services registered in a single process:
| Service | Endpoints | Description |
|---|---|---|
| ProjectService | Create, Get, List | Manage projects with status tracking |
| TaskService | Create, List, Update | Tasks with assignees, priorities, and status |
| TeamService | Add, List, Get | Team members with roles and skills |
The demo starts with seed data: 2 projects, 7 tasks, and 4 team members.
go run main.go
Endpoints:
{
"mcpServers": {
"demo": {
"command": "go",
"args": ["run", "main.go"],
"cwd": "examples/agent-demo"
}
}
}
Try these with Claude Code or any MCP client:
description struct tags and @example comments guide the agentWithMCP one-liner — MCP gateway starts with a single optionSee the blog post for a detailed walkthrough.