@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. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 | |
TDQS
Scored across 6 tools
Each tool has a uniquely defined purpose (analysis, chat, code, embedding, forecasting, and getting started) with no ambiguity between them. An agent can easily distinguish which tool to invoke.
All tool names follow the consistent pattern 'ibm_granite_<action>', using snake_case and a clear verb describing the operation. This pattern is uniform across all 6 tools.
The server has 6 tools, which is well-scoped for a focused MCP server offering IBM Granite model capabilities. Each tool covers a distinct use case without being overwhelming or insufficient.
The tool set covers common AI tasks (chat, code, analysis, embeddings, forecasting) and includes a getting started guide. Minor gaps like model customization or batch operations are absent, but core functionality is complete for the stated purpose.