fix local link

This commit is contained in:
Madison 2025-10-29 16:54:47 -05:00
parent 76d6b2c781
commit 53b70d7024

View File

@ -14,7 +14,7 @@ async function callMcpServer(search_query: string): Promise<SearchResult[]> {
// Use localhost during development, production URL otherwise
// TODO: Temporarily testing with production MCP
const mcpUrl = process.env.NODE_ENV === 'development'
? 'https://mcp.stack-auth.com/api/internal/mcp'
? 'http://localhost:8104/api/internal/mcp'
: 'https://mcp.stack-auth.com/api/internal/mcp';
console.log(`Calling MCP server at: ${mcpUrl}`);