# TroyStack MCP server

> Provides live precious metals data, portfolio management, and market intelligence for AI-driven financial analysis.

- Repository: https://github.com/kingleosgold/troystack-api
- Page: https://hostedmcp.org/servers/kingleosgold/troystack-api
- Transport: remote
- Stars: 0
- Latest version: 3.0.2

## Install

### Claude Code

```sh
claude mcp add --transport http troystack-api https://api.troystack.ai/mcp
```

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

```json
{
  "mcpServers": {
    "troystack-api": {
      "url": "https://api.troystack.ai/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "troystack-api": {
      "type": "http",
      "url": "https://api.troystack.ai/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"troystack-api","type":"http","url":"https://api.troystack.ai/mcp"}'
```

### Codex

```sh
codex mcp add troystack-api --url https://api.troystack.ai/mcp
```

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

```toml
[mcp_servers.troystack-api]
url = "https://api.troystack.ai/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http troystack-api https://api.troystack.ai/mcp
```

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

```json
{
  "mcpServers": {
    "troystack-api": {
      "url": "https://api.troystack.ai/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### What precious metals data is available?

The server provides live spot prices for Gold (Au), Silver (Ag), Platinum (Pt), and Palladium (Pd).

### How can I access portfolio management features?

Portfolio features like summaries, cost basis analysis, and holdings management require Bearer token authentication.

### Does the server provide market news?

Yes, you can access market intelligence through news headlines.
