This commit is contained in:
bipproduction
2025-10-28 17:28:18 +08:00
parent 8a3eaa2193
commit b2f8dc3714
3 changed files with 17 additions and 12 deletions

View File

@@ -96,6 +96,7 @@ const LayananRoute = new Elysia({
detail: {
summary: "Create Layanan KTP/KK",
description: "Create a new service request for KTP or KK.",
tags: ["mcp"],
},
}
)
@@ -131,6 +132,7 @@ const LayananRoute = new Elysia({
detail: {
summary: "Cek Status KTP",
description: "Retrieve the current status of a KTP/KK request by unique ID.",
tags: ["mcp"],
},
}
);

View File

@@ -151,7 +151,7 @@ async function handleMCPRequestAsync(
// Elysia MCP Server
// =====================
export const MCPRoute = new Elysia({
tags: ["MCP"]
tags: ["MCP Server"]
})
.post("/mcp", async ({ request, set }) => {
if (!tools.length) {