AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

IBM Granite via x402

Community

MCP server by nirholas · updated · ★ 241

Score 82

x402 pay-per-use IBM Granite AI: chat, code, embeddings, analysis, forecasting. Pay USDC per call. IBM Granite via x402 is a community project by nirholas, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 4 days ago

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 241 stars, original repository

Security

Runs a script automatically when the package is installed

What you need

SettingNeededWhat it is
MCP_SVM_PAYMENT_ADDRESSEnvironment variableRequiredSolana wallet address that receives USDC payments from tool callers (server operator's receiving wallet). Required to accept x402 payments.
WATSONX_API_KEYEnvironment variable, secretRequiredIBM 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_PROJECT_IDEnvironment variableOptionalwatsonx.ai project id scoping all inference calls. Find it under your project → Manage → General → Project ID. Provide this or WATSONX_SPACE_ID.
WATSONX_SPACE_IDEnvironment variableOptionalwatsonx.ai deployment space id. Alternative to WATSONX_PROJECT_ID.
WATSONX_URLEnvironment variableOptionalRegional 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.
WATSONX_MODEL_IDEnvironment variableOptionalDefault chat/generation Granite model id. Defaults to ibm/granite-3-8b-instruct.
WATSONX_EMBED_MODEL_IDEnvironment variableOptionalDefault embedding model id. Defaults to ibm/granite-embedding-278m-multilingual.
X402_FEE_PAYER_SOLANAEnvironment variableOptionalSolana account that sponsors transaction fees for x402 payments. Defaults to the three.ws fee payer.
X402_FACILITATOR_URLEnvironment variableOptionalx402 facilitator endpoint for payment verification and settlement. Defaults to https://facilitator.payai.network.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install IBM Granite via x402

Built from the published package, never by AI
claude mcp add ibm-granite-via-x402 -e MCP_SVM_PAYMENT_ADDRESS=YOUR_MCP_SVM_PAYMENT_ADDRESS -e WATSONX_API_KEY=YOUR_WATSONX_API_KEY -- npx -y @three-ws/ibm-x402-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install IBM Granite via x402 in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ibm-granite-via-x402 block.

Weekly newsletter

Like IBM Granite via x402? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to IBM Granite via x402

All alternatives →

IBM Granite via x402: common questions

How do I install IBM Granite via x402?

In Claude Code run claude mcp add ibm-granite-via-x402 -e MCP_SVM_PAYMENT_ADDRESS=YOUR_MCP_SVM_PAYMENT_ADDRESS -e WATSONX_API_KEY=YOUR_WATSONX_API_KEY -- npx -y @three-ws/ibm-x402-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is IBM Granite via x402 the official server?

IBM Granite via x402 is a community project by nirholas, not verified by a company domain.

Is IBM Granite via x402 free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is IBM Granite via x402 safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to IBM Granite via x402?

Similar MCP servers: Vexa, TradingMCP, Agent-Native Brain, Agent-Native Chat.

Does IBM Granite via x402 work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.