ibm-x402-mcp
IBM Granite via x402
x402 pay-per-use IBM Granite AI: chat, code, embeddings, analysis, forecasting. Pay USDC per call.
Package Details
@three-ws/ibm-x402-mcp
Environment Variables
Solana wallet address that receives USDC payments from tool callers (server operator's receiving wallet). Required to accept x402 payments.
IBM Cloud API key used by the server to call watsonx.ai on behalf of end users. Create one at https://cloud.ibm.com/iam/apikeys.
watsonx.ai project id scoping all inference calls. Find it under your project → Manage → General → Project ID. Provide this or WATSONX_SPACE_ID.
watsonx.ai deployment space id. Alternative to WATSONX_PROJECT_ID.
Regional watsonx.ai inference host. Defaults to https://us-south.ml.cloud.ibm.com. Other regions: eu-de, eu-gb, jp-tok, au-syd, ca-tor.
Default chat/generation Granite model id. Defaults to ibm/granite-3-8b-instruct.
Default embedding model id. Defaults to ibm/granite-embedding-278m-multilingual.
Solana account that sponsors transaction fees for x402 payments. Defaults to the three.ws fee payer.
x402 facilitator endpoint for payment verification and settlement. Defaults to https://facilitator.payai.network.