Update mcp route to internal

This commit is contained in:
Madison 2025-08-12 12:16:06 -05:00
parent fde852bb51
commit bb27147b03
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ const handler = createMcpHandler(
},
},
{
basePath: "/api/mcp",
basePath: "/api/internal",
verboseLogs: true,
maxDuration: 60,
}

View File

@ -35,7 +35,7 @@ export default function McpBrowserPage() {
// Function to call MCP tools
const callMcpTool = async (toolName: string, args: Record<string, string> = {}) => {
const response = await fetch('/api/mcp/mcp', {
const response = await fetch('/api/internal/mcp', {
method: 'POST',
headers: {
'Content-Type': 'application/json',