Platform: VSCode Extension
Transport Modes: Stdio (local) and HTTP (remote)
Prerequisites: Cline installed in VSCode
Installation
Install Cline from the VSCode marketplace:- Open VSCode
- Go to Extensions (Cmd/Ctrl+Shift+X)
- Search for “Cline”
- Click Install
Local (Stdio) Setup
Step 1: Open Cline configuration- Open Cline in VSCode
- Click the hamburger menu icon (☰) → MCP Servers
- Choose Local Servers tab
- Click Edit Configuration
Remote (HTTP) Setup
Step 1: Start remote server- Open Cline
- Click the hamburger menu icon (☰) → MCP Servers
- Choose Remote Servers tab
- Click Edit Configuration
Cline uses
"type": "streamableHttp" for HTTP connections (not just "http").Testing the Connection
After configuration:- Open Cline panel in VSCode
- Check that the MCP server appears in the server list
- Ask “What tools are available?”
- Test with “Show me the IBM i system status”
Troubleshooting
Server Not Appearing
Server Not Appearing
Solutions:
- Verify JSON syntax in configuration
- Restart VSCode (not just Cline)
- Check that
npx -y @ibm/ibmi-mcp-server@latestworks from terminal - Ensure all paths are absolute
- Check VSCode Output panel for errors
Connection Failed
Connection Failed
Solutions:
- Verify IBM i credentials are correct
- Check Mapepire is running:
sc check mapepire - Test connectivity:
ping your-ibmi-host - Ensure port 8076 is accessible
Authentication Failed (Remote)
Authentication Failed (Remote)
Solutions:
- Verify server is running:
curl http://localhost:3010/mcp - Check token hasn’t expired
- Get fresh token:
node get-access-token.js --verbose - Ensure
streamableHttptype is used (not justhttp)
Tools Not Loading
Tools Not Loading
Solutions:
- Verify tools path exists and is absolute
- Check YAML files are valid:
npm run validate -- --config tools - Review Cline logs for tool loading errors
- Ensure user has database authorities
Advanced Configuration
Multiple Environments
Configure different servers for dev and production:Custom Toolsets
Load specific toolsets for focused workflows:MCP Marketplace
Cline also supports discovering MCP servers through the Cline MCP Marketplace, though manual configuration provides more flexibility for custom setups.Next Steps
SQL Tools
Create custom SQL tools
Configuration
Explore all configuration options
Authentication
Set up secure authentication
Other Clients
Explore other MCP clients