xstocks

xstocks is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from evidai/agent-payment-mcp. Its token cost is not measured, scanned A, original, MIT.

A local tool for buying tokenized versions of US stocks on Solana, a blockchain network, using USDC, a digital dollar token. It runs in a dry-run mode by default and requires wallet settings for live use.

In plain words
What is it for?
Use it to prepare or execute purchases of supported tokenized US stocks with a Solana wallet, subject to its daily cap and required environment settings.
Why use it?
It provides a way to place these stock-token trades through Jupiter, a Solana trading exchange, while keeping live trading disabled by default.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it.

One of 4 entries in server.json upstream. Installing this one merges just its entry into your config; the other 3 are separate, each on its own page.

Good fit Use it to prepare or execute purchases of supported tokenized US stocks with a Solana wallet, subject to its daily cap and required environment settings.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/evidai/agent-payment-mcp/xstocks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/evidai/agent-payment-mcp

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xstocks

README.md
[![agentmods](https://agentmods.dev/badge/mcp/evidai/agent-payment-mcp/xstocks.svg)](https://agentmods.dev/mcp/evidai/agent-payment-mcp/xstocks)
Your own site
<a href="https://agentmods.dev/mcp/evidai/agent-payment-mcp/xstocks"><img src="https://agentmods.dev/badge/mcp/evidai/agent-payment-mcp/xstocks.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

xstocks scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

alpaca-guard-mcp/server.json · 13 lines

What it actually says

{
  "xstocks": {
    "command": "npx",
    "args": [
      "-y",
      "xstocks-mcp"
    ],
    "env": {
      "SOLANA_WALLET_PRIVATE_KEY": "",
      "XSTOCKS_ALLOW_LIVE": ""
    }
  }
}
Same file

What else server.json configures

This page is one entry in a file that holds 4. Installing the file brings all of them; each is measured and scanned on its own page.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 13 lines scan A 5a88fc8bb88a

Subscribe to this mod's changes

xstocks is an MCP server published in the GitHub repository evidai/agent-payment-mcp (3 stars, last pushed 2mo ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other mcp servers, from other repositories

mcp-server

Agent payment infrastructure MCP server. Give AI agents autonomous payment capability — stablecoin transfers, currency swaps, agent wallets, and fiat operations on Hedera. Works with Claude, LangChain, CrewAI, AutoGPT. Runs locally from the @bananacrystal/mcp-server npm package.

BananaCrystal/mcp-server-bananacrystal · not measured

stipend

Non-custodial USDC wallet on Base with spending limits enforced in code, not in a prompt. Runs locally from the stipend npm package.

stipend-sh/stipend · not measured

p402

Multi-provider AI router with x402 micropayment settlement on Base L2. 1% flat fee. Runs locally from the @p402/mcp-server npm package. Needs 2 environment variables to run.

Z333Q/p402-protocol · not measured

onchain-agent-wallets

Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402. Runs locally from the @three-ws/onchain-agent-wallets npm package. Needs 5 environment variables to run.

nirholas/onchain-agent-wallets · not measured

magpie-mcp

Agent-native lending on Solana via x402: borrow against tokens, arm in-vault TP/SL, repay. Runs locally from the @magpieloans/magpie-mcp npm package.

magpiecapital/magpie-x402 · not measured

verantis-mcp

MCP server for Verantis — the verified directory for machine payments (x402 & MPP). Find live-verified services and check a wallet before your agent pays. Runs locally from the verantis-mcp Python package. Needs 1 environment variable to run.

m9labs-railscope/verantis-mcp · not measured