Sign In

@ophirai/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ophirai/mcp-server

MCP tool server exposing Ophir agent negotiation as Model Context Protocol tools for LLM-powered agents

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@ophirai/mcp-server

MCP server that gives your AI agent the ability to discover, negotiate with, and manage AI service providers through the Ophir protocol.

No API keys required — connects to the public Ophir registry.

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

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

Cursor

Add to .cursor/mcp.json in your project root:

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

Windsurf

Add to your Windsurf MCP config:

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

Cline

Add to your Cline MCP settings:

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

Any MCP client (npx)

npx @ophirai/mcp-server

Smithery

smithery install ophir-negotiate

Configuration

Environment VariableDescriptionDefault
OPHIR_REGISTRY_URLOphir registry endpointhttps://registry.ophir.ai/v1
OPHIR_SELLERSComma-separated seller endpointsAuto-discovered
OPHIR_BUYER_ENDPOINTLocal buyer agent endpointhttp://localhost:3001

What can it do?

ophir_discover — Find providers

"Find me inference providers with a reputation score above 80."

Returns a list of providers with their services, pricing, and reputation scores:

{
  "providers": [
    {
      "agent_id": "provider-abc",
      "endpoint": "https://provider-abc.ophir.ai",
      "services": [{ "category": "inference", "base_price": "0.002", "currency": "USDC", "unit": "request" }],
      "reputation": { "score": 92, "total_agreements": 1847 }
    }
  ],
  "total": 3
}

ophir_negotiate — Full negotiation flow

"Negotiate inference service with a max budget of 0.005 USDC per request."

Sends an RFQ to all matching providers, collects quotes, ranks them, and returns the best option:

{
  "best_quote": {
    "seller": "provider-abc",
    "price": "0.0018",
    "currency": "USDC",
    "unit": "request",
    "sla": [
      { "metric": "latency_p99", "target": "500ms" },
      { "metric": "uptime", "target": "99.9%" }
    ]
  },
  "total_quotes": 5,
  "rfq_id": "rfq_01HXYZ..."
}

ophir_accept_quote — Accept a quote

"Accept quote qt_abc123 from RFQ rfq_01HXYZ."

Creates a signed agreement with the selected provider, locking in the negotiated terms.

ophir_check_agreement — Monitor SLA compliance

"Check if agreement agr_xyz is meeting its SLA targets."

Returns current SLA metric observations and compliance status:

{
  "agreement_id": "agr_xyz",
  "sla_metrics": [
    { "name": "latency_p99", "target": "500ms", "comparison": "lte" },
    { "name": "uptime", "target": "99.9%", "comparison": "gte" }
  ],
  "compliance_status": "monitoring_available"
}

ophir_list_agreements — View active agreements

"Show me all my active provider agreements."

Lists all agreements with their pricing, status, and SLA terms.

ophir_dispute — File an SLA dispute

"File a dispute against agreement agr_xyz for latency violations."

Submits a dispute with cryptographic evidence of SLA violations, triggering the protocol's dispute resolution process.

License

MIT

Keywords

mcp

FAQs

Package last updated on 06 Mar 2026

Related posts