# MCP — Cloud Hosted

AShareHub provides a cloud-hosted [Model Context Protocol](https://modelcontextprotocol.io) server. No local installation required — just point your MCP client to our endpoint.

## Connection URL

https://asharehub.com/mcp

Use Streamable HTTP and send your key in the `X-API-Key` header. The legacy `/mcp/sse` endpoint remains available for existing SSE clients; URL query authentication is supported only during the compatibility window.

## Client Configuration

### Claude Desktop / Claude Code

.mcp.json / ~/.claude.json

```
{
  "mcpServers": {
    "asharehub": {
      "type": "http",
      "url": "https://asharehub.com/mcp",
      "headers": {
        "X-API-Key": "ash_your_key"
      }
    }
  }
}
```

### Cursor

.cursor/mcp.json

```
{
  "mcpServers": {
    "asharehub": {
      "url": "https://asharehub.com/mcp",
      "headers": {
        "X-API-Key": "ash_your_key"
      }
    }
  }
}
```

### Windsurf

~/.codeium/windsurf/mcp_config.json

```
{
  "mcpServers": {
    "asharehub": {
      "serverUrl": "https://asharehub.com/mcp",
      "headers": {
        "X-API-Key": "ash_your_key"
      }
    }
  }
}
```
