Skip to content

Add MCP version to telemetry#3279

Merged
sbosio merged 1 commit intofeature/interactive-promptfrom
sbosio/telemetry-mcp-version
Apr 10, 2025
Merged

Add MCP version to telemetry#3279
sbosio merged 1 commit intofeature/interactive-promptfrom
sbosio/telemetry-mcp-version

Conversation

@sbosio
Copy link
Copy Markdown
Contributor

@sbosio sbosio commented Apr 9, 2025

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

  • Checkout this branch and run yarn && yarn build.
  • Verify you're logged-in to the Heroku CLI.
  • Run the following command: 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 data query param on the request to Backboard (GET https://backboard.heroku.com/hamurai?data=eyJzb3V...) and decode the Base64 data with echo -n "eyJzb3V..." | base64 -d && echo. In the decoded JSON data the properties.version value 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 heroku command was executed.

SOC2 Compliance

GUS Work Item

@sbosio sbosio merged commit a36c09f into feature/interactive-prompt Apr 10, 2025
8 checks passed
@sbosio sbosio deleted the sbosio/telemetry-mcp-version branch April 10, 2025 15:07
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants