MCP Server Status
mcp_statusCheck if the PostgreSQL server is ready and which database it's connected to. Diagnose configuration issues with actionable fixes when setup is missing or invalid.
Instructions
Reports whether the MCP server is ready to run database tools and which database it is connected to. Use this tool first if you suspect a configuration problem. When the server is not configured (e.g. DATABASE_URL is missing or invalid), this tool returns a detailed explanation of exactly what to fix, including the expected .env file location and connection string format. In multi-database mode, it lists every configured database with its connection status. This tool never modifies anything — it is purely informational.
When to use:
At the start of a session to verify the server is connected and healthy.
When any other tool returns a connection error, to diagnose the root cause.
When the user asks about the current server configuration or connected database.
Returns: a JSON object with 'status' (ready|not_configured), 'database' (connection summary), 'mode' (read-only or read-write), and 'readonly' flag. Errors include actionable guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||