import { pino } from "pino";
import { env } from "./env.js";
export const logger = pino(
{
level: env.LOGGING_LEVEL,
},
// Since STDIO server logs to stdout, we need to log to stderr in order
// to avoid the client from reading the logs
env.TRANSPORT === "stdio"
? pino.destination(process.stderr)
: pino.destination(process.stdout)
);
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/translated/lara-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server