fix: add missing allowed tools for Claude workflow
Description
Add mcp__mcp-docs and WebFetch to the allowedTools in the Claude GitHub Action workflow so Claude can use the MCP docs server and fetch schema content from GitHub URLs.
Server Details
- Server: N/A (workflow config)
- Changes to:
.github/workflows/claude.yml
Motivation and Context
The Claude workflow was failing to use the mcp-docs MCP server because only Bash was in the allowedTools list. See issue #3081 and failed run.
How Has This Been Tested?
Since I can't test from a PR, lets see if this one fixes the current issue. Will eventually set this up in one of my own repos.
Breaking Changes
None
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation update
Checklist
- [x] I have read the MCP Protocol Documentation
- [x] My changes follows MCP security best practices
- [ ] I have updated the server's README accordingly
- [ ] I have tested this with an LLM client
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x] I have added appropriate error handling
- [x] I have documented all environment variables and configuration options
Additional context
The fix adds:
mcp__mcp-docs- enables Claude to use tools from the mcp-docs MCP serverWebFetch- enables fetching schema content from GitHub URLs referenced in the system prompt
🤖 Generated with Claude Code
@claude can you fetch the latest published typescript MCP schema?
(Edit: forgot that I can't trigger Claude against a branch from a fork.)
Claude encountered an error —— View job
Failed with exit code 128
I'll analyze this and get back to you.
(Edit: forgot that I can't trigger Claude against a branch from a fork.)
Yeah I do wonder if we can fiddle with/fork the action to support this, seems like an annoying restriction.