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 src/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { resolveMcpClientConfig } from "./config.js";
describe("resolveMcpClientConfig", () => {
it("uses the default streamable MCP URL when env is empty", () => {
expect(resolveMcpClientConfig({})).toEqual({
serverUrl: "http://localhost:3000/mcp/sse",
serverUrl: "https://spawn-dock.w3voice.net/mcp/sse",
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface McpClientConfig {
}

export function resolveMcpClientConfig(env: NodeJS.ProcessEnv = process.env): McpClientConfig {
const serverUrl = env.MCP_SERVER_URL || "http://localhost:3000/mcp/sse";
const serverUrl = env.MCP_SERVER_URL || "https://spawn-dock.w3voice.net/mcp/sse";
const mcpApiKey = env.MCP_SERVER_API_KEY?.trim();

if (!mcpApiKey) {
Expand Down
Loading