> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Connect Cursor through the SocQ stdio bridge and verify a collection.

# Cursor

The stdio bridge is the most portable Cursor configuration and works without a separate OAuth flow.

## Prerequisites

* Node.js 20 or later;
* a SocQ API key;
* a current Cursor release with MCP support.

## Configure

Open Cursor's MCP settings, add a local server, and use:

```json theme={"system"}
{
  "mcpServers": {
    "socq": {
      "command": "npx",
      "args": ["-y", "@socq/mcp"],
      "env": {
        "SOCQ_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
```

> [!WARNING]
>
> This local configuration contains a credential. Do not commit or share it.

If your Cursor version supports authenticated Streamable HTTP with environment-backed bearer tokens, it can connect to `https://api.socq.ai/mcp` directly. Keep the stdio configuration when remote authentication is unavailable.

## Limit the tool list

To expose typed YouTube tools, change the server name and arguments:

```json theme={"system"}
{
  "mcpServers": {
    "socq-youtube": {
      "command": "npx",
      "args": ["-y", "@socq/mcp", "--platforms", "youtube"],
      "env": {
        "SOCQ_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
```

See [Choose MCP tools](https://docs.socq.ai/integrations/mcp-filtering) for mode selection and filtering limits.

## Verify

Restart the SocQ MCP server in Cursor, then ask:

```text theme={"system"}
Use SocQ to check my account, then collect the latest 20 comments from this
YouTube video. Wait for the task to finish and return the results as a table:
https://www.youtube.com/watch?v=VIDEO_ID
```

The connection is working when Cursor discovers the SocQ tools, calls `socq_account`, submits the collection, and reads the returned task with `socq_get_task`.

## Troubleshoot

Restart the server after configuration changes so Cursor refreshes the tool list. See [Troubleshooting integrations](https://docs.socq.ai/integrations/troubleshooting) for authentication, missing-tool, and task errors.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.