Skip to main content

polyglot-mcp (Python)

In-process MCP gateway that routes an LLM to database operations across many engines (PostgreSQL, MySQL, SQLite, MongoDB, Redis, S3/MinIO). It wraps the polyglot-core library and exposes each operation as an MCP tool. Connections are pre-registered in a JSON config referenced by POLYGLOT_CONFIG; the LLM only ever passes a connection name.

POLYGLOT_CONFIG=connections.json python -m polyglot_mcp.server

Tools

list_connections, describe_connection, health_check, list_namespaces, list_tables, describe_table, run_query, explain_query, execute, sample_data, count_rows, copy_data.

Transports

Defaults to stdio (Claude Desktop / Claude Code). For a remote/browser client, serve over HTTP: polyglot-mcp --http (or POLYGLOT_TRANSPORT=http), with POLYGLOT_HOST / POLYGLOT_PORT (default 127.0.0.1:8000).

See ../TESTING.md for a natural-language test script you can run from a Claude client, and ../examples/ for a ready-to-use config and docker-compose stack.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polyglot_mcp-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polyglot_mcp-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file polyglot_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: polyglot_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for polyglot_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e46ff479557a27404df2650a9f405df57f20c650f4e3673d528bef169f66dfec
MD5 abfbc888c622469b6890bd544c96f1cc
BLAKE2b-256 54c9547312fab990472d363b2bbb27490cc0923f3a02a4d1785d59cad67bda42

See more details on using hashes here.

File details

Details for the file polyglot_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: polyglot_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for polyglot_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75e04eda6b1aedc7b53158b671b7cd4d099a4808a54cbf315fb62adc6763059e
MD5 e822cec0ffc991142c1c3e541db87128
BLAKE2b-256 2adc3ee5004f3335cb286156875bdb522fd720142b851c6ef608327682bc8f3d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page