We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/therealsachin/langfuse-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
get-projects.ts•476 B
import { z } from 'zod';
import { LangfuseAnalyticsClient } from '../langfuse-client.js';
// This is an alias for list_projects to match the requested tool name
export const getProjectsSchema = z.object({});
export async function getProjects(client: LangfuseAnalyticsClient) {
const projectId = client.getProjectId();
return {
content: [
{
type: 'text' as const,
text: JSON.stringify({ projects: [projectId] }, null, 2),
},
],
};
}