@three-ws/ibm-x402-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WATSONX_URL | No | IBM watsonx.ai URL (default: https://us-south.ml.cloud.ibm.com). | |
| WATSONX_API_KEY | Yes | IBM Cloud API key for watsonx.ai. | |
| WATSONX_MODEL_ID | No | Granite model ID for chat (default: ibm/granite-3-8b-instruct). | |
| WATSONX_SPACE_ID | No | watsonx.ai deployment space ID (alternative to WATSONX_PROJECT_ID). | |
| WATSONX_PROJECT_ID | No | watsonx.ai project ID (alternative to WATSONX_SPACE_ID). | |
| X402_FACILITATOR_URL | No | x402 facilitator URL (default: https://facilitator.payai.network). | |
| X402_FEE_PAYER_SOLANA | No | Solana address of the fee payer (default: three.ws fee payer). | |
| WATSONX_EMBED_MODEL_ID | No | Granite embedding model ID (default: ibm/granite-embedding-278m-multilingual). | |
| MCP_SVM_PAYMENT_ADDRESS | Yes | Solana wallet address to receive USDC payments. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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