claude self-hosted-runner setup loads all MCP tool definitions upfront
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Find the setup flow for claude self-hosted-runner setup and inspect where it starts Claude Code with its --tools list. Read the Configure tool search documentation linked in the issue to confirm how including ToolSearch changes MCP tool loading. Done means the wizard defers unused MCP and connector tool definitions instead of loading all of them upfront.
Written by the indexing model from the issue text.
Description
Problem
claude self-hosted-runner setup starts Claude Code with a fixed --tools list that does not include ToolSearch. When ToolSearch is left out of --tools, MCP tools load upfront instead of being deferred (Configure tool search).
As a result, every configured MCP server and claude.ai connector has its full tool definitions sent with every request in the wizard. The session transcript records deferred_tools_delta with toolSearchAbsent: true.
In my case that was 400 claude.ai connector tools (about 1.06 million characters of definitions) plus 207 tools from one user-scope MCP server. The wizard uses none of them.
Version
Claude Code 2.1.327, Linux
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 25k
- Avg merge
- 16h 19m
- Merged PRs (30d)
- 5
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:vscode bug has repro platform:vscode platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anthropics/claude-code#111416 ·
-
area:plugins area:tui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#111195 ·
-
area:docs area:security documentation enhancement platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anthropics/claude-code#111180 ·
-
area:ide enhancement platform:macos platform:vscode
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anthropics/claude-code#111172 ·
-
area:mcp bug has repro platform:linux platform:wsl
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#111077 ·
All issues in anthropics/claude-code
Similar issues
-
The manager preset saves launch definitions without the required file and digest pairPossibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day