8 lines
326 B
TypeScript
8 lines
326 B
TypeScript
import type { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify';
|
|
|
|
export async function mcpRoute(fastify: FastifyInstance): Promise<void> {
|
|
fastify.get('/api/mcp/health', async (_request: FastifyRequest, reply: FastifyReply) => {
|
|
return reply.send({ success: true, status: 'ok', mode: 'passive' });
|
|
});
|
|
}
|