-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add install_devcycle_sdk MCP tool and build-time prompt fetcher #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | 720a508 | Aug 14 2025, 09:02 PM |
c60971e to
8d44bf2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new MCP tool to fetch DevCycle SDK installation guides from GitHub and implements a build-time generation system for maintaining the list of available guides.
- Introduces
install_devcycle_sdkMCP tool that fetches Markdown installation guides by name - Implements build-time script to generate TypeScript constants from GitHub repository contents
- Updates build process to include guide list generation before compilation
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/mcp/tools/installTools.ts | New MCP tool implementation for fetching install guides |
| src/mcp/tools/installGuides.generated.ts | Auto-generated constants file with available guide names |
| src/mcp/tools/index.ts | Registers the new install tools with the MCP server |
| src/mcp/server.ts | Adds support for plain string returns from tool handlers |
| scripts/fetch-install-prompts.js | Build-time script to generate guide constants from GitHub API |
| package.json | Updates build script to run guide generation |
| oclif.manifest.json | Version bump from 6.0.0 to 6.0.1 |
| README.md | Platform-specific version display update |
| .gitattributes | Marks generated file as linguist-generated |
Comments suppressed due to low confidence (1)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
ba818d6 to
0d493d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Summary
Adds a new MCP tool to fetch DevCycle install prompts by guide name and vendors the list of available guides at build time.
Changes
install_devcycle_sdkMCP tool that returns the raw Markdown for a guide.scripts/fetch-install-prompts.jsto:install-prompts/**/*.md(including OpenFeature)src/mcp/tools/installGuides.generated.ts(enum of valid slugs)package.jsonto run the generator inyarn build.linguist-generatedin.gitattributes.Usage
install_devcycle_sdkwithguideset to any slug from the generated list (e.g.,react,openfeature/react,android-openfeature), and the tool returns the Markdown content.References