docs(mcp): Add MCP v2 documentation with SQL-based tools#14978
Open
inkeep[bot] wants to merge 1 commit intomasterfrom
Open
docs(mcp): Add MCP v2 documentation with SQL-based tools#14978inkeep[bot] wants to merge 1 commit intomasterfrom
inkeep[bot] wants to merge 1 commit intomasterfrom
Conversation
- Add MCP versions section explaining v1 vs v2 - Document how to enable v2 via URL parameter or header - Add V2 tools subsection with execute-sql, read-data-schema, and read-data-warehouse-schema - Add SQL queries example prompt for v2
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Too early to document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the Model Context Protocol (MCP) documentation to cover the new v2 features introduced in PostHog/posthog#46947.
Changes
New "MCP versions" section
Explains the differences between v1 and v2:
Includes configuration examples showing how to enable v2:
?v=2x-posthog-mcp-version: 2New "V2 tools" subsection
Documents the three new SQL-based tools:
execute-sql- Execute SQL/HogQL queries directly against PostHog dataread-data-schema- Explore events, properties, and property values in the projectread-data-warehouse-schema- Retrieve data warehouse schemas and table listsNew example prompt
Added an "SQL queries (v2)" example prompt demonstrating custom SQL query capabilities.
Related PR