import pytest
from conftest import skip_if_no_pagerduty_key
from pagerduty_mcp_server import teams
@pytest.mark.integration
@pytest.mark.teams
@skip_if_no_pagerduty_key
def test_list_teams():
"""Test that teams are fetched correctly."""
teams_list = teams.list_teams()
assert teams_list is not None
assert len(teams_list) > 0
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/wpfleger96/pagerduty-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server