Prerequisites
Before you begin, create an account and get your API Key.
Getting started
Connect to PostgreSQL databases to execute queries, analyze data, manage tables, and automate database operations through AI agents.- API
- UI
- Open Source
1
Install the SDKs (optional)
2
Create a Strata MCP Server with PostgreSQL
userId specifies whose connected accounts and data you are accessing in Klavis. It should be a unique id for yourself, your team, or your organization.API Reference
Full Strata API endpoints
3
Authenticate with API Key
Use the standard PostgreSQL connection string format:
postgresql://username:password@host:port/database🎉 Your PostgreSQL MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.
Available Tools
With our progressive discovery approach, Klavis System is capable of enabling all tools for PostgreSQL. Please use the get_tools API for more details. If you find any tool that is missing, please reach out to contact@klavis.ai.
