@latens/mcp-server
Official# `@latens/mcp-server`
Read-only **Model Context Protocol (`MCP`)** JSON-RPC 2.0 stdio server for autonomous AI agents querying live normalized GPU compute supply and deterministic rental cost breakdowns on **LATENS** ([https://latens.trade](https://latens.trade)).
## Exposed Read-Only Tools
| Tool Name | Purpose | Read-Only |
| :--- | :--- | :--- |
| `latens_list_gpu_offers` | Filter normalized GPU offers across 8 clouds by model, VRAM, provider, and max USD/hr | `true` |
| `latens_list_gpu_models` | List indexed GPU models with min/median hourly pricing and active provider counts | `true` |
| `latens_calculate_compute_cost` | Deterministic compute + persistent storage + outbound egress rental cost calculator | `true` |
| `latens_get_provider_sync_status` | Verify synchronization freshness and adapter health across all 8 GPU networks | `true` |
## Security Invariants
1. **Zero Spend Authority**: All exposed tools carry `readOnlyHint: true` and `destructiveHint: false`. The server cannot provision instances, sign transactions, or spend funds.
2. **Confidentiality Isolation**: This server communicates exclusively with the public stateless `/api/v1/agent/*` surface and has zero access to encrypted Private Compute Desk RFQs or wallet sessions.
## MCP Client Configuration (Cursor / Claude Desktop)
```json
{
"mcpServers": {
"latens": {
"command": "node",
"args": ["/path/to/latens-mcp/src/server.mjs"],
"env": {
"LATENS_API_URL": "https://latens.trade"
}
}
}
}
```
## Links
- Live Platform: [https://latens.trade](https://latens.trade)
- Documentation: [https://latens.trade/docs](https://latens.trade/docs)
- X (Twitter): [@LatensCompute](https://x.com/LatensCompute)
## License
MIT
TDQS
Scored across 4 tools
Each tool targets a clearly distinct resource and action: listing offers, summarizing GPU models, calculating total cost, and checking sync status. There is no meaningful overlap between discovery, pricing calculation, and operational status.
All four tools follow the same predictable pattern: a consistent `latens_` namespace prefix followed by a verb_noun name (`list_gpu_offers`, `calculate_compute_cost`, `get_provider_sync_status`). No naming style deviations.
Four tools is slightly thin but reasonable for a focused read-only GPU discovery and cost-estimation server. Each tool covers a distinct workflow step without redundancy.
The surface covers discovery, model-level rate summaries, cost calculation, and sync freshness, which are the core needs for a read-only GPU pricing server. Minor gaps exist, such as no per-offer detail lookup or historical pricing, but agents can work around these using the list tools.