Skip to content

Add docs for Trino & Postgres MCP#6038

Open
myersCody wants to merge 1 commit intomainfrom
mcp_postgres_trino
Open

Add docs for Trino & Postgres MCP#6038
myersCody wants to merge 1 commit intomainfrom
mcp_postgres_trino

Conversation

@myersCody
Copy link
Copy Markdown
Contributor

No description provided.

@myersCody myersCody requested review from a team as code owners May 1, 2026 17:16
@github-actions github-actions Bot added the ok-to-skip-smokes Changes are not hit by smoke tests (doc updates for example) label May 1, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new documentation guide for setting up Model Context Protocol (MCP) to interact with local Postgres and Trino instances. The feedback highlights a potential inaccuracy regarding the configuration file path, noting that Cursor typically manages MCP servers through its settings UI rather than a ~/.cursor/mcp.json file.

@@ -0,0 +1,44 @@
# Cursor MCP: Postgres and Trino (local)

Quick setup so the Cursor agent can run SQL against **local** Postgres (default **15432**) and Trino (**8080**) from docker-compose. Config lives in **`~/.cursor/mcp.json`** (or **Cursor Settings → MCP**). Restart Cursor after changes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Cursor does not natively use ~/.cursor/mcp.json for its MCP configuration. Native MCP servers in Cursor are typically configured through the UI at Cursor Settings > Features > MCP. While the provided JSON format is standard for the Claude Desktop app, for Cursor you will need to manually add each server in the settings pane using the command and args specified in the example. If you intended to provide instructions for the Claude Desktop app, the standard path on macOS is ~/Library/Application Support/Claude/claude_desktop_config.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-skip-smokes Changes are not hit by smoke tests (doc updates for example)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant