Skip to main content

Client Integration Overview

The IBM i MCP Server can be integrated into any MCP-compatible client using either local (stdio) or remote (HTTP) connections. This guide provides an overview of supported clients and helps you choose the right integration approach.
Prerequisites: Before integrating with clients, ensure you have:
  • IBM i MCP Server installed and built (npm install && npm run build)
  • Mapepire running on your IBM i system (see Setup Mapepire)
  • Your IBM i connection details (host, user, password, port)

Supported MCP Clients

The IBM i MCP Server works with popular MCP-compatible clients across different platforms:

Claude Desktop

Official desktop app for macOS and Windows

Claude Code

CLI tool with server management commands

IBM Bob

IBM’s AI-powered development assistant

VSCode

GitHub Copilot Chat integration

Cursor

AI-first code editor

Gemini CLI

Google AI command-line integration

Cline

VSCode extension for AI development

Transport Modes

The IBM i MCP Server supports two transport protocols:
Standard Input/Output - Direct process communicationCharacteristics:
  • Runs locally on your machine
  • Lower latency
  • No network configuration needed
  • Each client spawns its own server process
Best for:
  • Desktop applications (Claude Desktop, Cursor)
  • CLI tools (Claude Code)
  • Development and testing
  • Single-user scenarios
Requirements:
  • Server must be installed locally
  • Absolute path to tools directory
  • Environment variables in client config

Client Comparison

Setup Prerequisites

For Local (Stdio) Setup

For Remote (HTTP) Setup

  1. Configure server for HTTP with authentication:
  2. Generate RSA keypair (for IBM i auth):
  3. Start the server:
  4. Obtain access token:

Authentication Methods

Use for: Local development, testing, trusted networks⚠️ Warning: Never use in production
Use for: Custom authentication systems, token-based auth
Use for: Enterprise SSO, external identity providers

Common Configuration Patterns

Next Steps

  1. Choose your client from the list above
  2. Follow the specific setup guide for your chosen client
  3. Configure authentication if using remote (HTTP) mode
  4. Test the connection by listing available tools
  5. Start building with SQL tools and agents
For detailed setup instructions, click on any client card above or navigate using the sidebar. Each client has unique configuration requirements and capabilities.

Troubleshooting

  • Verify server is running: ps aux | grep ibmi-mcp-server
  • Check npm link worked: which ibmi-mcp-server
  • Ensure TOOLS_YAML_PATH is an absolute path
  • Verify IBM i credentials are correct
  • Confirm server is running with IBMI_HTTP_AUTH_ENABLED=true
  • Verify token is valid: echo $IBMI_MCP_ACCESS_TOKEN
  • Check server logs for authentication errors
  • Ensure HTTPS is used in production
  • Validate YAML configuration: npm run validate -- --config tools
  • Check file permissions on tools directory
  • Use --list-toolsets to see available tools
  • Review server startup logs for parsing errors
Use direct node path instead:

Additional Resources