Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/δΈ­ζ–‡
Sign inSign up
Home/Servers/Ophir

Ophir

I
by io.github.Ophir-ai-creator

Ophir protocol tools for AI agent discovery, negotiation, and settlement

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y @ophirai/[email protected]
Provider
Claude Code
claude mcp add io.github.ophir-ai-creator-ophir -- npx -y @ophirai/[email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "io.github.ophir-ai-creator-ophir": {
      "command": "npx",
      "args": [
        "-y",
        "@ophirai/[email protected]"
      ]
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • FirecrawlπŸ”₯ Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Questions

How do I install Ophir?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Ophir need an API key?
No required environment variable is listed on this record.
What transport does Ophir use?
Ophir runs locally over stdio.
When was Ophir last checked?
Last checked 2026-10-16. Ophir protocol tools for AI agent discovery, negotiation, and settlement

Ophir protocol tools for AI agent discovery, negotiation, and settlement

Ophir

An open protocol for AI agents to autonomously discover, negotiate, and transact with each other.

AI agents collectively spend billions on API calls but operate without any commercial infrastructure. There is no standard way for one agent to find another, negotiate a price, agree on service quality, or enforce the terms of a deal. Every integration is bespoke. Every price is fixed by the provider. Every failure goes unresolved.

Ophir changes this. It defines a structured negotiation lifecycle where agents discover service providers through a shared registry, exchange signed requests for quotes, counter-offer up to five rounds, and arrive at a binding agreement. Agreements are dual-signed with Ed25519 and committed via SHA-256 hash. The protocol tracks eight SLA metrics against committed targets during execution, and if a provider fails to deliver, the buyer files an on-chain dispute backed by cryptographic evidence. Settlement happens through Solana escrow vaults denominated in USDC.

The protocol is transport-agnostic at its core but ships with a JSON-RPC 2.0 binding over HTTP. Identity is built on the did:key standard using Ed25519 public keys. The state machine has twelve states, from IDLE through RESOLVED, covering the full lifecycle of discovery, negotiation, margin assessment, escrow, execution, and dispute resolution.

Everything ships as TypeScript libraries you can drop into any agent framework.

Quick Start

Add to any MCP client:

{
  "mcpServers": {
    "ophir": {
      "command": "npx",
      "args": ["@ophirai/mcp-server"]
    }
  }
}

Your agent now has tools to discover sellers, request quotes, negotiate terms, accept agreements, monitor SLAs, and file disputes.

Or use the SDK directly:

npm install @ophirai/sdk @ophirai/protocol
import { BuyerAgent } from '@ophirai/sdk';

const buyer = new BuyerAgent({ endpoint: 'http://localhost:3001' });
await buyer.listen();

const session = await buyer.requestQuotes({
  sellers: ['http://seller-a:3000'],
  service: { category: 'inference', requirements: { model: 'llama-70b' } },
  budget: { max_price_per_unit: '0.01', currency: 'USDC', unit: 'request' },
  sla: { metrics: [
    { name: 'p99_latency_ms', target: 500, comparison: 'lte' },
    { name: 'uptime_pct', target: 99.9, comparison: 'gte' },
  ]},
});

const quotes = await buyer.waitForQuotes(session, { minQuotes: 1, timeout: 30_000 });
const best = buyer.rankQuotes(quotes, 'cheapest')[0];
const agreement = await buyer.acceptQuote(best);

OpenAI-compatible inference gateway:

npx @ophirai/router --port 4000

How It Works

A buyer agent queries the Registry to find sellers offering the services it needs. Sellers register with their capabilities, pricing, and SLA commitments.

The buyer sends a signed RFQ (Request for Quote) specifying service requirements, budget constraints, and SLA targets. Sellers respond with signed quotes. Either party can counter-offer. After at most five rounds, both sides either accept or walk away.

On acceptance, both parties sign the final terms with Ed25519. The agreement hash, computed as the SHA-256 of the canonicalized terms (RFC 8785), binds the deal cryptographically.

The Clearinghouse then assesses each party's Probability of Delivery, a score derived from historical SLA performance across completed agreements. Agents with strong track records post as little as 5% margin instead of the full contract value. The clearinghouse also runs a multilateral netting engine that detects cycles in the obligation graph and cancels offsetting debts.

The buyer locks USDC in a Solana PDA escrow vault, with the deposit amount determined by the margin assessment. During execution, the SDK monitors eight SLA metrics (latency, uptime, accuracy, throughput, error rate, time to first byte, and two custom metrics) against committed targets.

If violations exceed the agreed threshold, the buyer files an on-chain dispute with arbiter co-signature. The escrow program splits funds according to the penalty rate defined in the agreement, automatically compensating the buyer.

Protocol

TransportJSON-RPC 2.0 over HTTP
Identitydid:key with Ed25519 public keys (0xed01 multicodec prefix)
SigningEd25519 via tweetnacl, JCS canonicalization (RFC 8785)
State Machine12 states: IDLE, RFQ_SENT, QUOTES_RECEIVED, COUNTERING, ACCEPTED, MARGIN_ASSESSED, ESCROWED, ACTIVE, COMPLETED, REJECTED, DISPUTED, RESOLVED
SettlementSolana Anchor program with PDA-derived USDC escrow vaults
MessagesRFQ, Quote, Counter, Accept, Reject, Dispute

All messages are signed and verified. Replay protection uses time-windowed message ID deduplication.

Packages

PackageDescription
@ophirai/protocolCore types, Zod schemas, 12-state FSM, SLA metrics, error codes
@ophirai/sdkBuyerAgent, SellerAgent, Ed25519 signing, did:key identity, escrow
@ophirai/clearinghouseMultilateral netting, fractional margin, Probability of Delivery scoring
@ophirai/registryAgent discovery with rate limiting, authentication, reputation
@ophirai/mcp-serverMCP tools for LLM-powered agents
@ophirai/routerOpenAI-compatible inference gateway with automatic negotiation
@ophirai/providersAI inference provider wrappers (OpenAI, Anthropic, Together, Groq, OpenRouter, Replicate)
@ophirai/openai-adapterOpenAI function calling adapter
escrowSolana Anchor program for USDC escrow with arbiter disputes

Specifications

Document
Protocol SpecificationFull protocol reference
State MachineNegotiation state transitions and guards
Security ModelCryptographic layers, threat model, replay protection
SLA SchemaMetric definitions, comparison operators, penalty calculation
Escrow LifecycleDeposit, release, dispute, and arbiter flows
Identitydid:key derivation, key management, agent authentication

Development

npm install
npx turbo build
npx turbo test

Build order is managed by Turborepo. The protocol package builds first, then sdk, then everything else.

License

MIT

How do I install Ophir?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Ophir need an API key?
No required environment variable is listed on this record.
What transport does Ophir use?
Ophir runs locally over stdio.
When was Ophir last checked?
Last checked 2026-10-16. Ophir protocol tools for AI agent discovery, negotiation, and settlement

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Pricing
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • Club
  • Work with us
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA