Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The AI agent in Cursor can run terminal commands, but it cannot run git push, gh pr create, or any command that needs my SSH keys, credential helper, or logged-in session. The agent runs in an environment that doesn’t have access to my credentials.
From my perspective as a user, that’s a bug, not a feature. I’m using an AI-powered coding IDE; I expect the agent to be able to do normal dev workflows like pushing a branch or opening a PR. Instead I have to copy commands from the agent and run them myself in a separate terminal. Other AI coding tools (e.g. Claude, Codex) don’t impose this limitation in the same way.
Please give the agent a way to run authenticated git/gh operations in a context that has access to the user’s credentials (e.g. the user’s default shell environment or an opt-in “trusted” execution context), or document clearly why it’s impossible and what the supported workflow is.
Steps to Reproduce
Open Cursor IDE and start a conversation with the AI agent (e.g. Chat or Composer).
Do something that requires pushing to a remote (e.g. create a branch, make a commit, or ask the agent to “push my branch” or “open a PR”).
Let the agent run the commands (or ask it to run git push or gh pr create).
Observe: the agent either does not run the command, says it can’t run it, or runs it in an environment where it fails due to missing SSH/credentials.
Expected Behavior
When I ask the agent to push a branch or run other authenticated git/gh commands (e.g. git push, gh pr create), it should run them in an environment that has access to my credentials (SSH keys, credential helper, or gh auth) so the push or PR creation succeeds. Alternatively, the agent could run the command in my own terminal/shell where I am already authenticated. I expect an AI coding assistant in my IDE to support normal workflows like pushing and opening PRs without me having to copy the command and run it manually elsewhere.
Operating System
Windows 10/11
Linux
Version Information
Version: 2.4.28 (system setup)
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Model name: Auto
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor