Listing your MCP server in ChatGPT and Claude

Using MCP Analytics doesn't stop you from listing your MCP server in the ChatGPT or Claude directories. Reviewers may flag some of the arguments the SDK adds, though. If that happens, this page shows you how to get approved.

By default, the SDK adds three parameters to every tool: context, llm_model, and conversation_id. They're only used for analytics. They give you deeper insights, but your server doesn't need them to work, so you can turn them off.

Last updated November 24, 2026

OpenAI and Anthropic make the final call. Their rules are in the OpenAI app developer guidelines and the Claude Connectors Directory review criteria.

Configure the SDK before you submit

With this config, your tools and their results look exactly like they would without the SDK.

instrument(server, posthog, {
context: false,
captureModel: false,
enableConversationId: false,
})

Leave the get_more_tools and send_feedback tools off.

On a custom dispatcher, context is an option of prepareToolList, not the constructor:

  • TypeScript: captureModel: false and enableConversationId: false on PostHogMCP, and { context: false } on prepareToolList.
  • Python: capture_model=False and enable_conversation_id=False on PostHogMCP, and context=False on prepare_tool_list.
  • Ruby: capture_model: false on PostHog::MCP::Client.new, and context: false on prepare_tool_list.

ChatGPT: keep a short intent field

ChatGPT is a bit more flexible. OpenAI allows a short intent field, so you can keep context if you shorten its prompt. Replace context: false with:

context: { description: "In a few words, what is the user trying to do? Don't include personal details." },

Go doesn't let you change the prompt, so turn context off there. For Claude, turn it off in every SDK.

What you still get

You keep most of what makes MCP Analytics useful:

  • Every tool call, with its outcome, latency, and error type.
  • The client, such as ChatGPT or Claude.
  • Sessions, when the transport has a session ID. From TypeScript 1.7.0, ChatGPT calls also group by ChatGPT's own conversation ID.
  • Users, from your identify callback.

The biggest loss is intent. You can get some of it back with an intent fallback, a callback on your server that builds intent from the tool name and arguments.

You also lose the model name, including the one Codex sends. And on a stateless server without a session ID, every call becomes its own session.

Optional: send less tool data

Tool arguments, results, and error messages only go to PostHog. The model never sees them, so they don't change your tools. We find them really useful for debugging failed calls. If you'd still rather send only usage data, remove $mcp_parameters, $mcp_response, and $mcp_error_message:

  • TypeScript, Python, and Ruby: the before-send hook.
  • Go: posthogmcpsdk.WithCaptureParameters(false) and posthogmcpsdk.WithCaptureResponses(false) on Instrument, and posthogmcp.WithCaptureErrorMessages(false) on posthogmcp.New.
  • Rust: .capture_parameters(false) and .capture_responses(false), and remove $mcp_error_message in before_send.

Failed calls also send an $exception event with the error message. You can turn off exception events too.

Tell users what you collect

Both directories expect your privacy policy to say what you collect. Something like this works:

We use PostHog to see how AI clients use this server: which tools they call, whether the calls succeed, and how long they take.

If you keep tool arguments and results, mention them too.

Recheck your tools after upgrading

SDK upgrades can change your tool schemas. OpenAI re-reviews changed tools, and Anthropic asks you to tell them about material changes. So after upgrading, compare your tools/list output with what you submitted.

Still have questions?

Was this page useful?