Informix MCP Server
Informix MCP Server
A Model Context Protocol server for IBM Informix databases. Connects via JDBC using jaydebeapi, so no Informix Client SDK installation is needed -- just a JDBC driver JAR and Java.
Prerequisites
Python 3.11+
uv (Python package manager)
Java 8+ (JDK or JRE)
An Informix JDBC driver JAR is bundled in the drivers/ directory. To use a different version, either replace the JAR in drivers/ or set the INFORMIX_JDBC_DRIVER_PATH environment variable.
Available Tools
Tool | Description |
| Test connectivity and return the Informix server version |
| List all databases on the server (queries |
| List user tables in a database, optionally including views and system tables |
| Get column names, types, lengths, and nullability for a table |
| Run arbitrary SQL with a configurable row limit |
| Show indexes on a table (name, type, clustered) |
| Show PK, FK, unique, and check constraints for a table |
All tools accept an optional database parameter to target a specific database. If omitted, the default database from INFORMIX_DATABASE is used.
Setup
Cursor IDE
Add the following to ~/.cursor/mcp.json:
{
"mcpServers": {
"informix": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/informix-mcp",
"informix-mcp-server.py"
],
"env": {
"JAVA_HOME": "/path/to/java/home",
"INFORMIX_HOST": "your-host.example.com",
"INFORMIX_PORT": "5020",
"INFORMIX_DATABASE": "your_database",
"INFORMIX_SERVER": "your_informix_server",
"INFORMIX_USER": "your_user",
"INFORMIX_PASSWORD": "your_password",
"INFORMIX_DBDATE": "MDY4"
}
}
}
}After saving, restart the MCP server from Cursor Settings > MCP.
Claude Desktop
Add the following to your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"informix": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/informix-mcp",
"informix-mcp-server.py"
],
"env": {
"JAVA_HOME": "/path/to/java/home",
"INFORMIX_HOST": "your-host.example.com",
"INFORMIX_PORT": "5020",
"INFORMIX_DATABASE": "your_database",
"INFORMIX_SERVER": "your_informix_server",
"INFORMIX_USER": "your_user",
"INFORMIX_PASSWORD": "your_password",
"INFORMIX_DBDATE": "MDY4"
}
}
}
}After saving, restart Claude Desktop for the changes to take effect. The Informix tools will appear in the tools menu (hammer icon) when starting a new conversation.
Environment Variables
Variable | Required | Description |
| Yes | Path to a JDK/JRE home directory |
| Yes | Informix server hostname |
| Yes | Informix SQLI port |
| Yes | Default database name |
| Yes | Informix server instance name ( |
| Yes | Database username |
| Yes | Database password |
| No | Date format (defaults to |
| No | Override path to a JDBC driver JAR (defaults to bundled |
Running Standalone
# Install dependencies
uv sync
# Run (with env vars set)
uv run informix-mcp-server.pyThe server communicates over stdio using the MCP protocol.
Switching Environments
To connect to a different Informix instance, update the env values in mcp.json with the new host, port, server name, database, and credentials. Restart the MCP server after changing environment variables.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- 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/blakecodes/informix-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server