Skip to content

docs(security): SECURITY.md says that the Valkey commands are not MCP tools #2670

Closed

Description

@dan-petty

Problem Description

SECURITY.md, under principle 11, has a paragraph for the --url option of the devops valkey commands. The last sentence says: "Those commands are not MCP tools."

This is wrong. Six of the nine devops valkey commands are MCP tools: valkey_ping, valkey_stats, valkey_info, valkey_get, valkey_set and valkey_flush. They are in CONST_MCP_EXPOSURE_TABLE. Since #2634, these tools publish no url option. Only valkey keys, valkey backup and valkey cli are not MCP tools.

A reader may think that a Valkey command cannot be reached by a model. The rule that matters is different: the six tools publish no URL, and the person-typed --url of the commands is the accepted case.

Reproduction Steps

  1. Open SECURITY.md and read the paragraph under principle 11.
  2. Open docs/MCP_TOOLS.md and search for valkey_.
  3. See six Valkey tools in the list.

Expected vs Actual Behavior

Expected: the paragraph says that the tools publish no URL and that only a person types --url at the command line.

Actual: the paragraph says that the commands are not MCP tools.

Environment Diagnostics

  • DevOps CLI Version: 0.16.3 (main at 5bb1ed0f)
  • Python Version: 3.14.10
  • OS & Architecture: Linux x86_64
  • Execution Environment: DevContainer

Logs, Traces, or Terminal Output

SECURITY.md: "Those commands are not MCP tools."
docs/MCP_TOOLS.md: valkey_ping, valkey_stats, valkey_info, valkey_get, valkey_set, valkey_flush

Pre-Submission Checklist

  • I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
  • I have checked existing issues and pull requests to ensure this is not a duplicate.

Proposed design

Problem statement

SECURITY.md principle 11 states that the devops valkey commands are not MCP tools. This is wrong. Six of the nine valkey commands are MCP tools. Since #2634, those tools publish no url option. A reader may think a model cannot reach a Valkey command. The rule that matters is different: the six tools publish no URL, and a person types --url at the command line. The paragraph must state this correctly.

Acceptance criteria

Requirement: Correct MCP tool identification

The paragraph under principle 11 SHALL identify the six valkey commands that are MCP tools by name.

Scenario: Paragraph names MCP tools

  • WHEN A reader reads the paragraph under principle 11 about the --url option
  • THEN The paragraph names valkey_ping, valkey_stats, valkey_info, valkey_get, valkey_set and valkey_flush as MCP tools

Requirement: No URL option on MCP tools

The paragraph SHALL state that the six MCP valkey tools publish no url option.

Scenario: MCP tools lack url option

  • WHEN A reader reads the paragraph about the --url option
  • THEN The paragraph states that the MCP tools publish no url option

Requirement: Person types --url

The paragraph SHALL state that a person types --url at the command line and no model gives the URL.

Scenario: Person-typed URL

  • WHEN A reader reads the paragraph about the --url option
  • THEN The paragraph states that a person types --url and no model gives the URL

Requirement: Remove false claim

The paragraph SHALL NOT state that the valkey commands are not MCP tools.

Scenario: No false claim

  • WHEN A reader reads the paragraph under principle 11
  • THEN The paragraph does not contain the sentence 'Those commands are not MCP tools.'

Existing Tool Considered

No check has run. This is a documentation correction to SECURITY.md. No external tool or library covers the need of correcting a factual error in the project's own security policy document. The cost is editing one paragraph in SECURITY.md.

Key questions

  • Which valkey commands are MCP tools?: valkey_ping, valkey_stats, valkey_info, valkey_get, valkey_set and valkey_flush. They are in CONST_MCP_EXPOSURE_TABLE and listed in docs/MCP_TOOLS.md. [sources: docs/MCP_TOOLS.md, CHANGELOG.md:3284, tests/test_valkey.py:1032]
  • Which valkey commands are not MCP tools?: valkey keys, valkey backup and valkey cli. [sources: SECURITY.md]
  • Do the six MCP valkey tools publish a url option?: No. Since fix(valkey): a url that an mcp valkey tool gets from the model gets the valkey password #2634, the valkey_* MCP tools publish no url option. The design of fix(ai): a url that an mcp tool gives to devops ai gateway status, routes or probe-backend reaches loopback and gets the ai api key #2480 records that the Valkey password goes to the URL, and fix(valkey): a url that an mcp valkey tool gets from the model gets the valkey password #2634 removed the url option from the tools. [sources: openspec/changes/archive/2026-10-29-2480-mcp-gateway-url-override/design.md, openspec/changes/archive/2026-10-29-2480-mcp-gateway-url-override/tasks.md]
  • What should the corrected paragraph say?: The paragraph SHALL state that six of the nine devops valkey commands are MCP tools, that those tools publish no url option, and that a person types --url at the command line so valkey.password goes to the host the person names. It SHALL NOT state that the commands are not MCP tools. (best practice) [sources: SECURITY.md, docs/MCP_TOOLS.md]
    • Rejected: Keep the current sentence and add a correction. Rejected. The current sentence is factually wrong. Keeping it and adding a correction leaves a contradiction in the security policy.
    • Chosen: Replace the sentence with the correct statement. Chosen. The issue body states the expected behavior. The paragraph names the six MCP tools, states they publish no url option, and states that a person types --url. This removes the false claim and states the rule that matters.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/docs
    status/new
    value/medium
    effort/low
    on Oct 29, 2026
  2. dan-petty commented on Oct 29, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/docs. The candidate corrects a factual error in the SECURITY.md document.
    • Priority: P2-Medium. A security document states the wrong fact about MCP tool exposure, which can mislead readers about the threat model.
    • Value: Medium. Correcting a false security claim prevents readers from drawing wrong conclusions about model access to valkey commands.
    • Effort: Low. The fix is a single paragraph rewrite in one file.
    • Related: fix(valkey): a url that an mcp valkey tool gets from the model gets the valkey password #2634, which asks for a different change. Both concern the valkey MCP tools and the url option, but #2634 removed the url option from code while this candidate fixes the resulting factual error in SECURITY.md text.
  3. added
    priority/p2-medium
    on Oct 29, 2026
  4. added
    scope/security
    on Oct 30, 2026
  5. added
    status/ready
    and removed
    status/new
    on Oct 30, 2026
  6. devops-cli-service commented on Oct 30, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 46fd02d (see proposed design in issue body).

  7. devops-cli-service commented on Nov 2, 2026

    @devops-cli-service
    Contributor

    Staged: branch docs/2670-security-md-says-that-the-valkey, draft pull request #3157. The pull request plans the item and closes no issue.

    The task groups, with the tokens of the inputs of each step, for a budget of 40000 tokens:

    1. Correct the Valkey paragraph in SECURITY.md: 7580 tokens
  8. added 2 commits that reference this issue on Nov 2, 2026
  9. added
    status/planned
    owner/service
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/planned
    status/in-progress
    on Nov 2, 2026
  10. devops-cli-service commented on Nov 3, 2026

    @devops-cli-service
    Contributor

    Pull request #3340 is ready for review. The checks passed.

    Spend: 39 model requests, 1508343 input tokens, 4699 output tokens.

  11. devops-cli-service commented on Nov 3, 2026

    @devops-cli-service
    Contributor

    The runner Job devops-cli-runner-20261103-080231-ed7c ended: succeeded.
    Image digest: sha256:ef0d0ace3359daaf57e2bb1904dd131a16eca5fd52c54ffdcfeb5cf25f2c41f8

    The last lines of its log:

    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -n <masked> SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w valkey_get -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w valkey_set -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w valkey_flush -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w <masked> -- SECURITY.md
    Tool call: shell, program git, refused.
    Tool call: shell, started: git grep -w <masked> -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w <masked> -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: shell, started: git grep -w <masked> -- SECURITY.md
    Tool call: shell, program git, ok.
    Tool call: edit_file, ok.
    Tool call: shell, started: git diff
    Tool call: shell, program git, ok.
    Tool call: shell, started: other
    Tool call: shell, program other, refused.
    Tool call: shell, started: other
    Tool call: shell, program other, refused.
    Tool call: shell, started: git status
    Tool call: shell, program git, ok.
    Tool call: shell, started: git diff --stat
    Tool call: shell, program git, ok.
    Tool call: shell, started: other
    Tool call: shell, program other, refused.
    Tool call: shell, started: other
    Tool call: shell, program other, refused.
    Tool call: shell, started: git log --oneline -1
    Tool call: shell, program git, ok.
    Tool call: shell, started: git diff --quiet || echo <masked>
    Tool call: shell, program git, refused.
    Tool call: shell, started: git diff --quiet
    Tool call: shell, program git, ok.
    ✓ Took 1 item(s) to a ready pull request, stopped 0.
    Elapsed: 14m 55s
    
  12. removed
    owner/service
    on Nov 3, 2026
  13. removed
    status/in-review
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/securitysource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions