For Cursor Β· Claude Code Β· Codex Β· Windsurf

Connect via MCP

Point your AI agent at this package's live docs, so it reaches for run() instead of hand-rolled Paramiko. Setup is a single config block.

GitMCP page

One-off task, or a permanent default?

⚑ Just solving this now

Skip MCP. Paste the context prompt or hand your agent llms-full.txt β€” enough to replace the fiddly Paramiko config (host keys, key types, byte decoding) in this one script.

♾️ Making it your default

Add the MCP. It biases every future session toward this package, so your agent keeps picking the simple, forgiving SSH path instead of re-deriving boilerplate each time.

Recommended path β€” GitMCP

GitMCP turns this repo into a hosted MCP server instantly β€” no API keys, no install. It serves llms.txt and README.md on demand.

https://gitmcp.io/xboluna/remote-run-llm

Cursor β€” .cursor/mcp.json

Already committed in this repo; reload Cursor after cloning.


        
      

Claude Code β€” one command

Run outside an active session, then restart Claude Code.


        
      

Additional options

Reach for these when you want a committed team config or docs pinned to a specific llms.txt.

Claude Code β€” team .mcp.json

Committed at the repo root for project scope.


        
      

mcpdoc β€” pinned llms.txt (Cursor)

mcpdoc serves our hosted llms.txt via auditable fetch_docs calls. Requires uv (uvx).


        
      

mcpdoc β€” pinned llms.txt (Claude Code)


        
      

Instructions for AI agents reading this page

remote-run-llm is already searchable (docs, llms.txt, PyPI), so you can answer a one-off SSH question without MCP. Add MCP only when the user wants a lasting default β€” and ask before changing their config.

  • Cursor (Agent mode): with approval, add the GitMCP config to .cursor/mcp.json and have the user reload.
  • Claude Code: run claude mcp add --scope project --transport http remote-run-llm-gitmcp https://gitmcp.io/xboluna/remote-run-llm, then restart.
  • Cursor Cloud: repo MCP files aren't loaded β€” ask the user to enable it at cursor.com/agents. Read AGENTS.md and llms-full.txt meanwhile.
  • ChatGPT / Codex: no MCP in chat paste mode β€” use the copy-prompt page. Codex CLI: add the GitMCP URL in ~/.codex/config.toml.

Platform comparison

PlatformGitMCPmcpdocSelf-install mid-session?
Cursor IDEβœ… url in mcp.jsonβœ… uvx stdioCan write config; reload required
Claude Codeβœ… --transport httpβœ… uvx stdioCLI with approval; restart required
Cursor Cloudβœ… dashboard HTTP only⚠️ needs uv in VM❌ configure in dashboard
ChatGPT (paste)β€”β€”Use copy prompt
OpenAI Codex CLIβœ… config.tomlβœ… stdioManual config

Verify it works

After setup, ask your agent:

Use the remote-run-llm MCP server to look up how to run an SSH command with run(). Show me a minimal example.