feat(templates): add MCP HTTP server template — #96 follow-on#33
Merged
feat(templates): add MCP HTTP server template — #96 follow-on#33
Conversation
Adds `mcp-server-http` as a first-class project type in ao-starter. Teams building MCP servers with StreamableHTTP or SSE transport can now run `ao init` and get purpose-built agent + phase configs out of the box. Changes: - New project type `mcp-server-http` in ProjectType union (types/index.ts) - Auto-detection in ProjectDetector: looks for @modelcontextprotocol/sdk dependency + HTTP transport indicators (express/fastify/hono deps or StreamableHTTPServerTransport / SSEServerTransport in source files) - mcp-server-http-agents.yaml.hbs: mcp-implementer, transport-engineer, quality-engineer, type-safety-engineer agents - mcp-server-http-phases.yaml.hbs: tool-design → transport-setup → implementation → type-checking → tool-validation → integration-testing → documentation pipeline - template-generator.ts: outputs agents-mcp-http.yaml + phases-mcp-http.yaml - templates.ts: adds entry to AVAILABLE_TEMPLATES list Build: tsc clean. Tests: 259/259 pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The repo uses pnpm (pnpm-lock.yaml) but CI was configured for npm, causing all CI jobs to fail with "Dependencies lock file is not found". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Lock files should be committed to ensure reproducible builds in CI and across development environments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
CI StatusCI is now running with the correct package manager (pnpm). Two fixes pushed:
Remaining CI failures are pre-existing (all 3 recent main branch CI runs also fail):
The PR's new code (templates, detector, types) builds and type-checks cleanly. |
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
mcp-server-httpas a first-class project type, enablingao initto auto-detect and scaffold MCP HTTP server projects@modelcontextprotocol/sdkin package.json + HTTP transport indicators (StreamableHTTPServerTransport,SSEServerTransport, or HTTP server deps like express/fastify/hono)mcp-implementer,transport-engineer,quality-engineer,type-safety-engineertool-design → transport-setup → implementation → type-checking → tool-validation → integration-testing → documentationao templatesoutput with description and suitable-for metadataTest plan
pnpm build— tsc clean, zero type errorspnpm test— 259/259 tests pass (all pre-existing suites green)ao initin an MCP HTTP server project (with@modelcontextprotocol/sdk+ express dep) and verify.ao/agents-mcp-http.yaml+.ao/phases-mcp-http.yamlare generatedao templatesand verifymcp-server-httpappears in the listContext
Part of #96 follow-on work. ao-cli#96 shipped HTTP/remote MCP server support in the core engine; this PR ensures
ao-startercan scaffold the corresponding.ao/config for teams building those servers.🤖 Generated with Claude Code