Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(mcp): apply oxfmt to three files with format drift (#114155)

Paul D'Ambrab79c9795a1fb
diff --git a/services/mcp/src/tools/notebooks/runNotebook.ts b/services/mcp/src/tools/notebooks/runNotebook.ts
index 297700f3fdfa..442ba29a1adf 100644
--- a/services/mcp/src/tools/notebooks/runNotebook.ts
+++ b/services/mcp/src/tools/notebooks/runNotebook.ts
@@ -5,8 +5,8 @@ import type { Context, ToolBase } from '@/tools/types'
import { wrapRunResultAsInformational } from './cellRuns'
import { notebookPathFor } from './markdownDoc'
-import { awaitNotebookRun, type NotebookRunOutcome } from './notebookRuns'
import { NOTEBOOK_SHORT_ID_DESCRIPTION, notebookIdAliases } from './notebookId'
+import { awaitNotebookRun, type NotebookRunOutcome } from './notebookRuns'
import { MAX_NOTEBOOK_VARIABLES, NotebookVariableSchema } from './notebookVariableSchema'
const RunNotebookInputSchema = z
diff --git a/services/mcp/src/tools/notebooks/runNotebookStatus.ts b/services/mcp/src/tools/notebooks/runNotebookStatus.ts
index 86e56ca77b7a..e2550a9bf8f8 100644
--- a/services/mcp/src/tools/notebooks/runNotebookStatus.ts
+++ b/services/mcp/src/tools/notebooks/runNotebookStatus.ts
@@ -4,8 +4,8 @@ import type { Context, ToolBase } from '@/tools/types'
import { wrapRunResultAsInformational } from './cellRuns'
import { notebookPathFor } from './markdownDoc'
-import { awaitNotebookRun, type NotebookRunOutcome } from './notebookRuns'
import { NOTEBOOK_SHORT_ID_DESCRIPTION, notebookIdAliases } from './notebookId'
+import { awaitNotebookRun, type NotebookRunOutcome } from './notebookRuns'
const RunNotebookStatusInputSchema = z
.object({
diff --git a/services/mcp/src/tools/render-ui.ts b/services/mcp/src/tools/render-ui.ts
index 49ae10191926..c66ce7027aa0 100644
--- a/services/mcp/src/tools/render-ui.ts
+++ b/services/mcp/src/tools/render-ui.ts
@@ -116,7 +116,11 @@ export function createRenderUiTool(
tool_name: tool.name,
tool_input: toolInput,
app_key: appKey,
- _analytics: { distinctId, toolName: RENDER_UI_TOOL_NAME, ...(mcpClientName ? { mcpClientName } : {}) },
+ _analytics: {
+ distinctId,
+ toolName: RENDER_UI_TOOL_NAME,
+ ...(mcpClientName ? { mcpClientName } : {}),
+ },
},
_meta: {
ui: { resourceUri: RENDER_UI_RESOURCE_URI },