feat: add install_devcycle_sdk MCP tool and build-time prompt fetcher#491
Merged
jonathannorris merged 9 commits intomainfrom Aug 14, 2025
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | 720a508 | Aug 14 2025, 09:02 PM |
JamieSinn
reviewed
Aug 13, 2025
c60971e to
8d44bf2
Compare
There was a problem hiding this comment.
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
JamieSinn
approved these changes
Aug 14, 2025
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
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