Skip to main content
Glama
conftest.py467 B
import pytest import os from unittest.mock import patch from fastapi.testclient import TestClient # Set environment variable for test API key os.environ['SCREENMONITOR_API_KEY'] = 'test-api-key-123' # Import after setting environment variable from screenmonitormcp_v2.server.app import app @pytest.fixture def client(): """Create a test client.""" return TestClient(app) @pytest.fixture def api_key(): """Test API key.""" return "test-api-key-123"

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/inkbytefo/ScreenMonitorMCP'

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