mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update mcp route to internal
This commit is contained in:
parent
fde852bb51
commit
bb27147b03
@ -246,7 +246,7 @@ const handler = createMcpHandler(
|
||||
},
|
||||
},
|
||||
{
|
||||
basePath: "/api/mcp",
|
||||
basePath: "/api/internal",
|
||||
verboseLogs: true,
|
||||
maxDuration: 60,
|
||||
}
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user