# xStocker

> xStocker is a free MCP server for finance and payments. Build unsigned buy and sell transactions for tokenized US stocks on Solana. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, API
- **Website:** https://xstocker.com/agents
- **MCP Registry name:** com.xstocker/agent-mcp
- **Categories:** finance and payments
- **Listing updated:** 2026-11-16

## About

xStocker prepares orders for xStocks, tokenized U.S. stocks and ETFs on Solana, and stops short of executing them. The server never sees a private key. An agent with its own wallet signs and sends the transaction itself, while a person using Phantom or another Solana wallet is handed a Solana Pay link or QR code and approves the trade there.

The local server ships as the @xstocker/mcp npm package over stdio, and the same functions are available as a stateless HTTP API and a TypeScript SDK. No account, API key or OAuth is needed. A partner can add a Solana wallet address to earn 0.25% of purchases made through a Buy xStocks iframe widget, on top of a default 0.25% trader fee.

On a sell, the amount is in the units the wallet shows, and the API never sells more than the wallet holds.

## Features

- **Non-custodial orders:** Prepares transactions without holding keys or executing trades.
- **Solana Pay links:** Gives people a link or QR code to approve in their own wallet.
- **Embeddable widget:** An iframe lets a site offer Buy xStocks with USDC or SOL.
- **Partner fees:** A partner wallet receives 0.25% on-chain in the same transaction.
- **Asset list:** A static assets.json file lists supported xStocks.

## Good for

- Let an agent with its own wallet trade tokenized stocks
- Hand a user a Solana Pay QR code to approve a purchase
- Embed a buy widget on a finance site
- Build trading flows with the TypeScript SDK

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-mcp -- npx -y @xstocker/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xstocker/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xstocker/mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "agent-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xstocker/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xstocker/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xstocker/mcp"
      ]
    }
  }
}
```

## FAQ

### Do I need an account or API key?

No. The page states no account, API key or OAuth is required.

### Does it hold funds?

No. It is non-custodial and only builds transactions for a wallet to sign.

### How is it installed?

As the @xstocker/mcp npm package, which is also listed in the official MCP Registry.

### What fee applies?

A standard fee of 0.25% by default, plus an optional 0.25% partner fee.

### Is xStocker free?

Yes. xStocker is free to use.

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

Run this command in your terminal: claude mcp add agent-mcp -- npx -y @xstocker/mcp

### What are the best alternatives to xStocker?

The closest alternatives to xStocker are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

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