We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexei-led/aws-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_main.py•326 B
"""Tests for the main entry point of the AWS MCP Server."""
from unittest.mock import MagicMock, patch
from aws_mcp_server.__main__ import handle_interrupt
def test_handle_interrupt():
with patch("os._exit") as mock_exit:
handle_interrupt(MagicMock(), MagicMock())
mock_exit.assert_called_once_with(0)