Skip to main content
Glama
jakedx6
by jakedx6

get_project

Retrieve detailed project information including tasks and documents using 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 using GetProjectSchema, logs the request, fetches the project using supabaseService.getProject(project_id), and returns the project data.
    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 } })
  • Zod schema for validating the input to the get_project tool, requiring a UUID project_id.
    const GetProjectSchema = z.object({ project_id: z.string().uuid() })
  • MCPTool object definition for 'get_project', including name, description, and input schema for tool listing.
    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'] } }
  • Local registration of project handlers, mapping 'get_project' to the getProject function.
    export const projectHandlers = { list_projects: listProjects, get_project: getProject, create_project: createProject, update_project: updateProject, get_project_context: getProjectContext, archive_project: archiveProject, duplicate_project: duplicateProject, get_project_timeline: getProjectTimeline, bulk_update_projects: bulkUpdateProjects }
  • src/index.ts:143-155 (registration)
    Global registration of all handlers in HeliosMCPServer constructor by spreading projectHandlers into allHandlers, making 'get_project' available for tool calls.
    this.allHandlers = { ...projectHandlers, ...taskHandlers, ...documentHandlers, ...conversationHandlers, ...contextAggregationHandlers, ...workflowAutomationHandlers, ...intelligentSearchHandlers, ...analyticsInsightsHandlers, ...initiativeHandlers, ...promptToProjectTools.reduce((acc, tool) => ({ ...acc, [tool.name]: tool.handler }), {}), ...debugHandlers, }

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