@openvecta/mcp
Enables calling OpenVecta inference models (OpenAI-compatible, USDC-settled on Solana) as tools from any MCP client, with options for keyed authentication or per-call payment via Solana x402 protocol.
README
@openvecta/mcp
MCP server for OpenVecta — call OpenVecta inference models (OpenAI-compatible, USDC-settled on Solana) as tools from any MCP client: Claude Desktop, Cursor, Windsurf, agent kits.
Tools
| Tool | What it does | Auth needed |
|---|---|---|
list_models |
Catalog + per-1M-token USDC pricing, modality, flat fee | none (public) |
estimate_cost |
Estimate a call's USDC cost before running it | none (public) |
chat |
Chat completion on any model | keyed or x402 |
embed |
Embeddings | keyed only |
Two auth modes (auto-detected from env)
KEYED — set OPENVECTA_API_KEY (ov_sk_...). Uses your prepaid balance / free
tier. Simplest; works everywhere. (Wins if both are set.)
X402 — set SOLANA_PRIVATE_KEY (base58). Pays per call in USDC from that
wallet via the x402 protocol — no account, no key. Chat only.
⚠️ Real funds move. Test on devnet first (SOLANA_NETWORK=devnet).
Install
No install step needed — npx fetches it on demand:
npx -y @openvecta/mcp
Add to Claude Desktop / Cursor
Config file — Claude Desktop: %APPDATA%\Claude\claude_desktop_config.json (Windows)
or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
Keyed:
{
"mcpServers": {
"openvecta": {
"command": "npx",
"args": ["-y", "@openvecta/mcp"],
"env": { "OPENVECTA_API_KEY": "ov_sk_live_..." }
}
}
}
x402 — pay per call, no account (test on devnet first!):
{
"mcpServers": {
"openvecta": {
"command": "npx",
"args": ["-y", "@openvecta/mcp"],
"env": {
"SOLANA_PRIVATE_KEY": "base58-secret-key",
"SOLANA_NETWORK": "devnet"
}
}
}
}
Restart the client, then ask e.g. "list the OpenVecta models" or "use OpenVecta's glm-5.2 to explain Solana".
Env reference
| Var | Default | Notes |
|---|---|---|
OPENVECTA_API_KEY |
— | ov_sk_ key → KEYED mode |
SOLANA_PRIVATE_KEY |
— | base58 secret → X402 mode |
SOLANA_NETWORK |
mainnet |
mainnet | devnet |
SOLANA_RPC_URL |
per-network | override RPC |
OPENVECTA_BASE_URL |
https://api.openvecta.com/v1 |
staging / self-host |
How x402 mode works
Uses the official @x402/fetch client (@x402/svm ExactSvmScheme + a
@solana/kit signer) to wrap fetch: the request hits /v1/chat/completions,
gets a 402 challenge, the library builds + signs the USDC transfer from your
wallet, resends with the payment header, and OpenVecta settles + serves. chat
requires max_tokens here (it bounds the pre-authorization ceiling; defaults to
1024 if omitted).
The public model catalogue and per-token pricing are readable without auth at
/.well-known/x402.
Security: never commit a private key. For production/agents, load it from a secrets manager, not a config file.
list_models/estimate_costneed no auth.
Build from source
npm install
npm run build # -> dist/index.js
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.