Conversation
Create packages/mcp-server with @modelcontextprotocol/sdk to expose fleet
management tools and resources to MCP-aware clients (Claude Desktop,
Spring AI, IDE agents).
- SUP-1050: Server setup with Streamable HTTP + STDIO transports, API key auth
- SUP-1051: 6 fleet tools (submit-task, get-task-status, list-fleet, get-cost-report, list-workers, stop-task)
- SUP-1052: 3 resources (fleet://agents, fleet://issues/{id}, fleet://logs/{id})
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace list-workers tool with forward-prompt per AC spec (SUP-1051) - Rename stop-task to stop-agent to match AC spec (SUP-1051) - Add 26 unit tests covering all 6 tool handlers (SUP-1051) - Add resource subscription notifications via polling (SUP-1052) - Fix graceful shutdown in both STDIO and HTTP modes (SUP-1050) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
worker-auth.tspattern), health check endpoint, graceful shutdownsubmit-task,get-task-status,list-fleet,get-cost-report,list-workers,stop-task— all backed by Redis session/worker storagefleet://agents(full fleet state),fleet://issues/{id}(issue-level agent progress),fleet://logs/{id}(session logs with disk hints)New
packages/mcp-serverpackage using@modelcontextprotocol/sdkfor external MCP client consumption (Claude Desktop, Spring AI, IDE agents).Test plan
pnpm --filter @supaku/agentfactory-mcp-server typecheckpassesnode --import tsx packages/mcp-server/src/cli.tsand verify/healthreturns OK--stdioflag for Claude Desktop integrationMCP_API_KEYorWORKER_API_KEYenv vars🤖 Generated with Claude Code