Skip to main content
Glama

get_project

Retrieve detailed information about a specific Coolify project using its unique identifier to manage deployments and configurations.

Instructions

Get project details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesProject UUID

Implementation Reference

  • The handler case for 'get_project' tool within the main handleTool switch statement. It validates the 'uuid' parameter and calls the CoolifyClient to GET /projects/{uuid}.
    case 'get_project': requireParam(args, 'uuid'); return client.get(`/projects/${args.uuid}`);
  • The input schema and description for the 'get_project' tool, defining it requires a 'uuid' string parameter.
    { name: 'get_project', description: 'Get project details', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Project UUID' } }, required: ['uuid'] } },
  • src/index.ts:36-38 (registration)
    MCP server registration of all tools (including 'get_project') via ListToolsRequestHandler using getToolDefinitions().
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:41-67 (registration)
    MCP server CallToolRequestHandler that dispatches to handleTool, which implements 'get_project'.
    this.server.setRequestHandler(CallToolRequestSchema, async (request) => { if (!this.client) { throw new McpError(ErrorCode.InternalError, 'Client not initialized'); } const { name, arguments: args } = request.params; // Block write operations in read-only mode if (isReadOnlyMode() && !READ_ONLY_TOOLS.includes(name)) { throw new McpError( ErrorCode.InvalidRequest, `Operation '${name}' is not allowed in read-only mode. Set COOLIFY_READONLY=false to enable write operations.` ); } try { const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } catch (error) { if (error instanceof McpError) throw error; const message = error instanceof Error ? error.message : 'Unknown error'; throw new McpError(ErrorCode.InternalError, `Tool execution failed: ${message}`); } });
  • 'get_project' is listed in READ_ONLY_TOOLS array, making it available even in read-only mode.
    'get_project',
Install Server

Other Tools

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/kof70/coolify-mcp-server'

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