Basic information
About MCP (Model Context Protocol) Server
# MCP (Model Context Protocol) Server
MCP (Model Context Protocol) Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by VajraM-dev. Supported transport: stdio. Runtime: python. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"Postgres-MCP-Server-With-SSE-Transport": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"mcpServers": {
"Postgres-MCP-Server-With-SSE-Transport": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"servers": {
"Postgres-MCP-Server-With-SSE-Transport": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
MCP (Model Context Protocol) Server — by VajraM-dev config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Postgres-MCP-Server-With-SSE-Transport": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
MCP (Model Context Protocol) Server — by VajraM-dev tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP (Model Context Protocol) Server?
A Python-based server that integrates PostgreSQL databases with AI providers (Anthropic, Google) using the Model Context Protocol, supporting flexible communication transports (SSE or stdio).
How to use MCP (Model Context Protocol) Server?
Clone the repository, create a Python virtual environment, install dependencies, configure environment by copying .env.example to .env.dev and filling in database and API credentials, then run python server.py for the server and python client.py for client interaction.
Key features of MCP (Model Context Protocol) Server
- Secure configuration management
- PostgreSQL database integration
- Multi-provider AI model support
- Flexible communication transport
- Extensible tool registration
Use cases of MCP (Model Context Protocol) Server
- Retrieve database table listings via AI prompts
- Extend server with custom tool functions using decorators
- Interact with PostgreSQL through a client script
Frequently asked questions
1 What are the prerequisites?
Python 3.10+, a PostgreSQL instance, and API access to Anthropic and/or Google AI providers.
2 How do I install and configure the server?
Clone the repo, create a virtual environment, run pip install -r requirements.txt, copy .env.example to .env.dev, and fill in database credentials, API keys, and transport settings.
3 Which AI providers are supported?
Anthropic (Claude models) and Google (Gemini models). The default provider is set via the USE_PROVIDER config.
4 What transport options are available?
The server supports both SSE (/sse endpoint) and stdio transports, configured via the TRANSPORT environment variable.
5 How can I add a new tool?
Use the @app.tool() decorator above a function definition; the function will be registered as a custom tool.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In