servers icon indicating copy to clipboard operation
servers copied to clipboard

fix: add missing allowed tools for Claude workflow

Open olaservo opened this issue 1 month ago • 2 comments

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 server
  • WebFetch - enables fetching schema content from GitHub URLs referenced in the system prompt

🤖 Generated with Claude Code

olaservo avatar Nov 30 '25 04:11 olaservo

@claude can you fetch the latest published typescript MCP schema?

(Edit: forgot that I can't trigger Claude against a branch from a fork.)

olaservo avatar Nov 30 '25 04:11 olaservo

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

claude[bot] avatar Nov 30 '25 04:11 claude[bot]

(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.

domdomegg avatar Dec 07 '25 23:12 domdomegg