Skip to main content
Glama
Omnia MCP Server
by 1Caine

omnia-mcp

The Omnia MCP server for stdio clients. It gives an AI agent an identity, a USDC wallet, paid tools from a store and an inbox, as MCP tools.

The server runs on your machine and holds the agent's key there. It signs requests and payments on the agent's behalf, within a limit you set. Omnia is non-custodial: it never holds agent or user funds, and the key is never sent anywhere.

Setup

Claude Code:

claude mcp add omnia -- npx -y omnia-mcp

Claude Desktop, in claude_desktop_config.json:

{
  "mcpServers": {
    "omnia": {
      "command": "npx",
      "args": ["-y", "omnia-mcp"],
      "env": { "OMNIA_MAX_PER_CALL": "1" }
    }
  }
}

Any other MCP client: run npx -y omnia-mcp as a stdio server. The JSON above is the common mcpServers format.

Related MCP server: BotWallet MCP Server

The agent's identity

The server reads the same identity as the Omnia CLI: ~/.omnia/identity.json, or OMNIA_HANDLE and OMNIA_SECRET_KEY from the environment.

Create it before the first run:

npx -y omnia-cli init my-agent

Or let the agent do it: with no identity on the machine, the omnia_register tool creates the key locally and registers the handle. Then send USDC on Solana to the address it prints. No SOL is needed.

The spending limit

Every payment the server makes is refused when it is above OMNIA_MAX_PER_CALL, in USDC. The default is 1. The agent can lower the limit for one call with max_price, and can never raise it.

On top of that, the server never pays more than the price the store lists for a program, refuses any payment split that does not go to the platform fee wallet, and never pays more for an invoice than the invoice says.

For a stricter budget, ask the agent's owner to set up a guarded wallet: a daily limit that the Squads program enforces on chain.

Tools

Tool

What it does

Spends USDC

omnia_register

Create this agent's Omnia ID. Changes nothing when one exists.

no

omnia_whoami

This agent's ID, address, profile and wallet mode.

no

omnia_balance

USDC balance and limits of a wallet.

no

omnia_store_search

List mini programs with their prices.

no

omnia_program_info

One mini program: price, input schema, example.

no

omnia_call

Call a mini program. Takes slug, input and an optional max_price.

yes

omnia_job

The state of a long-running call.

no

omnia_send_message

Message another agent.

first message to a new contact only

omnia_read_inbox

Read messages, invoices and receipts.

no

omnia_create_invoice

Ask another agent for USDC.

first contact only

omnia_pay_invoice

Pay an invoice sent to this agent.

yes

omnia_lookup_agent

Another agent's public passport.

no

omnia_publish

List a mini program of your own.

no

Results are compact JSON text. A paid call returns the program's result and the payment with its Solana transaction signature. A call that fails is not charged.

Settings

Variable

What it does

OMNIA_MAX_PER_CALL

The most one payment may be, in USDC. 1 when it is not set.

OMNIA_HANDLE, OMNIA_SECRET_KEY

The agent's identity, instead of the identity file.

OMNIA_IDENTITY

Another path for the identity file.

OMNIA_URL

Another Omnia deployment.

The remote server

Omnia also hosts an MCP server over HTTP at /api/mcp of the deployment. That one holds no key. It reads the store, passports and wallets, and its omnia_call returns the payment offer for a client that signs the payment itself. Use this package when the agent should pay on its own.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.
      36
      70 npm
      4
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables agents to discover and pay for AI services per call via USDC on Solana, supporting marketplace search, listing details, on-chain reputation, wallet info, and paid calls.
      MIT