What are the prerequisites for running this project?
You need Docker, a running PostgreSQL database, and the MCP Servers repository (to build the Postgres MCP image). The UV package manager must also be installed globally.
@BrianCusack
基本信息
LangGraph implementation interacting with a PostgreSQL MCP Server
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"LangGraph-MCP-Client": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This repository demonstrates a low-level example of how to interact with an MCP server as a Docker image, connected to a PostgreSQL database for LangGraph agents. It is intended for developers who want to integrate PostgreSQL data sources with LangGraph using the Model Context Protocol (MCP).
Clone the repository, create a .env file with database credentials (DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME), install the UV package globally, and build the MCP Postgres Docker image. Then run uv sync followed by uv run queryagent to start the query agent, optionally passing a natural language query as an argument (e.g., uv run queryagent "Who holds the most funds in their account?").
langchain_mcp_adapters.tools.load_mcp_tools to create MCP tools.create_react_agent for fast agent templating.You need Docker, a running PostgreSQL database, and the MCP Servers repository (to build the Postgres MCP image). The UV package manager must also be installed globally.
Create a `.env` file in the repository root with the variables `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_PASSWORD`, and `DB_NAME`, replacing placeholders with your actual credentials.
Ensure the UV CLI is installed globally and that the `uv sync` command completes without errors.
Clone the MCP Servers repository, navigate to its directory, and run `docker build -t mcp/postgres -f src/postgres/Dockerfile .`
Run `uv run queryagent "your question"` from the project directory, replacing `"your question"` with the desired natural language query.
Python sandboxes for llms
A code reasoning MCP server, a fork of sequential-thinking
AI assistant integration for n8n workflow automation through Model Context Protocol (MCP). Connect Claude Desktop, ChatGPT, and other AI assistants to n8n for natural language workflow management.
A comprehensive Model Context Protocol (MCP) server providing AI assistants with powerful task management and agent memories capabilities with project-specific storage.
This project demonstrates a decoupled real-time agent architecture that connects LangGraph agents to remote tools served by custom MCP (Modular Command Protocol) servers. The architecture enables a flexible and scalable multi-agent system where each tool can be hosted independent
评论