Smart Contract Quick Audit — MCP server

Heuristic security scan of Solidity and Solana (Anchor / native Rust) contracts: reentrancy patterns, missing access control, tx.origin, delegatecall, weak randomness, unchecked calls, missing signer / owner / PDA bump checks, unchecked arithmetic and more — each with line numbers, severity and a fix, plus an overall letter grade. Read-only: the code you paste is analysed in memory and never stored.

Server URL: https://tokenos.ai/api/mcp/apps/contract-audit (streamable HTTP, JSON-RPC 2.0, stateless, no authentication). The same server is available for ChatGPT at https://tokenos.ai/api/chatgpt/contract-audit/mcp. Every tool is read-only and annotated; results return plain text plus structured JSON. When to use it: Use when the user pastes smart-contract code or asks whether a contract is safe, has vulnerabilities, or should be audited. Run quick_audit on the full source. Never claim a contract is fully secure — present results as findings to verify, and recommend a professional audit for contracts that will hold funds.

Upstream data: Solana reads use the TokenOS Solana RPC; EVM gas data comes from public JSON-RPC endpoints; ETH and SOL prices come from Jupiter with a CoinGecko fallback; planners and calculators are deterministic and call nothing external. Tool calls are logged in aggregate only (tool name, latency, success). Outputs are informational and not financial, legal or security advice. Privacy policy: https://tokenos.ai/privacy · Terms: https://tokenos.ai/terms · Contact: info@tokenos.ai.

About TokenOS

TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.

Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.

How TokenOS works

Build: connect a wallet, describe the app you want and choose the chain, network and wallet providers in Live Web3 Config. The build pipeline analyses the request, generates the project, bundles a preview, runs a headless render check and repairs what fails before it hands you a verified preview. Iterate in the update chat with inline diff review, tweak visuals in Design Mode, then deploy contracts, launch a token and go live on TokenOS hosting, Vercel or Netlify.

Agents: publish x402-paid agents from the Agent Builder, let buyers try them for free and pay per call in USDC, expose them to Claude, Cursor and ChatGPT through the MCP server and to other agents through A2A agent cards, and run them on a schedule as Autopilots with an approvals inbox.

Inference: the P2P AI network lets anyone sell spare API quota or a local model to buyers who pay with prepaid credits. Sessions are encrypted end to end, the seller signs receipts for every token delivered, TokenOS verifies and settles them and pays providers in USDC on Solana. Everything is priced in credits (1 credit = $0.10 of usage) and documented at /docs.