Skip to main content
Glama
openvecta

@openvecta/mcp

by openvecta

@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.

npm

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

Related MCP server: StatePulse API

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_cost need no auth.

Build from source

npm install
npm run build   # -> dist/index.js

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    Enables micropayments for MCP tool invocations using the X402 payment protocol, allowing servers to charge per tool usage in USDC and clients to automatically handle payments.
    22
    4
  • A
    license
    Not graded
    quality
    B
    maintenance
    55+ pay-per-call tools for AI agents over MCP: live telemetry, blockchain/on-chain checks, environmental, transit, finance, and network utilities. No API key or signup — agents pay per request with x402 USDC micropayments (Base and Solana).
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables MCP clients to access all endpoints of an x402 gateway by paying real-time microtransactions (USDC on Base) per API call, with automatic tool discovery and spend guardrails.
    23
    89
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openvecta/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server