Skip to main content
Glama
obcraft
by obcraft

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIOSK_HOMENoOverride the default ~/.apiosk directory
APIOSK_GATEWAYNoOverride the gateway base URL
APIOSK_USER_JWTNoUnlock dashboard wallet routes (alternative to APIOSK_DASHBOARD_JWT)
APIOSK_X_PAYMENTNoAttach a pre-built x402 proof manually
APIOSK_PRIVATE_KEYNoEnables automatic x402 settlement and signed publish requests
APIOSK_CONNECT_TOKENNoAttach a dashboard-managed connect token
APIOSK_DASHBOARD_JWTNoUnlock dashboard wallet routes (alternative to APIOSK_USER_JWT)
APIOSK_DASHBOARD_URLNoOverride the human-facing dashboard/app URLhttps://dashboard.apiosk.com
APIOSK_PROVIDER_TOKENNoProvider token for publishing tools (sk_live_...)
APIOSK_WALLET_ADDRESSNoSend a wallet address for wallet-aware flows
APIOSK_MCP_AUTH_SECRETNoAlternative to APIOSK_MCP_OAUTH_SECRET
APIOSK_MCP_NPM_PACKAGENoOverride the npm package spec for the PyPI launcher
APIOSK_MCP_BEARER_TOKENNoOptional hosted OAuth access token used by the live scripts for authenticated protected-tool checks
APIOSK_MCP_OAUTH_SECRETNoSigning secret for hosted OAuth codes, access tokens, and refresh tokens
APIOSK_MCP_WALLET_STORENoOverride the local wallet store path
APIOSK_CONTROL_PLANE_URLNoOverride the MCP-owned control-plane API base URLhttps://mcp.apiosk.com
APIOSK_CONNECT_HEADER_NAMENoOverride the connect-token header name
APIOSK_ENABLE_LOCAL_WALLETSNoEnable local wallet tools in HTTP server mode
APIOSK_CONNECT_AUTHORIZATIONNoCustom Authorization header

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
apiosk_helpB

Explain what Apiosk MCP is, how to connect it, how auth and USDC/x402 payments work, and the recommended workflow for discovery, wallets, and publishing.

apiosk_payment_guideA

Explain how to pay through the Apiosk gateway. Returns a buyer guide (how an agent settles a paid API call over USDC/x402, tailored to the current auth) and a provider guide (how to publish an API and get paid). Pass slug to scope buyer guidance to one listing, or role to pick a side.

apiosk_exploreB

Browse Apiosk listing groups and explore one group at a time before narrowing with search.

apiosk_searchA

Search and browse the Apiosk catalog by capability, price, or category. For browsing/filtering the catalog. When the goal is to fulfil a user request with real paid data ('get me the live X'), prefer apiosk_discover, which decomposes the need and ranks the best endpoints across sources.

apiosk_discoverA

Find the best paid x402 API for a data capability across discovery sources (Apiosk catalog + federated external listings). Decompose the user's request into capability segments first, then call this once per capability. Returns a normalized, ranked list; each result's executable_via says whether to call apiosk_execute (Apiosk-settled) or apiosk_inspect_x402 + apiosk_fetch_paid (external). Use this instead of apiosk_search when the goal is 'get real paid data for X', not just browsing.

apiosk_inspect_x402A

Read an arbitrary URL's x402 payment terms (price, asset, network, payTo) WITHOUT paying. Use this on an external result's url from apiosk_discover before paying: it makes one unauthenticated request, parses the 402 offer, and returns the exact amount so you can confirm the price with the user. Read-only; never spends. apiosk_execute (for Apiosk catalog listings) does not need this.

apiosk_get_apiA

Fetch full listing detail and agent metadata for a specific Apiosk API slug.

apiosk_executeA

Execute any Apiosk API by slug through the uniform /execute contract.

apiosk_wallet_listA

List locally stored Apiosk wallets and show which one is active for autonomous pay and publish.

apiosk_wallet_createA

Create or import a local wallet for autonomous Apiosk payments and publishing. The active wallet is mirrored to ~/.apiosk/wallet.json and ~/.apiosk/wallet.txt for legacy compatibility.

apiosk_get_startedA

Set up local Apiosk access by importing a connect string or creating/selecting a wallet, then run a discovery probe and a small test call.

apiosk_configureB

Show a structured Apiosk control menu for a wallet, including funding instructions, QR code output when available, and wallet/pay/publish/data actions.

apiosk_wallet_selectA

Select the active local wallet used by apiosk_execute, dynamic API tools, and publish tools.

apiosk_wallet_updateB

Rename a local wallet or mark it active.

apiosk_wallet_deleteB

Delete a local wallet from the MCP keystore.

apiosk_wallet_reveal_secretA

Reveal a local wallet's private key. Only call this when the user explicitly asks to see the secret key.

apiosk_wallet_save_secretA

Save a local wallet's private key to a file without going through the dashboard.

apiosk_create_accountA

Create an Apiosk dashboard account for credits-based payments. Local stdio only; saves the returned dashboard session token locally when available.

apiosk_sign_inA

Sign into an existing Apiosk dashboard account and save the session token locally for credits and managed-wallet tools.

apiosk_list_walletsA

List the signed-in user's managed Apiosk wallets. Requires an Apiosk dashboard session from local env auth or hosted MCP authorization.

apiosk_create_walletB

Create or import a managed Apiosk wallet for the signed-in user.

apiosk_update_walletC

Update wallet label, status, display metadata, or spending limits.

apiosk_delete_walletC

Delete one of the signed-in user's wallets.

apiosk_get_wallet_activityA

Fetch recent transactions and activity for one managed wallet.

apiosk_create_wallet_connect_stringA

Rotate or create a connect token for a managed wallet and return the new connect string.

apiosk_list_wallet_api_keysA

List API keys / connect tokens for a managed wallet.

apiosk_create_wallet_api_keyC

Create a new API key / connect token for a managed wallet.

apiosk_update_wallet_api_keyA

Rename, revoke, or extend an existing managed wallet API key.

apiosk_delete_wallet_api_keyA

Delete an existing managed wallet API key permanently.

apiosk_show_wallet_fundingA

Show the buyer's Apiosk wallet address with a scannable QR code so they can fund it manually by sending USDC on Base mainnet from another wallet or exchange. Defaults to the user's first managed wallet when wallet_id is omitted. Always reminds the buyer that only Base mainnet USDC is accepted.

apiosk_publish_apiA

Publish a new API on Apiosk using the active local wallet or APIOSK_PRIVATE_KEY. No dashboard required.

apiosk_list_my_apisB

List the APIs owned by the active local wallet or APIOSK_PRIVATE_KEY.

apiosk_update_apiC

Update a published Apiosk API with signed wallet auth.

apiosk_delete_apiA

Delete or deactivate one of your published Apiosk APIs with signed wallet auth.

publish_x402_routeA

Publish an API endpoint as a paid x402 route on the Apiosk gateway. The route gets a paid URL that returns 402 Payment Required until the caller pays in USDC, then forwards to your upstream API. New routes enter Apiosk's review queue (status pending_review) and go live on approval. Requires an Apiosk provider token (Authorization: Bearer sk_live_…).

update_x402_routeA

Update a published x402 route: price, description, upstream URL, schemas, settlement address, or status. Requires an Apiosk provider token.

list_x402_routesA

List all x402 routes published by the authenticated provider, with paid URLs, prices, and live status. Requires an Apiosk provider token.

unpublish_x402_routeA

Disable a paid x402 route (its gateway listing stops serving). Reversible with update_x402_route {status: 'active'}. Requires an Apiosk provider token.

test_x402_routeA

Send an unpaid test request to a route's paid URL and verify x402 behavior: expects 402 Payment Required with a valid accepts[] payment offer. Requires an Apiosk provider token.

generate_openapi_specA

Generate a hosted OpenAPI 3.1 spec for a route's API listing (all its endpoints) and return its public URL. Requires an Apiosk provider token.

publish_projectA

Publish multiple API routes from one project in a single call. Creates one gateway listing for the project and one paid x402 route per entry. Requires an Apiosk provider token.

apiosk_fetch_paidA

Pay an EXTERNAL x402 endpoint (one Apiosk does not host) from the connected wallet and return its data. Use this only for external results from apiosk_discover (executable_via='apiosk_fetch_paid'); for Apiosk catalog listings use apiosk_execute. REQUIRED: call apiosk_inspect_x402 on the url first, tell the user the exact price, and pass that amount as confirmed_price_usdc — the gateway refuses if the live price is higher. The gateway enforces the wallet's per-tx/daily spend limits. Base + USDC only.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Apiosk paid result canvas