What Cursor can do with GitHub Actions
Ask your agent in plain language. Each of these maps to a real tool on the server.
- Ask Cursor to use the manage permissions tool in GitHub Actions
- Ask Cursor to use the get workflow run logs tool in GitHub Actions
- Ask Cursor to use the list workflow runs tool in GitHub Actions
- Ask Cursor to use the manage workflow state tool in GitHub Actions
- Ask Cursor to use the get current user tool in GitHub Actions
Add the GitHub Actions MCP server to Cursor
Run these once. Afterwards, everyone you give access to signs in the same way.
1. Enable GitHub Actions in Metorial
In your Metorial portal, enable the GitHub Actions MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
2. Add Metorial to your MCP config
Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}3. Sign in
Open Customize in the sidebar, find Metorial and sign in to load GitHub Actions tools.
Give your team GitHub Actions in Cursor
Once GitHub Actions is enabled in Metorial, teammates sign in with SSO and get the same connection in Cursor, with only the tools their role allows.
One link covers every app you approve. See how the MCP gateway handles access, roles and audit logs for the whole company.
GitHub Actions tools available in Cursor
Full descriptions and inputs are on the GitHub Actions MCP server page.
- Manage Secrets: List, get, create/update, or delete Actions secrets at the repository, organization, or environment level.
- Control Workflow Run: Cancel, force-cancel, re-run, or delete a workflow run.
- Trigger Workflow: Trigger a GitHub Actions workflow run via the `workflow_dispatch` event.
- Get Workflow Run: Get detailed information about a specific workflow run, including its status, conclusion, timing, and associated commit.
- Manage Variables: List, get, create, update, or delete Actions configuration variables at the repository, organization, or environment level.
- List Artifacts: List workflow artifacts for a repository or a specific workflow run.
- Manage Artifact: Inspect, download a ZIP archive of, or permanently delete a workflow artifact.
- List Workflows: List GitHub Actions workflows defined in a repository.
- Manage Caches: List, inspect, and delete GitHub Actions caches for a repository.
- Manage Runners: List, inspect, remove, and manage self-hosted runners at the repository or organization level.
- Manage Permissions: Get or set GitHub Actions permissions for a repository.
- Get Workflow Run Logs: Download workflow run logs as a ZIP archive or individual job logs as text.
- List Workflow Runs: List workflow runs for a repository, optionally filtered by a specific workflow, branch, event, status, or actor.
- Manage Workflow State: Enable or disable a GitHub Actions workflow.
- Get Current User: Identify the GitHub user represented by the connected OAuth token or personal access token.
- And 1 more on the GitHub Actions MCP server page.
Using GitHub Actions tools in Cursor
What to expect once GitHub Actions is connected.
- Cursor picks MCP tools automatically when they are relevant, including in Plan Mode. Name a GitHub Actions tool to steer it.
- Cursor asks for approval before it uses an MCP tool by default. Click the arrow next to the tool name to check the arguments first.
- Switch the Metorial server off from Customize in the sidebar without removing it.
- Cursor shows each GitHub Actions tool response in chat, with expandable views of the arguments and the result.
Troubleshooting Cursor
- Metorial connects but tools are missing or failing
- Open the Output panel (Cmd+Shift+U), choose MCP Logs, and look for authentication or connection errors.
- Your company blocks the server
- Enterprise admins approve remote servers in Team Settings, then MCP Configuration. Ask them to add a URL entry for your Metorial URL.
- Cursor asks before every tool call
- That is the default. Allowlist the Metorial tools you trust in your Run Mode settings to run them without a prompt.
Based on the Cursor MCP documentation.
Frequently asked questions
Common questions about connecting GitHub Actions to AI agents with Metorial.
Does Cursor support the GitHub Actions MCP server?
Yes. Cursor connects to the GitHub Actions MCP server through its MCP config file, pointed at your Metorial URL. You need Cursor with MCP support.Do I need an API key to connect GitHub Actions to Cursor?
No. You sign in to GitHub Actions once through Metorial, and Cursor uses that connection. No API keys go into Cursor's settings.Which GitHub Actions tools can Cursor use?
All 16 GitHub Actions tools your team allows, such as Manage Secrets, Control Workflow Run, Trigger Workflow. Admins can narrow that list per team.Can I control which teammates use GitHub Actions in Cursor?
Yes. Role-based access control decides who can use GitHub Actions and which of its tools appear in Cursor, and every call is logged with the person's identity.What if Cursor doesn't show GitHub Actions tools?
Open the Output panel (Cmd+Shift+U), choose MCP Logs, and look for authentication or connection errors.
GitHub
Linear