Skip to main content
Glama

get_current_team

Retrieve details about the current team in Coolify to manage deployments, databases, and server operations.

Instructions

Get details of the current team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for 'get_current_team' tool. It simply calls the CoolifyClient's GET /teams/current endpoint to fetch the current team details.
    case 'get_current_team': return client.get('/teams/current');
  • The input schema definition for the 'get_current_team' tool. It requires no parameters and defines the tool metadata used for MCP registration.
    { name: 'get_current_team', description: 'Get details of the current team', inputSchema: { type: 'object', properties: {}, required: [] } },
  • src/index.ts:36-38 (registration)
    Registers all tools including 'get_current_team' by providing the tool definitions from getToolDefinitions() in response to ListTools requests.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:57-67 (registration)
    The central tool dispatcher that routes calls to the specific handleTool implementation based on the tool name 'get_current_team'.
    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}`); } });
  • Includes 'get_current_team' in the READ_ONLY_TOOLS list, enabling it in read-only mode.
    'get_current_team',

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