Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/agent/src/adapters/claude/mcp/local-tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("createLocalToolsMcpServer", () => {
if (!server) {
throw new Error("expected the local-tools server to be registered");
}
expect(server.name).toBe("posthog-local");
expect(server.name).toBe("posthog-code-tools");

const [clientTransport, serverTransport] =
InMemoryTransport.createLinkedPair();
Expand Down
4 changes: 2 additions & 2 deletions packages/agent/src/adapters/local-tools/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import type { z } from "zod";
* for both adapters: the Claude in-process SDK server and the Codex stdio
* server. Adding a tool means adding one entry to `LOCAL_TOOLS` (see
* `./index.ts`) — no per-tool server file or adapter wiring. The name appears
* in tool ids as `mcp__posthog-local__<tool>`.
* in tool ids as `mcp__posthog-code-tools__<tool>`.
*/
export const LOCAL_TOOLS_MCP_NAME = "posthog-local";
export const LOCAL_TOOLS_MCP_NAME = "posthog-code-tools";

/** Runtime context handed to every local tool's handler and gate. */
export interface LocalToolCtx {
Expand Down
Loading