JDBCX MCP Server

by jdbcx
Apache 2.0
Integrations
  • 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 ist eine Python-Implementierung des MCP-Servers, um die Kommunikation mit verschiedenen Datenquellen über einen JDBCX-Server zu ermöglichen.

Installation

Starten Sie den JDBCX-Server

Startet den JDBCX-Servercontainer. Weitere Informationen finden Sie hier .

# 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

MCP-Server konfigurieren

So installieren Sie den JDBCX MCP-Server für Claude Desktop automatisch über Smithery :

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

Alternativ können Sie den MCP-Server in Ihre JSON-Konfigurationsdatei einfügen.

Entwicklung/Unveröffentlichte Serverkonfiguration

{ "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" } } } }

Veröffentlichte Serverkonfiguration

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

Veröffentlichte SSE-Serverkonfiguration

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

Hinweis: Denken Sie daran, zuerst den SSE-Server mit JDBCX_SERVER_URL=http://localhost:8080/ DEFAULT_QUERY_TIMEOUT_SECONDS=30 uvx pydbcx-mcp --transport sse zu starten.

Konfiguration

Konfigurieren Sie den Server mithilfe von Umgebungsvariablen:

VariableBeschreibungStandard
JDBCX_LOG_LEVELProtokollebeneDEBUG
JDBCX_SERVER_URLJDBCX-Server-URLhttp://localhost:8080
JDBCX_SERVER_TOKENJDBCX-ServerzugriffstokenKeiner
DEFAULT_ACCEPT_ENCODINGStandardmäßige Akzeptanzkodierungidentity
DEFAULT_QUERY_TIMEOUT_SECONDSStandard-Abfrage-Timeout (Sekunden)10
DEFAULT_DATA_FORMATStandarddatenformat (md, jsonl, csv)csv
DEFAULT_ROWS_LIMITDie Standardanzahl der Zeilen kann zurückgegeben werden100
MAX_ROWS_LIMITMaximale Anzahl von Zeilen, die zurückgegeben werden können1000
MCP_TRANSPORTMCP-Servertransport (stdio, siehe)stdio
MCP_SERVER_HOSTAbhöradresse des MCP-Servers0.0.0.0
MCP_SERVER_PORTMCP-Server-Listening-Port8080
MCP_SERVER_NAMEMCP-ServernameJDBCX MCP Server

Hinweis: Aus Sicherheitsgründen wird dringend empfohlen, das Zugriffstoken im JDBCX-Server zu aktivieren und JDBCX_SERVER_TOKEN entsprechend zu konfigurieren.

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

JDBCX MCP-Server

  1. Installation
    1. Starten Sie den JDBCX-Server
    2. MCP-Server konfigurieren
  2. Konfiguration

    Related MCP Servers

    View all related MCP servers

    ID: 07849408mv