Skip to main content
Glama

list_teams

Retrieve all teams available to your authenticated user in the Coolify MCP Server for managing self-hosted PaaS instances.

Instructions

List all teams accessible to the authenticated user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler logic for the 'list_teams' tool. It makes a GET request to the Coolify API endpoint '/teams' using the CoolifyClient to retrieve the list of teams accessible to the authenticated user.
    case 'list_teams': return client.get('/teams');
  • The JSON schema definition for the 'list_teams' tool, specifying no input parameters are required and providing the tool description.
    { name: 'list_teams', description: 'List all teams accessible to the authenticated user', inputSchema: { type: 'object', properties: {}, required: [] } },
  • src/index.ts:35-38 (registration)
    MCP server registration of the tools list request handler, which returns all tool definitions (including 'list_teams') from getToolDefinitions().
    // List available tools (filtered by read-only mode) this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:56-60 (registration)
    MCP server CallTool request handler that dispatches to handleTool (which contains the 'list_teams' case), formats the result as MCP content, and handles errors.
    try { const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
  • 'list_teams' is marked as a read-only tool in the READ_ONLY_TOOLS array, ensuring it is always available even in read-only mode.
    'list_teams',
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