← Back to Plugins
MCP Server MCP

IBM Granite via x402

github By github 👁 1 views ▲ 0 votes

x402 pay-per-use IBM Granite AI: chat, code, embeddings, analysis, forecasting. Pay USDC per call.

Homepage Verified source GitHub

Install

npx -y @three-ws/ibm-x402-mcp@1.1.3

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@three-ws/ibm-x402-mcp",
      "version": "1.1.3",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Solana wallet address that receives USDC payments from tool callers (server operator's receiving wallet). Required to accept x402 payments.",
          "isRequired": true,
          "format": "string",
          "name": "MCP_SVM_PAYMENT_ADDRESS"
        },
        {
          "description": "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.",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "WATSONX_API_KEY"
        },
        {
          "description": "watsonx.ai project id scoping all inference calls. Find it under your project → Manage → General → Project ID. Provide this or WATSONX_SPACE_ID.",
          "format": "string",
          "name": "WATSONX_PROJECT_ID"
        },
        {
          "description": "watsonx.ai deployment space id. Alternative to WATSONX_PROJECT_ID.",
          "format": "string",
          "name": "WATSONX_SPACE_ID"
        },
        {
          "description": "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.",
          "format": "string",
          "name": "WATSONX_URL"
        },
        {
          "description": "Default chat/generation Granite model id. Defaults to ibm/granite-3-8b-instruct.",
          "format": "string",
          "name": "WATSONX_MODEL_ID"
        },
        {
          "description": "Default embedding model id. Defaults to ibm/granite-embedding-278m-multilingual.",
          "format": "string",
          "name": "WATSONX_EMBED_MODEL_ID"
        },
        {
          "description": "Solana account that sponsors transaction fees for x402 payments. Defaults to the three.ws fee payer.",
          "format": "string",
          "name": "X402_FEE_PAYER_SOLANA"
        },
        {
          "description": "x402 facilitator endpoint for payment verification and settlement. Defaults to https://facilitator.payai.network.",
          "format": "string",
          "name": "X402_FACILITATOR_URL"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...