Skip to main content
Glama

@cortexcloud/mcp

MCP server for the CortexCloud API — pay-per-call AI generation, data and RPC endpoints through the x402 protocol. No API keys, no subscriptions; every tool call is billed in USDC on Base and settles to the operator's wallet.

Quick start (hosted)

No install required — point any MCP client at the public Streamable HTTP endpoint:

https://api.cortexcloud.org/mcp

Your MCP client handles the x402 payment handshake automatically; each call pays from the wallet your agent is authorized to spend.

Related MCP server: x402farm-mcp

Running it yourself

Streamable HTTP server (like the hosted one)

npm run build
EVM_PRIVATE_KEY=0x... node dist/http.js      # signs + pays calls; defaults to port 3200
# listening on http://localhost:3200/mcp

Env

Default

Meaning

EVM_PRIVATE_KEY

Wallet that signs + pays each x402 call. Required.

PORT

3200

HTTP listen port

CORTEXCLOUD_URL

https://api.cortexcloud.org

Upstream CortexCloud API base

CORTEXCLOUD_PAYTO

"0x5a03…ea143"

Wallet where call revenue settles

stdio (Claude Desktop / CLI)

{
  "mcpServers": {
    "cortexcloud": {
      "command": "npx",
      "args": ["-y", "@cortexcloud/mcp"],
      "env": { "EVM_PRIVATE_KEY": "0x..." }
    }
  }
}

Tools (22)

AIchat_completions responses embeddings models image_generation text_to_speech Search & newsweb_search search_contents news Market/dataprices coins_search crypto_history fx_list fx_price defi_yields defi_protocols Chainbase_balance base_token_balance eth_balance ethereum_rpc dex_search dex_pairs

Schema for every tool is exposed via MCP's tools/list — no docs drift, what a client sees is what runs.

How x402 works under the hood

Each call performs an x402 HTTP exchange against the CortexCloud API: request → payment challenge → signed TransferWithAuthorization → valid data. The SDK core handles the handshake; @x402/evm builds + signs the transfer; @x402/fetch drives the HTTP loop. Money in is trustless — cold settlement on-chain, no API-key storage, no subscriptions, no per-seat licensing.

License

MIT

A
license - permissive license
-
quality - not tested
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

View all related MCP servers

Related MCP Connectors

  • MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.

  • Pay-per-call x402 gateway: agent tools, OpenAI-compatible LLM, market data, RPC, security audits.

  • Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.

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/jonahthan433/cortexcloud-mcp'

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