🔄 MCP + Cursor GitHub Setup
@Ankitkushwaha90
About 🔄 MCP + Cursor GitHub Setup
🔄 MCP + Cursor GitHub Setup Set up full GitHub control via Cursor once your MCP server is running. 🛠️ Step-by-Step Cursor Setup for MCP 🧭 1. Open Cursor Editor Launch Cursor, the AI-first code editor. Click Settings (bottom-left corner ⚙️).
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP_server_cursor_to_github": {
"command": "node",
"args": [
"server.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 🔄 MCP + Cursor GitHub Setup?
It is a step-by-step guide for connecting Cursor (an AI-first code editor) to an MCP server that controls GitHub repositories. The setup enables developers to create, read, update, delete files and repos using natural language prompts in Cursor or terminal commands.
How to use 🔄 MCP + Cursor GitHub Setup?
First, create a GitHub fine‑grained personal access token and save it in mcp.json. Then run node server.js to start the MCP server on http://localhost:3333. In Cursor, go to Settings → MCP → Add Server, set the name, URL, and client (e.g., ollama). Install the GitHub adapter via npx -y @smithery/cli@latest install @smithery-ai/github --client claude --config mcp.json. Finally, use Cursor’s command palette (⌘+K or Ctrl+K) or npx @smithery/cli ask to control GitHub.
Key features of 🔄 MCP + Cursor GitHub Setup
- Create, update, read, and delete files in GitHub repos
- Create and delete GitHub repositories
- Search repositories with natural language queries
- Local MCP server running on
http://localhost:3333 - Fine‑grained token authentication for secure access
- Terminal‑driven automation via
npx @smithery/cli
Use cases of 🔄 MCP + Cursor GitHub Setup
- Automate CI/CD pipelines with GitHub Actions
- Trigger repository events through LLM agents
- Manage repositories securely with fine‑grained tokens
- Perform full dev automation without manual clicks
FAQ from 🔄 MCP + Cursor GitHub Setup
What are the prerequisites?
Node.js and npm installed, a GitHub account, the Cursor editor, and an MCP‑compatible agent setup with @modelcontextprotocol/sdk.
How do I configure authentication?
Create a fine‑grained GitHub personal access token with full repository and user read/write permissions, then place it under github.token in mcp.json.
What GitHub tools does the MCP server offer?
Tools include create_or_update_file, create_repository, delete_repository, get_file_contents, and search_repositories.
How can I test the server connection?
Run curl http://localhost:3333 — the server logs will show tool calls and API responses.
Can I use the server without Cursor?
Yes. You can execute commands via the terminal using npx @smithery/cli ask "your prompt".
Frequently asked questions
What are the prerequisites?
Node.js and npm installed, a GitHub account, the Cursor editor, and an MCP‑compatible agent setup with `@modelcontextprotocol/sdk`.
How do I configure authentication?
Create a fine‑grained GitHub personal access token with full repository and user read/write permissions, then place it under `github.token` in `mcp.json`.
What GitHub tools does the MCP server offer?
Tools include `create_or_update_file`, `create_repository`, `delete_repository`, `get_file_contents`, and `search_repositories`.
How can I test the server connection?
Run `curl http://localhost:3333` — the server logs will show tool calls and API responses.
Can I use the server without Cursor?
Yes. You can execute commands via the terminal using `npx @smithery/cli ask "your prompt"`.
Basic information
More Developer Tools MCP servers
LocalCan
LocalCanGives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

discoverGPT
Joe MonastierodiscoverGPT is visualAI's unified MCP gateway for AI commerce, exposing 29 tools across four capabilities on one canonical product catalog: trimodal search (natural-language, precise-color, and image-similarity), AI cata

SSH MCP Server
hypnosisSSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.
TranscriptFetch MCP Server
TranscriptFetchModel Context Protocol (MCP) server for TranscriptFetch: fetch YouTube transcripts, search, channels, and playlists from any MCP client.

ship.page
BitgateThrow HTML at an API, get an unguessable URL back. Zero-config remote MCP server — your agent deploys pages, sites and CI reports in one call. Free, no signup needed.
Comments