get_server_resources
Retrieve a comprehensive list of applications and services running on a specific Coolify server to monitor deployed resources and maintain system overview.
Instructions
Get a list of applications and services running on a server. This provides an overview of all resources deployed on the specified server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | ID of the server to check. Get this from list_servers. |
Implementation Reference
- src/index.ts:1303-1307 (handler)The handler for the 'get_server_resources' tool. It makes an API call to the Coolify server endpoint `/servers/{uuid}/resources` using axios and returns the JSON response formatted as MCP content.case 'get_server_resources': const serverResourcesResponse = await this.axiosInstance.get(`/servers/${request.params.arguments?.uuid}/resources`); return { content: [{ type: 'text', text: JSON.stringify(serverResourcesResponse.data, null, 2) }] };
- src/index.ts:374-399 (schema)The input schema for the get_server_resources tool, defining the required 'uuid' parameter and providing examples and additional usage information.inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'ID of the server to check. Get this from list_servers.', examples: ['f8wcgww'] } }, required: ['uuid'], examples: [ { uuid: 'sg4gsws44wksg040o4ok80ww' } ], additionalInfo: { responseFormat: 'Returns an array of applications and services running on the server', usage: 'Monitor what is deployed on a server and check their status', notes: [ 'Lists all applications and services on the specified server', 'Includes status information (running, stopped, healthy, unhealthy)', 'Helps identify which resources are deployed on a server', 'Useful for server management and troubleshooting' ] } }
- src/index.ts:371-400 (registration)The registration of the get_server_resources tool in the tools list returned by the ListToolsRequest handler, including name, description, and full input schema.{ name: 'get_server_resources', description: 'Get a list of applications and services running on a server. This provides an overview of all resources deployed on the specified server.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'ID of the server to check. Get this from list_servers.', examples: ['f8wcgww'] } }, required: ['uuid'], examples: [ { uuid: 'sg4gsws44wksg040o4ok80ww' } ], additionalInfo: { responseFormat: 'Returns an array of applications and services running on the server', usage: 'Monitor what is deployed on a server and check their status', notes: [ 'Lists all applications and services on the specified server', 'Includes status information (running, stopped, healthy, unhealthy)', 'Helps identify which resources are deployed on a server', 'Useful for server management and troubleshooting' ] } } },