MCP Setup
Config locations
| Scope | Path |
|---|---|
| Global | ~/.cursor/mcp.json |
| Project | .cursor/mcp.json |
Install from GitHub dependency
For @valentierro/mcp-github:
{
"mcpServers": {
"github-local": {
"command": "npx",
"args": ["-y", "github:valentierro/mcp-github"]
}
}
}
Install from local path (development)
{
"mcpServers": {
"github-local": {
"command": "node",
"args": ["/absolute/path/to/mcp-github/dist/index.js"]
}
}
}
Verification checklist
MCP Setup:
- [ ] mcp.json valid JSON
- [ ] Server command resolves (node/npx/docker)
- [ ] Auth configured (gh auth login / env vars)
- [ ] Cursor restarted or MCP reloaded
- [ ] Test tool call succeeds
Project bootstrap template
When starting a new project with agent tooling:
- Add
.cursor/mcp.jsonwith required servers npm install @valentierro/cursor-skillsnpx cursor-skills-install --project .- Document servers in project README
Official GitHub MCP (API)
For issues, code search, Actions — add the official GitHub MCP alongside the local git MCP.