Skip to content

Fix missing GitHub MCP tools in Claude Implementation workflow#1159

Open
atxtechbro wants to merge 1 commit intomainfrom
fix/mcp-github-create-pr-tool
Open

Fix missing GitHub MCP tools in Claude Implementation workflow#1159
atxtechbro wants to merge 1 commit intomainfrom
fix/mcp-github-create-pr-tool

Conversation

@atxtechbro
Copy link
Copy Markdown
Owner

Summary

Enable specific GitHub MCP tools in the Claude Implementation workflow to allow automated PR creation and other GitHub operations.

Problem

Claude was unable to create pull requests automatically when requested because the mcp__github__create_pull_request tool wasn't explicitly allowed in the workflow configuration.

Solution

Updated allowed_tools in .github/workflows/claude-implementation.yml to include:

  • mcp__github__create_pull_request - for creating PRs
  • mcp__github__get_issue - for reading issue details
  • mcp__github__add_issue_comment - for commenting on issues
  • mcp__github__update_issue - for updating issue status
  • mcp__github__search_issues - for searching related issues
  • mcp__github__list_pull_requests - for checking existing PRs
  • mcp__github__merge_pull_request - for merging PRs

Testing

After merging, test by creating a new issue and asking Claude to implement it with automatic PR creation.

Related

Principles

  • systems-stewardship: Maintaining GitHub Actions workflows for reliable automation
  • ose: Enabling elevated automation without manual intervention

…tation workflow

Enable mcp__github__create_pull_request and other GitHub tools that Claude needs
for automated PR creation. The generic mcp__github permission wasn't sufficient.

This fixes the issue where Claude reports "PR Creation tool not available"
when asked to create pull requests automatically.

Principle: systems-stewardship
@amazon-q-developer
Copy link
Copy Markdown
Contributor

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-q-developer
Copy link
Copy Markdown
Contributor

✅ I finished the code review, and didn't find any security or code quality issues.

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.

Fix missing mcp__github__create_pull_request in Claude Implementation workflow

1 participant