Nodecode
Get a Nodecode API key with crypto, check balance, top up and list models for Cyber v1.
사용해야 할까요
품질 및 안전성
발견 사항 (5)
- HIGH
- MEDIUMcreate_crypto_order에서
- MEDIUMcreate_stripe_order에서
- MEDIUMtopup_crypto에서
- MEDIUMtopup_stripe에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mcp": {
"url": "https://nodecode.ai/mcp"
}
}
}원격 엔드포인트
https://nodecode.ai/mcpstreamable-http할 수 있는 일
도구 목록
도구 (12)
🟢list_models
Every public Nodecode model (Cyber v1 first) with its context, output cap and price per million tokens now, and the links an agent follows to get a key. No key needed.
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢list_crypto_coins
The coins a crypto order takes now, with their network, token standard and confirmations, and the order's least and greatest amount. No key needed.
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢get_pow_challenge
A fresh proof-of-work challenge for create_crypto_order: find a decimal `nonce` such that SHA-256 of `challenge + ":" + nonce` starts with `difficulty` zero bits (about 2^difficulty hashes). It holds `expires_at` and opens one order. No key needed.
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟡create_crypto_order(coin, amount_usd, currency, country, key_name, ...)
Open an order for a new account's API key, paid in one coin with no account, browser or email. Needs a solved proof of work: call get_pow_challenge, solve it, and pass its `challenge` and your `nonce`. Answers the address, exact amount, shareable read-only `payment_url` (https://nodecode.ai/tx/<id> with QR and live status) to pay before `expires_at`, and `claim_token`, said only this once: keep it, it is the only way to the key. Then poll check_order_and_claim_key.
입력 스키마
{
"type": "object",
"properties": {
"coin": {
"type": "string",
"description": "A coin from list_crypto_coins: btc, eth, usdt, usdc, usdc_base (USDC on Base), usdc_arb (USDC on Arbitrum One), usdt_tron, usdc_sol or xmr, where this deployment takes it."
},
"amount_usd": {
"type": "integer",
"minimum": 1,
"description": "Whole units of balance to buy, in `currency`; VAT goes on top where it is due."
},
"currency": {
"type": "string",
"enum": [
"usd",
"eur"
],
"description": "The balance's currency: usd (the default) or eur."
},
"country": {
"type": "string",
"description": "Two-letter country code of the buyer, for VAT. Defaults to the one the edge reads off the request.",
"minLength": 2,
"maxLength": 2
},
"key_name": {
"type": "string",
"description": "A name for the key the order mints.",
"maxLength": 64
},
"challenge": {
"type": "string",
"description": "The `challenge` from get_pow_challenge."
},
"nonce": {
"type": "string",
"description": "Your solution: 1 to 64 of A-Z a-z 0-9 - _ (a decimal count works)."
}
},
"required": [
"coin",
"amount_usd",
"challenge",
"nonce"
],
"additionalProperties": false
}🟡create_stripe_order(amount_usd, currency, country, key_name, challenge, ...)
Open a Stripe Checkout order ($5 to $25) for a new account's API key, paid by card, Apple Pay, Google Pay, iDEAL, Pix or SEPA with no prior account. Needs a solved proof of work: call get_pow_challenge, solve it, and pass `challenge` and `nonce`. Answers `checkout_url`, shareable read-only `payment_url` (https://nodecode.ai/tx/<id>), and `claim_token`, said once: keep it and poll check_order_and_claim_key.
입력 스키마
{
"type": "object",
"properties": {
"amount_usd": {
"type": "integer",
"minimum": 5,
"maximum": 25,
"description": "Whole units of balance ($5 to $25 for a cold first Stripe order), in `currency`; VAT goes on top where due."
},
"currency": {
"type": "string",
"enum": [
"usd",
"eur"
],
"description": "The balance's currency: usd (the default) or eur."
},
"country": {
"type": "string",
"description": "Two-letter country code of the buyer, for VAT. Defaults to the one the edge reads off the request.",
"minLength": 2,
"maxLength": 2
},
"key_name": {
"type": "string",
"description": "A name for the key the order mints.",
"maxLength": 64
},
"challenge": {
"type": "string",
"description": "The `challenge` from get_pow_challenge."
},
"nonce": {
"type": "string",
"description": "Your solution: 1 to 64 of A-Z a-z 0-9 - _ (a decimal count works)."
}
},
"required": [
"amount_usd",
"challenge",
"nonce"
],
"additionalProperties": false
}🟢check_order_and_claim_key(order_id, claim_token)
An order as it stands: status goes open -> seen (coin arrived, confirming) -> paid; underpaid and expired are the other ends. Once paid it carries `api_key` (sk-nc-...), `base_url` and the balance; if `key_pending` is true, poll again. Poll every 15 to 60 seconds. Then call ack_order_key once the key is stored.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The order's id (`order_id` from create_crypto_order)."
},
"claim_token": {
"type": "string",
"description": "The order's claim token (`nco_...`), said once by create_crypto_order. May instead be sent as the HTTP header `Authorization: Bearer nco_...`."
}
},
"required": [
"order_id"
],
"additionalProperties": false
}🔴ack_order_key(order_id, claim_token)
Once the order's key is stored: wipe the order's sealed copy of it, so later polls say only its prefix.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The order's id (`order_id` from create_crypto_order)."
},
"claim_token": {
"type": "string",
"description": "The order's claim token (`nco_...`), said once by create_crypto_order. May instead be sent as the HTTP header `Authorization: Bearer nco_...`."
}
},
"required": [
"order_id"
],
"additionalProperties": false
}🟢get_balance
What the key's account holds, in each currency it holds any, and where to refill it. Needs the account's API key as the HTTP header `Authorization: Bearer sk-nc-...` on the MCP request itself; a key in the arguments is refused.
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢topup_crypto(coin, amount_usd, currency, country)
Open a crypto top-up of the key's own account (when a call answers 402 insufficient_balance): pay `amount_coin` to `address` (or share `payment_url` at https://nodecode.ai/tx/<id>), then poll check_crypto_topup until `status` is paid. Needs the account's API key as the HTTP header `Authorization: Bearer sk-nc-...` on the MCP request itself; a key in the arguments is refused.
입력 스키마
{
"type": "object",
"properties": {
"coin": {
"type": "string",
"description": "A coin from list_crypto_coins: btc, eth, usdt, usdc, usdc_base (USDC on Base), usdc_arb (USDC on Arbitrum One), usdt_tron, usdc_sol or xmr, where this deployment takes it."
},
"amount_usd": {
"type": "integer",
"minimum": 1,
"description": "Whole units of balance to buy, in `currency`; VAT goes on top where it is due."
},
"currency": {
"type": "string",
"enum": [
"usd",
"eur"
],
"description": "The balance's currency: usd (the default) or eur."
},
"country": {
"type": "string",
"description": "Two-letter country code of the buyer, for VAT. Defaults to the one the edge reads off the request.",
"minLength": 2,
"maxLength": 2
}
},
"required": [
"coin",
"amount_usd"
],
"additionalProperties": false
}🟢check_crypto_topup(invoice_id)
One crypto top-up of the key's account as it stands, read from the chain when a read is due. Needs the account's API key as the HTTP header `Authorization: Bearer sk-nc-...` on the MCP request itself; a key in the arguments is refused.
입력 스키마
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string",
"description": "The top-up's `invoice_id` from topup_crypto."
}
},
"required": [
"invoice_id"
],
"additionalProperties": false
}🟢topup_stripe(amount_usd, currency, country)
Open a Stripe Checkout top-up for the key's own account (card, Apple Pay, Google Pay, iDEAL, Pix, SEPA): share `payment_url` (https://nodecode.ai/tx/<id>) or `checkout_url` with a human, then poll check_stripe_topup until `status` is paid. Needs the account's API key as the HTTP header `Authorization: Bearer sk-nc-...` on the MCP request itself; a key in the arguments is refused.
입력 스키마
{
"type": "object",
"properties": {
"amount_usd": {
"type": "integer",
"minimum": 1,
"description": "Whole units of balance to buy, in `currency`; VAT goes on top where it is due."
},
"currency": {
"type": "string",
"enum": [
"usd",
"eur"
],
"description": "The balance's currency: usd (the default) or eur."
},
"country": {
"type": "string",
"description": "Two-letter country code of the buyer, for VAT. Defaults to the one the edge reads off the request.",
"minLength": 2,
"maxLength": 2
}
},
"required": [
"amount_usd"
],
"additionalProperties": false
}🟢check_stripe_topup(topup_id)
One Stripe top-up of the key's account as it stands. Needs the account's API key as the HTTP header `Authorization: Bearer sk-nc-...` on the MCP request itself; a key in the arguments is refused.
입력 스키마
{
"type": "object",
"properties": {
"topup_id": {
"type": "string",
"description": "The top-up's `topup_id` from topup_stripe."
}
},
"required": [
"topup_id"
],
"additionalProperties": false
}커뮤니티
증거