Skip to main content
Glama

JDBCX MCP Server

Servidor MCP JDBCX

pydbcx-mcp es una implementación Python del servidor MCP para permitir la comunicación con diversas fuentes de datos a través del servidor JDBCX.

Versión de PythonProtocolo MCP

imagen

Instalación

Iniciar el servidor JDBCX

Inicia el contenedor del servidor JDBCX. Para más información, consulta aquí .

# Start the server docker run --rm --name bridge -d -p8080:8080 jdbcx/jdbcx server # Test if the server if ready curl -v 'http://localhost:8080/config' # Check server logs docker logs --tail=100 -f bridge # Shutdown the server docker stop bridge

Configurar el servidor MCP

Para instalar automáticamente el servidor JDBCX MCP para Claude Desktop a través de Smithery :

npx -y @smithery/cli install @jdbcx/pydbcx-mcp --client claude

Alternativamente, agregue el servidor MCP a su archivo de configuración JSON.

Desarrollo/Configuración de servidor no publicada

{ "mcpServers": { "jdbcx": { "command": "uv", "args": [ "--directory", "</path/to/your/pydbcx-mcp/dir>", "run", "pydbcx-mcp" ], "env": { "DEFAULT_QUERY_TIMEOUT_SECONDS": "30", "JDBCX_SERVER_URL": "http://localhost:8080/", "JDBCX_SERVER_TOKEN": "", "MAX_ROWS_LIMIT": "5000" } } } }

Configuración del servidor publicado

{ "mcpServers": { "jdbcx": { "command": "uvx", "args": ["pydbcx-mcp"], "env": { "DEFAULT_DATA_FORMAT": "md" } } } }

Configuración del servidor SSE publicada

{ "mcpServers": { "jdbcx": { "url": "http://localhost:8080/sse" } } }

Nota: recuerde iniciar primero el servidor SSE mediante JDBCX_SERVER_URL=http://localhost:8080/ DEFAULT_QUERY_TIMEOUT_SECONDS=30 uvx pydbcx-mcp --transport sse .

Configuración

Configurar el servidor usando variables de entorno:

VariableDescripciónPor defecto
JDBCX_LOG_LEVELNivel de registroDEBUG
JDBCX_SERVER_URLURL del servidor JDBCXhttp://localhost:8080
JDBCX_SERVER_TOKENToken de acceso al servidor JDBCXNinguno
DEFAULT_ACCEPT_ENCODINGCodificación de aceptación predeterminadaidentity
DEFAULT_QUERY_TIMEOUT_SECONDSTiempo de espera de consulta predeterminado (segundos)10
DEFAULT_DATA_FORMATFormato de datos predeterminado (md, jsonl, csv)csv
DEFAULT_ROWS_LIMITSe puede devolver el número predeterminado de filas100
MAX_ROWS_LIMITSe puede devolver el número máximo de filas1000
MCP_TRANSPORTTransporte del servidor MCP (stdio, ver)stdio
MCP_SERVER_HOSTDirección de escucha del servidor MCP0.0.0.0
MCP_SERVER_PORTPuerto de escucha del servidor MCP8080
MCP_SERVER_NAMENombre del servidor MCPJDBCX MCP Server

Nota: Se recomienda encarecidamente habilitar el token de acceso en el servidor JDBCX y configurar JDBCX_SERVER_TOKEN en consecuencia por razones de seguridad.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Servidor MCP JDBCX

  1. Instalación
    1. Iniciar el servidor JDBCX
    2. Configurar el servidor MCP
  2. Configuración

    Related MCP Servers

    View all related MCP servers

    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/jdbcx/pydbcx-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server