Skip to main content
Glama
jamesbrink

MCP Server for Coroot

list_integrations

View configured integrations for a Coroot project to check status of Prometheus, ClickHouse, AWS, Slack, Teams, PagerDuty, Opsgenie, and webhooks.

Instructions

List all configured integrations for a project.

Returns the configuration status of all available integrations:

  • Prometheus

  • ClickHouse

  • AWS

  • Slack

  • Microsoft Teams

  • PagerDuty

  • Opsgenie

  • Webhooks

Args: project_id: Project ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • MCP tool handler and registration for 'list_integrations'. This is the entrypoint function decorated with @mcp.tool() that handles the tool execution by delegating to the implementation helper.
    @mcp.tool()
    async def list_integrations(project_id: str) -> dict[str, Any]:
        """List all configured integrations for a project.
    
        Returns the configuration status of all available integrations:
        - Prometheus
        - ClickHouse
        - AWS
        - Slack
        - Microsoft Teams
        - PagerDuty
        - Opsgenie
        - Webhooks
    
        Args:
            project_id: Project ID
        """
        return await list_integrations_impl(project_id)  # type: ignore[no-any-return]
  • Server-side helper function that calls CorootClient.list_integrations(project_id) and wraps the result in a success response.
    @handle_errors
    async def list_integrations_impl(project_id: str) -> dict[str, Any]:
        """List all integrations."""
        integrations = await get_client().list_integrations(project_id)
        return {
            "success": True,
            "integrations": integrations,
        }
  • CorootClient method implementing the core API call to fetch integrations via GET /api/project/{project_id}/integrations.
    async def list_integrations(self, project_id: str) -> dict[str, Any]:
        """List all configured integrations for a project.
    
        Args:
            project_id: Project ID.
    
        Returns:
            Dictionary of integration configurations.
        """
        response = await self._request("GET", f"/api/project/{project_id}/integrations")
        data: dict[str, Any] = response.json()
        return data

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/jamesbrink/mcp-coroot'

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