# Quantplay MCP server

> Connects AI agents to over 10 Indian broker accounts to monitor positions, holdings, orders, P&L, and option chains using plain English.

- Repository: https://github.com/quantplay/skills
- Page: https://hostedmcp.org/servers/quantplay/skills
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http skills https://mcp.quantplay.tech/mcp/readonly
```

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

```json
{
  "mcpServers": {
    "skills": {
      "url": "https://mcp.quantplay.tech/mcp/readonly"
    }
  }
}
```

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

```json
{
  "servers": {
    "skills": {
      "type": "http",
      "url": "https://mcp.quantplay.tech/mcp/readonly"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"skills","type":"http","url":"https://mcp.quantplay.tech/mcp/readonly"}'
```

### Codex

```sh
codex mcp add skills --url https://mcp.quantplay.tech/mcp/readonly
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.skills]
url = "https://mcp.quantplay.tech/mcp/readonly"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http skills https://mcp.quantplay.tech/mcp/readonly
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "skills": {
      "url": "https://mcp.quantplay.tech/mcp/readonly",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I connect my broker accounts?

The server uses OAuth 2.1 with PKCE; the first call opens Quantplay so you can sign in and approve the agent without needing to paste an API key.

### Can the AI agent execute trades?

Yes, by using the full MCP endpoint instead of the read-only one, you can enable tools that include order placement.

### How are risk limits managed?

Stoploss, target, and kill switches are set per broker account in Quantplay, and the system automatically exits positions if a limit is breached.

### Does Quantplay store my AI conversations?

No, Quantplay does not store your conversations; it only stores which agents you connected and when they were last used.
