Facilitates running the JDBCX server in a Docker container, which the MCP server communicates with to provide database access capabilities.
JDBCX MCP Server
pydbcx-mcp is a Python implementation of MCP server for enabling communication with diverse data sources via JDBCX server.
Installation
Start JDBCX server
Starts the JDBCX server container. Check out here for more information.
Configure MCP server
To install JDBCX MCP server for Claude Desktop automatically via Smithery:
Alternatively, add the MCP server into your JSON config file.
Development/Unpublished Server Configuration
Published Server Configuration
Published SSE Server Configuration
Note: remember to start the SSE server first by JDBCX_SERVER_URL=http://localhost:8080/ DEFAULT_QUERY_TIMEOUT_SECONDS=30 uvx pydbcx-mcp --transport sse
.
Configuration
Configure the server using environment variables:
Variable | Description | Default |
---|---|---|
JDBCX_LOG_LEVEL | Log level | DEBUG |
JDBCX_SERVER_URL | JDBCX server URL | http://localhost:8080 |
JDBCX_SERVER_TOKEN | JDBCX server access token | None |
DEFAULT_ACCEPT_ENCODING | Default accept-encoding | identity |
DEFAULT_QUERY_TIMEOUT_SECONDS | Default query timeout (seconds) | 10 |
DEFAULT_DATA_FORMAT | Default data format (md, jsonl, csv) | csv |
DEFAULT_ROWS_LIMIT | Default number of rows can be returned | 100 |
MAX_ROWS_LIMIT | Maximum number of rows can be returned | 1000 |
MCP_TRANSPORT | MCP server transport (stdio, see) | stdio |
MCP_SERVER_HOST | MCP server listening address | 0.0.0.0 |
MCP_SERVER_PORT | MCP server listening port | 8080 |
MCP_SERVER_NAME | MCP server name | JDBCX MCP Server |
Note: It is highly recommended to enable access token in JDBCX server and configure JDBCX_SERVER_TOKEN
accordingly for security reason.
This server cannot be installed
JDBCX MCP Server
Related MCP Servers
- -securityAlicense-qualityMCP to access any database accessible via JDBC such as Postgres, Oracle, mysql, mariadb, sqlite etc.Last updated -122Apache 2.0
- GoApache 2.0
- Python
- -securityAlicense-qualityOpenLink MCP Server for JDBCLast updated -1MIT License