We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/porkll/siyuan-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* 简单的日志记录器实现
*/
import type { Logger } from './types.js';
export class ConsoleLogger implements Logger {
constructor(private prefix: string = '[SiYuan-MCP]') {}
debug(message: string, ...args: any[]): void {
console.error(`${this.prefix} [DEBUG]`, message, ...args);
}
info(message: string, ...args: any[]): void {
console.error(`${this.prefix} [INFO]`, message, ...args);
}
warn(message: string, ...args: any[]): void {
console.error(`${this.prefix} [WARN]`, message, ...args);
}
error(message: string, ...args: any[]): void {
console.error(`${this.prefix} [ERROR]`, message, ...args);
}
}