Repository navigation
fix(valkey): the MCP Valkey tools take no URL from the model - #2655
Merged
Merged
Conversation
Plans #2634. The change folder holds the proposal with its feasibility probe, the design, the spec delta and the tasks.
The tests call each tool through an MCP client with a URL that points to a loopback listener. The listener must get no connection and no password. The tools must still reach the configured server with the password. serving_valkey returns at once when no client connects.
The six valkey_* MCP tools published the option url. A model that gave it made devops-cli send the Valkey password to any host that it named, and valkey_set and valkey_flush wrote to that host. The tools now publish only their other options and use valkey.url. The commands keep --url for a person. Closes #2634
Principle 11 speaks of MCP tools. A paragraph now names the --url option of the devops valkey commands as the accepted case: a person types it and no model gives the URL. One test pins the case, and the change folder says so.
Archives 2634-valkey-mcp-tools-no-url and adds its requirement to the valkey-endpoint capability.
Owner
Author
|
Test results from the topic branch, rebased on
Fail-to-pass ( |
dan-petty
marked this pull request as ready for review
October 29, 2026 14:51
dan-petty-release Bot
added a commit
that referenced
this pull request
Oct 29, 2026
🤖 I have created a release *beep* *boop* --- ## [0.16.4](v0.16.3...v0.16.4) (2026-10-29) ### Bug Fixes * **valkey:** the MCP Valkey tools take no URL from the model ([#2655](#2655)) ([5bb1ed0](5bb1ed0)), closes [#2634](#2634) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.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.
The MCP tools
valkey_ping,valkey_stats,valkey_info,valkey_get,valkey_setandvalkey_flushpublished the optionurl. A model that gave it made devops-cli sendvalkey.passwordto any host that it named.valkey_setandvalkey_flushalso wrote to that host.The tools now publish only their other options, through
_PATH_PARAM_RESTRICTIONS, and usevalkey.url. A call that givesurlfails at the argument contract and opens no connection. Thedevops valkeycommands keep--urlfor a person. SECURITY.md records that case under principle 11.The shared test fake
serving_valkeynow returns at once when no client connects.Change: openspec/changes/archive/2026-10-29-2634-valkey-mcp-tools-no-url/
Closes #2634