Add MCP version to telemetry#3279
Merged
sbosio merged 1 commit intofeature/interactive-promptfrom Apr 10, 2025
Merged
Conversation
justinwilaby
approved these changes
Apr 9, 2025
justinwilaby
pushed a commit
that referenced
this pull request
Apr 17, 2025
sbosio
added a commit
that referenced
this pull request
May 15, 2025
sbosio
added a commit
that referenced
this pull request
May 16, 2025
justinwilaby
pushed a commit
that referenced
this pull request
May 22, 2025
justinwilaby
added a commit
that referenced
this pull request
May 28, 2025
* feature: POC for heroku REPL and prompt mode * fixed a small issue with enternig repl mode and added an exit command * Route through default command path when no prompt or REPL is used * Added completions and history to REPL * feat(REPL): added session and history restoration * Refinment on prompt delegation and error handling * Improved docs and arg completions * Added MCP mode to REPL * Corrected args handling for quote enclosed values * Add MCP version to telemetry (#3279) * Rebase updates * fix(W-18451520): mcp does not start on windows * Rebased onto main * feat: update Add plugin AI as a dependency in MCP feature branch (#3295) * Adding AI plugin core dependency * Bumping plugin-ai dependency to v1.0.1 * fix: multiple fixes to how REPL processes argv and autocomplete (#3300) * fix: multiple fixes to how REPL processes argv and autocomplete * Added --repl flag * ignore empty lines * removed unneeded args --------- Co-authored-by: Santiago Bosio <santiago.bosio@gmail.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.
Description
Here we change the CLI version string reported to our analytics (Backboard) and telemetry (Honeycomb) services to add the Heroku MCP Server version when running in MCP mode.
Testing
yarn && yarn build.HEROKU_MCP_MODE="true" HEROKU_MCP_SERVER_VERSION="1.2.3" DEBUG=http ./bin/run whoami.To check that the correct version is being sent to Backboard, copy the value assigned to the
dataquery param on the request to Backboard (GET https://backboard.heroku.com/hamurai?data=eyJzb3V...) and decode the Base64 data withecho -n "eyJzb3V..." | base64 -d && echo. In the decoded JSON data theproperties.versionvalue should be "10.4.1 (MCP 1.2.3)".To check that the correct version is being sent to Honeycomb, log-in to Honeycomb and open the following query results. Check that a span containing the expected version was received by the time the
herokucommand was executed.SOC2 Compliance
GUS Work Item