CortexCloud MCP
Provides tools for interacting with Ethereum, including checking balances and making Ethereum RPC calls.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CortexCloud MCPsearch the web for today's top crypto news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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/mcpYour 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/mcpEnv | Default | Meaning |
| — | Wallet that signs + pays each x402 call. Required. |
|
| HTTP listen port |
|
| Upstream CortexCloud API base |
|
| Wallet where call revenue settles |
stdio (Claude Desktop / CLI)
{
"mcpServers": {
"cortexcloud": {
"command": "npx",
"args": ["-y", "@cortexcloud/mcp"],
"env": { "EVM_PRIVATE_KEY": "0x..." }
}
}
}Tools (22)
AI — chat_completions responses embeddings models image_generation text_to_speech
Search & news — web_search search_contents news
Market/data — prices coins_search crypto_history fx_list fx_price defi_yields defi_protocols
Chain — base_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
Available Tools
4 toolscortex_estimate_optimizationAInspect
Analyze an optimization problem for free — returns a decision block: recommended mode/backend, estimated provider cost, USDC price, benchmark evidence. Always call this before paying for cortex_optimize.
| Name | Required | Description | Default |
|---|---|---|---|
| problem | Yes | Optimization problem to analyze |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses that the tool is free, returns a specific decision block with listed components, and implies it is a pre-analysis (before paying). However, it does not explicitly state that it does not execute the optimization or alter any state, which could be inferred but not stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the core action and cost benefit ('for free'), followed by output expectations and usage guidance. Every phrase contributes value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having a complex nested parameter, no output schema, and no annotations, the description conveys what the tool does, what it returns (decision block with specific fields), and when to use it ('before paying for cortex_optimize'). This is sufficient for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% coverage with detailed descriptions for the 'problem' parameter and its nested fields. The description does not need to add parameter details, and baseline 3 is appropriate. It adds no new parameter-level semantics beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb 'Analyze' and clearly identifies the resource: 'an optimization problem.' It distinguishes itself from siblings by stating it returns a 'decision block' and positioning itself as the free pre-check before 'paying for cortex_optimize.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs the agent to 'Always call this before paying for cortex_optimize,' directly naming the alternative and establishing a clear ordering. This leaves no ambiguity about when to use this tool versus its paid sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cortex_get_jobAInspect
Poll an optimization job by id. Free — returns status, solution, objective, error.
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id from cortex_optimize |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the call is 'Free' and enumerates return fields, but it does not explicitly state this is a non-mutating read operation, nor does it cover rate limits, error scenarios, or job lifecycle concerns. Some useful context is present, but gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence with no filler. The key verb and purpose are front-loaded, and each clause adds value: 'by id' specifies input, 'Free' notes cost, and the return list sets expectations. This is exemplary conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter polling tool without an output schema, the description is sufficiently complete. It identifies the source of the ID (via schema), states the return content, and fits well within the sibling workflow. No critical information is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% because job_id is fully described as 'Job id from cortex_optimize'. The tool description adds no additional meaning about the parameter, so a baseline of 3 is appropriate since the schema carries the semantic load.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Poll' with a clear resource ('optimization job by id') and explicitly lists what is returned (status, solution, objective, error). This distinguishes it from siblings like cortex_optimize (which creates jobs) and cortex_list_backends (which lists backends).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies the tool is for checking the status/result of an optimization job, which is unique among siblings. It lacks an explicit 'when not to use' or direct alternative mention, but the polling purpose is self-evident from the description and schema reference to cortex_optimize.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cortex_list_backendsAInspect
List solver backends (classical/hybrid/quantum) with availability, per-backend estimated provider cost, effective price, and sellable flag. Free — check this before choosing a quantum backend.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It adds context about costs, the sellable flag, and being free, but it does not explicitly state whether the operation is read-only, whether any permissions are required, or if there are side effects—though a list operation is implicitly safe.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the action and resource, followed by a concise usage hint. Every word earns its place; there is no redundancy or unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless list tool, the description provides a comprehensive overview of the returned data categories (availability, cost, price, sellable flag) and a practical usage context. Despite lacking annotations and an output schema, it is self-sufficient and covers the essential information an agent needs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters, and schema coverage is trivially 100% since the properties object is empty. The description adds no parameter semantics because none are needed; it appropriately focuses on the output fields instead.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the verb 'List' with a specific resource ('solver backends'), enumerates the returned fields (availability, cost, price, sellable flag), and distinguishes itself from sibling optimization/job tools by its clear list-oriented scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a clear usage directive ('check this before choosing a quantum backend') and notes the tool is free, which indicates when it should be used. However, it does not explicitly contrast with sibling alternatives or state when not to use it, so it lacks explicit exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cortex_optimizeAInspect
Solve a QUBO/Ising optimization problem (x402-paid, USDC on Base). Returns a job_id to poll with cortex_get_job. Prices per run: classical $0.05, hybrid $0.10, quantum $0.85 (charged = max(list, provider cost x 2.0)). Use mode=auto unless you specifically need quantum.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Defaults to auto (fastest proven backend) | |
| problem | Yes | Problem to solve |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It transparently discloses pricing per mode, the charging formula (max(list, provider cost x 2.0)), and the asynchronous nature via job_id. It doesn't address failure handling or authentication, but the pricing and workflow transparency are strong.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three concise sentences with no filler. The first sentence states purpose and return type, the second provides pricing, and the third gives usage guidance. Perfectly front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers purpose, pricing, mode guidance, and the need to poll with cortex_get_job. Although there's no output schema, the description clearly indicates the return of a job_id. It lacks details on error handling or response format, but for a compute submission tool, the essentials are covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions cover all parameters (100% coverage), so baseline is 3. The description adds meaningful value by mapping prices to the mode enum and recommending auto unless quantum is needed, which helps users choose the correct mode.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool solves QUBO/Ising optimization problems and returns a job_id for polling. It distinguishes itself from siblings like cortex_get_job (polling) and cortex_estimate_optimization (estimation) by explicitly mentioning the solve and job_id.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit guidance on mode selection ('Use mode=auto unless you specifically need quantum') and directs users to poll with cortex_get_job. However, it doesn't mention when to use cortex_estimate_optimization instead of this tool, leaving some ambiguity for cost estimation workflows.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v0.4.0- First observed
cortex_estimate_optimization - First observed
cortex_get_job - First observed
cortex_list_backends - First observed
cortex_optimize
TDQS
Each tool has a distinct role: estimate analyzes a problem, optimize submits a paid job, get_job polls results, and list_backends shows available solvers. The descriptions clearly separate them, reducing any chance of misselection.
All tools share the 'cortex_' prefix and follow a consistent verb-first snake_case pattern (estimate_optimization, optimize, get_job, list_backends). This makes the toolset predictable and easy to navigate.
With 4 tools, the server covers its core workflow (estimate, solve, poll, list backends) without bloat. The count is well within the ideal range and each tool serves a necessary function for the stated purpose.
The core lifecycle of estimating, starting, and retrieving optimization jobs is fully covered. A minor gap is the lack of job cancellation or history management, but for the intended use case this is not a critical omission.
Maintenance
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
15 paid AI agent primitives via x402 (USDC on Base). Pay-per-call MCP server.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- FlicenseAqualityBmaintenanceMCP server for a live x402 payment gateway on Base (USDC). Lets AI agents discover, preview for free, then pay per call — with prepaid gasless payments, signed receipts, and delta delivery.7-
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.4MIT
- FlicenseNot gradedqualityBmaintenanceA small, autonomous, pay-per-call MCP server that AI agents discover and pay for per call, with revenue landing directly in a USDC wallet on Base via the x402 payment protocol.-
- AlicenseNot gradedqualityCmaintenanceMCP server providing 50+ crypto, market intelligence, and AI inference endpoints with x402 pay-per-request micropayments on Base.1Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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