Skip to content

[Bug Bash] MCP lists only 3 tools #114

Closed

Description

tools/list returns read_file, shell, write_file. The README also lists edit_file, glob, grep

Seen in step 5 of the bug bash flow, on env 40a6c63:

curl -s -X POST localhost:7777/v1alpha/envs/alice/mcp \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

main (de462e9) is the same. internal/mcp/tools.go registers only read_file, write_file and shell, but the "Built-in MCP Server > Available Tools" table in README.md also lists edit_file, glob and grep.

History: the initial commit (5287789) had all six in internal/tool/fs/fs.go. #27 (e57d290) moved the MCP server to internal/mcp/tools.go and brought over only three. The README table wasn't updated.

Either port edit_file, glob and grep to internal/mcp/tools.go, or drop them from the README table. An agent that reads the README, or follows the old write_file description pointing it to edit_file, will call tools that don't exist.

Found during the Substrate GKE bug bash, with help from an AI agent.

Activity

  1. rakyll commented on Oct 27, 2026

    @rakyll
    Collaborator

    Fixed via #120. We decided to remove glob and grep in favor of the shell tool. Updated the README. We can revisit in the future if we feel strong about them.

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

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions