Live Solana fees and preflight evidence for transaction agents
A hosted, read-only Solana MCP server for autonomous transaction agents. It returns current priority-fee quantiles, simulates unsigned transactions, diagnoses confirmed failures, and inspects token mint risk. Tool discovery requires no API key; paid calls settle tiny USDC amounts through x402.
This is a well-engineered payment-gated API server for Solana transaction analysis and PDF conversion using x402 protocol. Authentication and authorization are properly implemented through x402 payment verification, HMAC-based webhook signing, and bearer token authentication for internal integrations. The codebase demonstrates solid security practices with proper input validation, timing-safe comparisons, and comprehensive test coverage. Minor code quality observations exist but do not raise security concerns.
4 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Once installed, try these example prompts and explore these capabilities:
From the project's GitHub README.
Utilia gives Solana transaction bots a timestamped, account-localized priority-fee bid for $0.002 per call. It uses x402 to accept exact USDC payments without accounts, subscriptions, or API keys. Additional paid tools cover simulation, transaction diagnosis, token risk, and deterministic document extraction.
For the shortest wallet-managed flow, AgentCash can inspect the live quote, pay the x402 challenge, and retry the request:
npx -y agentcash@latest check https://api.utilia.ink/v1/fees/priority
npx -y agentcash@latest fetch https://api.utilia.ink/v1/fees/priority
Run a JSONL fee watcher at five calls per hour, capped at 25 calls and $0.05:
export SOLANA_KEYPAIR_PATH=/absolute/path/to/low-balance-agent-wallet.json
npx -y utilia-solana-agent watch-fees --every 12m --max-calls 25
| Endpoint | Price | Result |
|---|---|---|
GET /v1/transaction/:signature | $0.004 | Transaction outcome, deltas, logs, compute use, and error classification |
POST /v1/transaction/simulate | $0.008 | Pre-broadcast simulation and failure explanation |
GET /v1/fees/priority | $0.002 | Recent priority-fee quantiles |
GET /v1/token/:mint | $0.006 | Mint controls, Token-2022 features, and concentration signals |
POST /v1/pdf/to-markdown | $0.0025 | PDF text, page-delimited Markdown, metadata, and source digest |
All five products are also available as paid tools from the remote Streamable HTTP
MCP server at https://api.utilia.ink/mcp. Its public server metadata is available
at https://api.utilia.ink/server.json.
The server is published in the official MCP Registry as
ink.utilia/solana-preflight.
The public API contract is available at
https://api.utilia.ink/openapi.json, and
live availability is reported by
https://api.utilia.ink/healthz.
The live priority-fee product is ownership-verified and immediately runnable through x402.jobs on both Solana and Base. Agents can also call the public Solana Priority Fee Oracle workflow, whose workflow graph is visible before payment.
Each HTTP product also has a /base/v1/... alias for Base USDC buyers and Coinbase
Agentic Market discovery. The canonical /v1/... routes and MCP tools continue to
settle on Solana.
The PDF transform accepts either a public HTTPS URL or a base64 payload, rejects private-network fetches, caps documents at 8 MiB and 100 pages, and explicitly reports that scanned image-only documents require OCR. The public homepage, health check, and OpenAPI document are free. A paid request that ends in a 4xx or 5xx response is canceled before x402 settlement.
An x402-capable MCP agent connects to https://api.utilia.ink/mcp, lists the five
tools, and pays automatically only when it calls one. A runnable client with a strict
maximum-payment policy is included in examples/mcp-client.mjs.
Remote MCP configuration:
{
"mcpServers": {
"utilia": {
"type": "streamable-http",
"url": "https://api.utilia.ink/mcp"
}
}
}
SOLANA_PRIVATE_KEY='base58-wallet-private-key' \
node examples/mcp-client.mjs solana_priority_fees '{"accounts":[]}'
Requirements: Node.js 22 and npm.
npm ci
HELIUS_API_KEY=your-key PAYMENTS_ENABLED=false npm run dev
Then open http://localhost:4021. Payments are deliberately disabled for local tests.
Run the complete verification suite:
npm test
npm run build
npm run lint
npm run format:check
npm audit
SVM_PAY_TO and EVM_PAY_TO are only
public receiving addresses.See Architecture and Operations.
Revenue is usage multiplied by endpoint price, less facilitator fees, infrastructure, RPC costs, taxes, refunds, and payment conversion costs. This software creates a sellable service; it does not guarantee demand or profit. The initial prices remain above PayAI's published post-free-tier per-settlement fee and should be revisited using real conversion, retention, and endpoint-cost data.
Source available for inspection. Copyright © 2026 Mohamed Kechaou. All rights reserved; no license is granted to copy, modify, or redistribute the server source.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.