Skip to main content
Glama
nirholas

@three-ws/ibm-x402-mcp

by nirholas

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WATSONX_URLNoIBM watsonx.ai URL (default: https://us-south.ml.cloud.ibm.com).
WATSONX_API_KEYYesIBM Cloud API key for watsonx.ai.
WATSONX_MODEL_IDNoGranite model ID for chat (default: ibm/granite-3-8b-instruct).
WATSONX_SPACE_IDNowatsonx.ai deployment space ID (alternative to WATSONX_PROJECT_ID).
WATSONX_PROJECT_IDNowatsonx.ai project ID (alternative to WATSONX_SPACE_ID).
X402_FACILITATOR_URLNox402 facilitator URL (default: https://facilitator.payai.network).
X402_FEE_PAYER_SOLANANoSolana address of the fee payer (default: three.ws fee payer).
WATSONX_EMBED_MODEL_IDNoGranite embedding model ID (default: ibm/granite-embedding-278m-multilingual).
MCP_SVM_PAYMENT_ADDRESSYesSolana wallet address to receive USDC payments.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ibm_granite_getting_startedA

FREE — start here. Returns an overview of this server: the IBM Granite tools available, their per-call USDC prices, how the x402 pay-per-call flow works, setup requirements, and runnable example calls. No payment required. Call this first to orient before invoking a paid tool.

ibm_granite_chatA

Chat completion powered by IBM Granite foundation models (default: ibm/granite-3-8b-instruct). Send a conversation as role/content message pairs and receive the assistant reply with token usage. No IBM Cloud account required — pay $0.02 USDC per call via x402.

ibm_granite_codeA

Code generation, review, refactoring, and explanation via IBM Granite instruct models. Provide a task type and code/prompt; receive the generated or reviewed code with explanation. No IBM Cloud account required — pay $0.025 USDC per call via x402.

ibm_granite_embedA

Generate embedding vectors for one or more texts using IBM Granite (default: ibm/granite-embedding-278m-multilingual). Returns one float array per input, suitable for semantic search, RAG retrieval, and similarity scoring. Up to 64 texts per call. No IBM Cloud account required — pay $0.005 USDC per call via x402.

ibm_granite_analyzeA

Structured document analysis powered by IBM Granite: extract entities, sentiment, risk signals, a concise summary, and recommended next steps from any text (contracts, reports, emails, code reviews, etc.). Returns a machine-readable JSON analysis. No IBM Cloud account required — pay $0.04 USDC per call via x402.

ibm_granite_forecastA

Zero-shot time-series forecasting via IBM Granite TTM (Tiny Time Mixer). Provide a numeric series with ISO-8601 timestamps and a cadence, receive the forecast horizon. No training required. Suitable for revenue, traffic, sensor, energy, and financial series. No IBM Cloud account required — pay $0.05 USDC per call via x402.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/ibm-x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server