: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(mcp): copy assets in dev (#65516)
Georgiy Tarasovfdd812cb5d70
diff --git a/services/mcp/scripts/dev-hono.ts b/services/mcp/scripts/dev-hono.tsindex af9f0a83fa18..1019dfbc25ef 100644--- a/services/mcp/scripts/dev-hono.ts+++ b/services/mcp/scripts/dev-hono.ts@@ -6,6 +6,7 @@ import { context, type Plugin } from 'esbuild'import { existsSync } from 'fs'import { resolve } from 'path'+import { copyInstructions } from './copy-instructions'import { honoEsbuildOptions, honoOutfile } from './hono-esbuild-config'// Load the same local-dev config the Workers (wrangler) runtime uses, so@@ -21,6 +22,8 @@ if (existsSync(dotEnv)) {process.loadEnvFile(dotEnv)}+copyInstructions()+// flox sets SSL_CERT_FILE; Node's TLS layer only reads NODE_EXTRA_CA_CERTS.if (!process.env.NODE_EXTRA_CA_CERTS && process.env.SSL_CERT_FILE) {process.env.NODE_EXTRA_CA_CERTS = process.env.SSL_CERT_FILE