This commit is contained in:
bipproduction
2025-10-27 01:55:25 +08:00
parent 133e344ade
commit 599dfe3f99
3 changed files with 202 additions and 140 deletions

View File

@@ -36,7 +36,6 @@ const app = new Elysia()
.use(Api)
.use(Docs)
.use(Auth)
.use(MCPRoute)
.get(
"/.well-known/mcp.json",
async () => {
@@ -50,8 +49,8 @@ const app = new Elysia()
},
},
)
// .use(McpRoute)
.get("*", html)
.use(MCPRoute)
.get("/*", html)
.listen(3000, () => {
console.log("Server running at http://localhost:3000");
});