We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bach--postgres-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•670 B
# PostgreSQL MCP Tests
This directory contains tests for the PostgreSQL MCP package.
## Running Tests
To run all tests:
```bash
uv run pytest
```
To run a specific test file:
```bash
uv run pytest tests/unit/test_obfuscate_password.py
```
To run a specific test:
```bash
uv run pytest tests/unit/test_db_conn_pool.py::test_pool_connect_success
```
## Test Structure
- **Unit Tests** (`tests/unit/`): Tests for individual components and functions
- `test_obfuscate_password.py`: Tests for password obfuscation functionality
- `test_db_conn_pool.py`: Tests for database connection pool
- `test_sql_driver.py`: Tests for SQL driver and transaction handling