Skip to content

MCP endpoint is hardcoded, no env override for staging/local #14

Description

@royalpinto007

Problem

MCP_ENDPOINT is a hardcoded const with zero env reads, so there is no way to point staging/local builds at a different registry.

Where

src/worker/mcp.ts (export const MCP_ENDPOINT = "https://mcp.agentpostmortem.com/mcp").

Acceptance

Add a failing test first setting the endpoint via env/binding, expecting callMcpTool to target it. Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions