obol
obol
페리맨에게 지불하세요. x402를 통한 Solana 에이전트 게이트웨이.
Obol은 AI 에이전트를 위한 종량제 Solana API입니다. API 키도, 구독도 없습니다 — 에이전트는 x402 결제 프로토콜을 사용하여 요청당 USDC로 지불합니다. Solana의 센트 미만 거래 비용 덕분에 마이크로페이먼트가 처음으로 실현 가능해졌습니다.
죽은 자의 혀에 놓아 스틱스 강을 건너는 카론에게 통행료를 지불하는 동전에서 이름을 따왔습니다. 원조 마이크로페이먼트.
작동 방식
에이전트가 유료 엔드포인트에서 데이터를 요청합니다.
Obol은 결제 요구 사항(금액, 수취인, 네트워크)과 함께 HTTP 402를 반환합니다.
에이전트는 요구 사항에 맞는 USDC를 Solana에서 전송합니다.
에이전트는
X-PAYMENT헤더에 거래 증명을 포함하여 재시도합니다.Obol은 온체인에서 검증하고 데이터를 반환합니다.
계정 없음. 토큰 없음. 온보딩 없음. 그냥 지불하고 사용하세요.
Related MCP server: AgentWallet MCP Server
엔드포인트
지갑 분석
엔드포인트 | 가격 | 설명 |
| $0.01 | SOL 잔액, 토큰 수, 총 가치 |
| $0.05 | 가격, NFT, 세부 내역을 포함한 전체 보유 |
| $0.05 | 분류된 거래 내역 |
| $0.10 | 다중 요인 위험 평가 |
| $0.15 | 토큰 흐름 분석, 현재 가치, 손익 |
토큰 데이터
엔드포인트 | 가격 | 설명 |
| $0.005 | Jupiter를 통한 실시간 가격 |
| $0.01 | 이름, 심볼, 공급량, 소수점 |
DeFi
엔드포인트 | 가격 | 설명 |
| $0.005 | 경로 계획이 포함된 Jupiter 스왑 견적 |
| $0.25 | Jupiter 스왑 트랜잭션 빌더 |
| $0.10 | DeFi 포지션 — LST, LP, 대출 |
| $0.02 | Solana 전역 LST 수익률 비교 |
무료
엔드포인트 | 설명 |
| API 정보 및 가격 |
| 서비스 상태 |
| 프록시된 Helius RPC (허용된 메서드만) |
에이전트 예제
전체 참조 구현은 examples/agent-client.ts를 참조하세요. 핵심 흐름:
import { ObolAgent } from './examples/agent-client';
const agent = new ObolAgent();
await agent.discover(); // fetch pricing
agent.loadWallet(process.env.AGENT_PRIVATE_KEY);
// Auto-discovers price, pays, and returns data
const price = await agent.fetch('/api/v1/token/USDC_MINT/price');탐색 전용 모드로 실행 (지갑 불필요):
npx tsx examples/agent-client.tsMCP 서버
Obol은 MCP 서버로 제공됩니다 — Model Context Protocol을 지원하는 모든 AI 에이전트는 Obol의 도구를 기본적으로 발견하고 호출할 수 있습니다.
npm에서 설치
npm install -g obol-mcpClaude Desktop / Claude Code
MCP 구성에 추가:
{
"mcpServers": {
"obol": {
"command": "npx",
"args": ["-y", "obol-mcp"],
"env": {
"OBOL_URL": "https://obol-production.up.railway.app"
}
}
}
}또는 로컬에서 개발하는 경우:
{
"mcpServers": {
"obol": {
"command": "npx",
"args": ["tsx", "/path/to/obol/src/mcp.ts"],
"env": {
"OBOL_URL": "http://localhost:3000"
}
}
}
}사용 가능한 MCP 도구
도구 | 설명 |
| SOL 잔액, 토큰 수, 총 가치 |
| 가격과 세부 내역을 포함한 전체 보유 |
| 분류된 거래 내역 |
| 다중 요인 위험 평가 |
| 토큰 흐름 분석 및 손익 |
| Jupiter를 통한 실시간 가격 |
| 이름, 심볼, 공급량, 소수점 |
| 라우팅이 포함된 Jupiter 스왑 견적 |
| 서명용 스왑 트랜잭션 빌드 |
| LST, LP, 대출 포지션 |
| LST 수익률 비교 |
| API 상태 확인 (무료) |
| 엔드포인트 가격 및 정보 (무료) |
로컬에서 실행
npm run mcp스택
Fastify 5 — 고성능 HTTP
@x402/svm — Solana용 공식 x402 SDK
Helius — RPC + DAS API
Jupiter — 토큰 가격 + 스왑 실행
Upstash Redis — 캐시 + 결제 영수증
TypeScript — 전체 타입 안전성
Zod — 런타임 검증
설정
git clone https://github.com/halfkey/obol.git
cd obol
npm install
cp .env.example .env
# Edit .env with your Helius key and merchant wallet address
npm run dev테스트
# Unit + integration tests (46 tests)
npm test -- --run
# Smoke test against live deployment
npx tsx scripts/smoke-test.ts https://obol-production.up.railway.app
# Manual payment test
npx tsx scripts/test-payment.ts <tx-signature>환경
.env.example 참조. 주요 변수:
PAYMENT_MODE—mock(개발, 자동 승인) 또는onchain(프로덕션)PAYMENT_RECIPIENT_ADDRESS— USDC를 받는 당신의 Solana 지갑HELIUS_API_KEY— Helius RPC 접근UPSTASH_REDIS_REST_URL/TOKEN— 캐시 레이어
로드맵
유료 엔드포인트 11개 (지갑, 토큰, DeFi, LST, 손익)
재생 방지가 포함된 온체인 USDC 검증
테스트 스위트 (vitest 46개 + 20포인트 스모크 테스트)
에이전트 클라이언트 참조 구현
GitHub Actions CI
지갑 모니터링을 위한 WebSocket 구독
동적 혼잡 기반 가격 책정
멀티체인 지원
라이선스
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the x402 payment protocol on Solana, allowing discovery and consumption of x402-enabled services, USDC payment management, and access to Solana development resources.10MIT
- AlicenseAqualityDmaintenanceProvides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.293343MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT
- AlicenseBqualityCmaintenanceProvides 13 Solana DeFi intelligence tools for AI agents, paid per-call via micropayments (USDC). Enables pulling live DeFi data and automatic payment settlement.13631MIT
Related MCP Connectors
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/halfkey/obol'
If you have feedback or need assistance with the MCP directory API, please join our Discord server