---
title: "Cursor MCP config: path ng file, key, halimbawa · DotsAgent"
description: "Magdagdag ng mga MCP server mula sa Anysphere sa Cursor: lokasyon ng config file, top-level key at format, suporta sa remote OAuth, at sample config."
url: https://dotsagent.io/fil/mcp/clients/cursor
---

Anysphere

# Magdagdag ng mga MCP server sa Cursor

Binabasa ng Cursor ang mcp.json mula sa .cursor/ sa iyong project, o mula sa ~/.cursor/ para sa lahat ng project.

- **macOS**: `~/.cursor/mcp.json`
- **Windows**: `~/.cursor/mcp.json`
- **Linux**: `~/.cursor/mcp.json`
- **File ng proyekto**: `.cursor/mcp.json`
- **Top-level key**: `mcpServers`
- **Format**: json
- **OAuth para sa mga remote server**: 

## Halimbawa ng config

Idinadagdag ng halimbawang ito ang hosted server ng GitHub at ang Playwright bilang lokal na server, sa format na inaasahan ng client na ito.

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    },
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
```

## Mga tala at kakaiba

- Maaaring gumamit ang mga value ng ${env:NAME}, ${userHome} at ${workspaceFolder}.
- Kailangan ng mga remote entry ng url, opsyonal na headers, at auth block na may CLIENT_ID, CLIENT_SECRET at scopes para sa mga paunang rehistradong OAuth app.
- Kung nangangailangan ang provider ng mga nakapirming redirect URL, irehistro ang https://www.cursor.com/agents/mcp/oauth/callback at http://localhost:8787/callback.
- Walang dokumentadong command-line command para magdagdag ng server.

[Gumawa ng config para sa Cursor →](https://dotsagent.io/fil/mcp/config#client=cursor)

## Iba pang client

[Claude Desktop](https://dotsagent.io/fil/mcp/clients/claude-desktop)

[Claude Code](https://dotsagent.io/fil/mcp/clients/claude-code)

[VS Code (GitHub Copilot)](https://dotsagent.io/fil/mcp/clients/vscode-copilot)

[Windsurf / Devin Desktop](https://dotsagent.io/fil/mcp/clients/windsurf)

[Zed](https://dotsagent.io/fil/mcp/clients/zed)

[OpenAI Codex CLI](https://dotsagent.io/fil/mcp/clients/codex-cli)

[Gemini CLI](https://dotsagent.io/fil/mcp/clients/gemini-cli)

[ChatGPT](https://dotsagent.io/fil/mcp/clients/chatgpt)

[OpenClaw](https://dotsagent.io/fil/mcp/clients/openclaw)

[Cline](https://dotsagent.io/fil/mcp/clients/cline)

[Continue](https://dotsagent.io/fil/mcp/clients/continue)

[JetBrains AI Assistant](https://dotsagent.io/fil/mcp/clients/jetbrains-ai)

## Mga source

1. [cursor.com](https://cursor.com/docs/context/mcp)/docs/context/mcp

Independent na sanggunian para sa mga gumagawa ng AI agent. Hindi kami kaanib ng alinman sa mga vendor na nakalista rito.

© 2026 DotsAgent · Sinuri ang mga detalye noong Oktubre 1, 2026
