---
title: "@posthog/mcp 1.6.1: release notes, upgrades and advisories"
description: "@posthog/mcp 1.6.1: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@posthog/mcp
lang: en
---

[Packages](https://inlinr.com/packages)

# @posthog/mcp

1.6.1 · 21 Nov 2026 MIT 780.1k / week [Repository](https://github.com/PostHog/posthog-js) [npm](https://www.npmjs.com/package/@posthog/mcp) [Atom feed](https://inlinr.com/packages/feed/@posthog/mcp)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@posthog/mcp/upgrade)

LineNewestSecurity

- 1.x 1.7.0 No known advisory Latest line
- 0.x 0.26.0 No known advisory [To 1.6.1](https://inlinr.com/packages/@posthog/mcp/upgrade/0.26.0-1.6.1)

## Latest releases

[All 101 releases](https://inlinr.com/packages/@posthog/mcp/releases)

1. 1.x · latest line
2. ### [1.7.0](https://inlinr.com/packages/@posthog/mcp/releases/1.7.0 "Open this release") [](https://github.com/PostHog/posthog-js/releases/tag/%40posthog/mcp%401.7.0 "Read this release where it was published")  
23 Nov 2026

  - Group tool calls into sessions by the client's own conversation id in `_meta`: ChatGPT's `openai/session`, Codex's `sessionId`, and VS Code's `vscode.conversationId`, each read only from the client its `User-Agent` or client name identifies. The client's id wins over a conversation handle and a transport session. ChatGPT gets no `conversation_id` argument and no handle, so its tool schemas and results stay unchanged. Every event from `instrument()` now records which source grouped it as `$mcp_session_source`. `PostHogMCP.prepareToolList` and `prepareToolCall` take the request's `headers` (and `clientInfo`), and `captureToolCall` takes `requestMeta`.  
  (2026-11-23)
3. ### [1.6.1](https://inlinr.com/packages/@posthog/mcp/releases/1.6.1 "Open this release") [](https://github.com/PostHog/posthog-js/releases/tag/%40posthog/mcp%401.6.1 "Read this release where it was published")  
21 Nov 2026

  - `PostHogMCP` adds the configured `serverBuild` to `captureAi()` and `captureAiImmediate()` events, as it already does for `capture()` and `captureImmediate()`. With `serverBuild` set, an event whose properties cannot be read is now dropped by the client, as without `serverBuild`, instead of throwing from any of the four methods.  
  (2026-11-21)
4. ### [1.6.0](https://inlinr.com/packages/@posthog/mcp/releases/1.6.0 "Open this release") [](https://github.com/PostHog/posthog-js/releases/tag/%40posthog/mcp%401.6.0 "Read this release where it was published")  
18 Nov 2026

  - Support FastMCP with `instrumentFastMCP(fastmcp, posthog, options)`. FastMCP builds a server per session (per request when stateless) behind a private factory, so this hooks the module's session class and instruments each one before it connects. FastMCP's HTTP layer drops request headers, so the adapter puts them back on `extra.requestInfo.headers` for `identify` and other callbacks.  
  (2026-11-18)

Dependency tracking

## Know when your own dependencies move

@posthog/mcp shipped a new major in the last 12 months, among 101 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health of 1.6.1

[Details](https://inlinr.com/packages/@posthog/mcp/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 21
- **Scorecard**: 7 / 10
- **Size**: 1.0 MB

## Weekly downloads

## Works with

- [posthog-node](https://inlinr.com/packages/posthog-node)
- [@modelcontextprotocol/sdk optional](https://inlinr.com/packages/@modelcontextprotocol/sdk)
- [@modelcontextprotocol/server optional](https://inlinr.com/packages/@modelcontextprotocol/server)

## Same family

- [@posthog/core 44.5M/wk](https://inlinr.com/packages/@posthog/core)
- [@posthog/types 38.9M/wk](https://inlinr.com/packages/@posthog/types)
- [posthog-js 28.2M/wk](https://inlinr.com/packages/posthog-js)
- [posthog-node 23.9M/wk](https://inlinr.com/packages/posthog-node)
- [@posthog/browser-common 18.2M/wk](https://inlinr.com/packages/@posthog/browser-common)
- [@posthog/react 2M/wk](https://inlinr.com/packages/@posthog/react)
- [@posthog/ai 1.9M/wk](https://inlinr.com/packages/@posthog/ai)
- [@posthog/react-native-plugin 745.4k/wk](https://inlinr.com/packages/@posthog/react-native-plugin)

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 24 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
