We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ray0907/git-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
get-me.ts•467 B
/**
* get_me - Get current authenticated user
*
* Returns information about the currently authenticated user
*/
import { z } from 'zod';
import { defineTool } from '../define.js';
const schema = z.object({});
export const getMe = defineTool({
name: 'get_me',
description: 'Get information about the currently authenticated user.',
schema,
category: 'users',
read_only: true,
handler: async (_input, ctx) => {
return ctx.provider.users.getMe();
},
});