Provides database connectivity and operations for managing financial transaction data and other structured data stored in PostgreSQL databases
Designing-an-Agentic-AI-System-with-MCP-Integration
Sample application showing Agentic AI using MCP Server connecting to REST API, PostgreSQL Database and Document Storage
Setup
UV Installation and Setup
Install UV
To install UV, run the following command:pip install uvVerify Installation
Confirm that UV is installed by running:uv --version
Using pyproject.toml
Setting Up a Virtual Environment and Installing Dependencies
Create a Virtual Environment
Run the following command to create a virtual environment:python -m venv venvActivate the Virtual Environment
On Windows:
venv\Scripts\activateOn macOS/Linux:
source venv/bin/activate
Install Dependencies from
Usepipto install dependencies specified in thepyproject.tomlfile:pip install .Verify Installation
Ensure all dependencies are installed correctly:pip listRun Test Cases
Ensure all test cases are passed using pytest:pytest
Populate Financial Txn Data
Run the Script to Populate Data
Execute the following command to populate sample financial transaction data:python util/populate_data.py
Configure MCP Client - Claude for Windows
Locate the Sample Configuration File
Use the providedconfig/sample_claude_desktop_config.jsonfile as a template.Copy the Configuration File
Place the file in the following directory:~\AppData\Roaming\ClaudeRename the File
Rename the file toclaude_desktop_config.json.Update Configuration Details
Open the
claude_desktop_config.jsonfile in a text editor.Update the Alpha Vantage API Key with your key.
Update the Database Connection Details with the appropriate credentials and connection string.
Restart Claude Desktop
Restart Claude Desktop, you might have to kill tasks from Task manager. Note that once you restart it,
You should be able to see number of tools along with hammer icon.
This will start python program for each tool in background.
This server cannot be installed