Skip to main content
Glama
jakedx6
by jakedx6

get_project

Retrieve comprehensive project details including tasks and documents by providing the project's unique identifier.

Instructions

Get detailed information about a specific project including tasks and documents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe unique identifier of the project

Implementation Reference

  • The main handler function for the 'get_project' tool. Parses input arguments using GetProjectSchema, fetches project details via supabaseService.getProject(project_id), and returns the project object.
    export const getProject = requireAuth(async (args: any) => { const { project_id } = GetProjectSchema.parse(args) logger.info('Getting project details', { project_id }) // Get basic project details (this calls /api/mcp/projects/${projectId}) const project = await supabaseService.getProject(project_id) return { project } })
  • MCPTool registration for 'get_project', including name, description, and JSON input schema.
    export const getProjectTool: MCPTool = { name: 'get_project', description: 'Get detailed information about a specific project including tasks and documents', inputSchema: { type: 'object', properties: { project_id: { type: 'string', format: 'uuid', description: 'The unique identifier of the project' } }, required: ['project_id'] } }
  • Zod schema for input validation in the get_project handler, requiring a UUID project_id.
    const GetProjectSchema = z.object({ project_id: z.string().uuid() })
  • Handler registration in the exported projectHandlers object: get_project maps to the getProject function.
    get_project: getProject,

Latest Blog Posts

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/jakedx6/helios9-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server