provider mcp_analytics POST /api/environments/{environment_id}/mcp_analytics/feedback/
@utdk/posthog /api/environments/{environment_id}/mcp_analytics/feedback/
environments_mcp_analytics_feedback_create
Create a new MCP feedback submission for the current project.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMcpAnalyticsFeedbackCreate
POST/api/environments/{environment_id}/mcp_analytics/feedback/
Create a new MCP feedback submission for the current project.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Input

The tool the user tried before leaving feedback, if known.

MCP client name, for example Claude Desktop or Cursor.

Version string for the MCP client when available.

MCP protocol version negotiated for the session when available.

Transport used for the MCP session, for example streamable_http or sse.

Stable MCP session identifier when available.

Trace identifier for the surrounding MCP workflow when available.

required

The user's intended outcome when using MCP.

required

Concrete feedback about the MCP experience, tool result, or workflow friction.

High-level category for the feedback. * `results` - Results * `usability` - Usability * `bug` - Bug * `docs` - Docs * `other` - Other

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsMcpAnalyticsFeedbackCreate({
  "category": "other"
})