Skip to content

Fix D4D Assistant MCP tool permissions in GitHub Actions#67

Merged
justaddcoffee merged 1 commit intomainfrom
fix/d4d-assistant-mcp-permissions
Nov 7, 2025
Merged

Fix D4D Assistant MCP tool permissions in GitHub Actions#67
justaddcoffee merged 1 commit intomainfrom
fix/d4d-assistant-mcp-permissions

Conversation

@justaddcoffee
Copy link
Collaborator

Summary

Fixes the permission error when the D4D Assistant tries to use MCP tools in GitHub Actions (issue #66).

Problem

The D4D Assistant workflow had a restrictive claude-allowed-tools list that didn't include MCP server permissions, causing permission errors when trying to use mcp__artl__get_europepmc_full_text and other MCP tools.

Solution

Updated .github/workflows/d4d-agent.yml to include:

  • mcp__github__* - GitHub operations via MCP
  • mcp__artl__* - Academic literature retrieval via MCP
  • WebSearch - Web search capabilities
  • WebFetch - Web content fetching
  • Additional Bash commands for tooling (poetry, make, python, uv, grep, etc.)

This matches the local .claude/settings.json permissions and allows the assistant to retrieve scientific papers when creating datasheets.

Test Plan

  • Verified changes match local settings.json permissions
  • Test on issue CM4AI D4D #66 after merge to verify MCP tools work in CI

🤖 Generated with Claude Code

Add MCP tool permissions to the D4D Assistant GitHub Actions workflow
to enable ARTL and GitHub MCP server usage. This fixes the permission
error when the assistant tries to use mcp__artl__get_europepmc_full_text
and other MCP tools in CI.

The workflow now includes:
- mcp__github__* - GitHub operations via MCP
- mcp__artl__* - Academic literature search via MCP
- WebSearch - Web search capabilities
- WebFetch - Web content fetching
- Additional Bash commands (poetry, make, python, uv, grep, etc.)

This matches the local .claude/settings.json permissions and allows
the D4D Assistant to retrieve scientific papers when creating datasheets.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@justaddcoffee justaddcoffee merged commit 9c1b6e8 into main Nov 7, 2025
3 checks passed
@justaddcoffee justaddcoffee deleted the fix/d4d-assistant-mcp-permissions branch November 7, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant