BridgeNode MCP
BridgeNode — x402 pay-per-request AI inference. OpenAI-compatible API + MCP, Solana USDC, gas-free.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"bridgenode-mcp": {
"command": "npx",
"args": [
"@bridgenode/mcp"
]
}
}
}실행 가능한 패키지
1.0.14stdio원격 엔드포인트
https://bridgenode.cc/mcpstreamable-http할 수 있는 일
도구 목록
도구 (3)
🟡chat_completions(model, mode, messages, max_tokens, tools, ...)
Send a chat completion request to any supported model. Free models are served without payment; the first calls to a PAID model are also free per client (free trials), after which x402 payment (Solana USDC) is required — an unpaid call returns 402 with the exact price; retry with _meta["x402/payment"]. Responses are non-streaming. Pass either mode (auto/eco/premium) or model (explicit id) — one of the two is required; model wins if both are sent. Use this tool to generate text; inspect models and prices first with the free list_models tool. Start with a FREE model (no payment at all) and keep max_tokens >= 200 — a thinking model spends part of that budget on reasoning, so a smaller limit can return an empty answer.
입력 스키마
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Explicit model id (see list_models / /v1/models). Mutually exclusive with mode."
},
"mode": {
"type": "string",
"enum": [
"auto",
"eco",
"premium"
],
"description": "Smart routing profile (auto/eco/premium)."
},
"messages": {
"type": "array",
"description": "Chat messages (text content only). An assistant turn that calls a tool may carry content: null with tool_calls.",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant",
"tool"
]
},
"content": {
"type": [
"string",
"null"
]
},
"tool_calls": {
"type": "array"
},
"tool_call_id": {
"type": "string"
}
},
"required": [
"role"
]
}
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"description": "Max output tokens (billed upfront, §4.2). MCP calls are non-stream: cap per config. Use >= 200 — reasoning models share this budget with their thinking and a smaller limit can return an empty answer."
},
"tools": {
"type": "array",
"description": "OpenAI-style tool schemas the model may call. Forwarded unchanged; they count as input tokens for the price (§4.2/§5.3).",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"function"
]
},
"function": {
"type": "object"
}
},
"required": [
"type",
"function"
]
}
},
"tool_choice": {
"description": "OpenAI tool_choice: 'auto', 'none', 'required', or {type: function, function: {name}}.",
"type": [
"string",
"object"
]
}
},
"required": [
"messages"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"required": [
"model"
]
},
{
"required": [
"mode"
]
}
]
}출력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"object": {
"type": "string"
},
"created": {
"type": "integer"
},
"model": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"message": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"finish_reason": {
"type": "string"
}
}
}
},
"usage": {
"type": "object",
"properties": {
"prompt_tokens": {
"type": "integer"
},
"completion_tokens": {
"type": "integer"
},
"total_tokens": {
"type": "integer"
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_models
List available models and their prices — free, no payment, no authentication required. Read-only: no state changes; data is served from the server's local config, so repeated calls return identical results (idempotent). Accepts no parameters: the input schema is an empty object, and any arguments passed are ignored. Calling it without arguments returns the complete catalog with per-token prices; there is no filtering, pagination, or configuration. Use this tool to inspect models and prices before calling the paid chat_completions tool. Same data as GET /v1/models (§5.2). Do not use it to generate text (use chat_completions) or to estimate a specific request's cost (use get_price_estimate).
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Accepts no parameters — empty object; any arguments passed are ignored."
}출력 스키마
{
"type": "object",
"properties": {
"object": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"pricing": {
"type": "object",
"properties": {
"prompt": {
"type": "number"
},
"completion": {
"type": "number"
}
}
},
"context_window": {
"type": "integer"
},
"max_output_tokens": {
"type": "integer"
}
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_price_estimate(model, mode, messages, max_tokens)
Estimate the USDC cost of a chat completion request before paying — free, no payment, no authentication required. Read-only: no state changes and no external calls; the estimate is computed locally from server pricing config, so repeated calls with identical inputs return identical results (idempotent). Use this tool to check the exact price for a given model/mode, messages, and max_tokens before calling the paid chat_completions tool. Provide either mode (auto/eco/premium routing) or model (explicit id, mutually exclusive with mode); one of the two is required — if both are sent, model wins. mode values: auto = cheapest model fitting the context, eco = cheapest available, premium = best model.
입력 스키마
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Explicit model id (see list_models / /v1/models). Mutually exclusive with mode."
},
"mode": {
"type": "string",
"enum": [
"auto",
"eco",
"premium"
],
"description": "Smart routing profile (auto/eco/premium)."
},
"messages": {
"type": "array",
"description": "Chat messages (text content only).",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant",
"tool"
]
},
"content": {
"type": "string"
}
},
"required": [
"role",
"content"
]
}
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"description": "Max output tokens to estimate (billed upfront, §4.2)."
}
},
"required": [
"messages"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"required": [
"model"
]
},
{
"required": [
"mode"
]
}
]
}출력 스키마
{
"type": "object",
"properties": {
"model": {
"type": "string"
},
"amount_usdc": {
"type": "number"
},
"amount_atomic": {
"type": "integer"
},
"input_tokens": {
"type": "integer"
},
"max_tokens_clamped": {
"type": "integer"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거