Skip to main content

MCP Postgres SPS

Agente inteligente que responde perguntas em linguagem natural sobre o banco PostgreSQL usando Django e LangChain.

🔧 Instalação

git clone https://seurepo.com/mcp_postgres_sps.git
cd mcp_postgres_sps
docker build -t mcp-postgres .
docker run -p 8000:8000 mcp-postgres

Como usar Faça requisições POST para:

css Copiar Editar POST /consulta

Body: { "pergunta": "quantos pedidos tivemos no mês de julho?", "slug": "empresa_xyz" }

mcp_postgres_sps/ ├── mcp_postgres_sps/ │ ├── init.py │ ├── consulta_tool.py │ ├── filtros_naturais.py │ ├── model_registry.py │ ├── model_tool_factory.py │ ├── relacionamento_registry.py │ └── server.py ├── main.py ├── Dockerfile ├── requirements.txt ├── README.md

#\x00 \x00m\x00c\x00p\x00_\x00p\x00o\x00s\x00t\x00g\x00r\x00e\x00s\x00 \x00 \x00

Download files

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

Source Distribution

mcp_postgres-1.0.2.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

mcp_postgres-1.0.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_postgres-1.0.2.tar.gz.

File metadata

  • Download URL: mcp_postgres-1.0.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mcp_postgres-1.0.2.tar.gz
Algorithm Hash digest
SHA256 579f446d827a403c4a8451b4ebca0b460128189c8b7e0292f986dbcbf8953017
MD5 1a299cb07745bb3729b5fe2a89d0f7f8
BLAKE2b-256 7a068af0c402f5f879969cb111338859a6c6d0b2ff90c82aba67b36713742276

See more details on using hashes here.

File details

Details for the file mcp_postgres-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mcp_postgres-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mcp_postgres-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b80a1a2b1eced6decdae6507a5766ebc406e4fde5f2740d15a6d21455acde7
MD5 e6190df1023bcac6fc91fb7895fd5b63
BLAKE2b-256 4571fa137a02bc54ca788d5e77d3a9fad8c540f226298c9858532e14ab1eccec

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page