# Ctx

> Ctx is an MCP server. Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://ctx.vanshul.com
- **Repository:** https://github.com/vanshulgoyal101/ctx
- **MCP Registry name:** io.github.vanshulgoyal101/ctx
- **Listing updated:** 2026-11-13

## About

Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http ctx https://ctx.vanshul.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://ctx.vanshul.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ctx": {
      "url": "https://ctx.vanshul.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ctx": {
      "type": "http",
      "url": "https://ctx.vanshul.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ctx": {
      "serverUrl": "https://ctx.vanshul.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ctx": {
      "type": "http",
      "url": "https://ctx.vanshul.com/mcp"
    }
  }
}
```

## FAQ

### How do I add Ctx to Claude Code?

Run this command in your terminal: claude mcp add --transport http ctx https://ctx.vanshul.com/mcp

---
Source: https://ai-powered.com/mcp/ctx
