Skip to main content
Glama

url-download-mcp

conftest.py616 B
"""Pytest configuration and fixtures for MCP URL Downloader tests.""" import tempfile from pathlib import Path import pytest @pytest.fixture def temp_dir(): """Create a temporary directory for test downloads.""" with tempfile.TemporaryDirectory() as tmpdir: yield Path(tmpdir) @pytest.fixture def sample_file_content(): """Sample file content for testing.""" return b"This is a test file content. " * 100 @pytest.fixture def mock_response_headers(): """Mock HTTP response headers.""" return { "Content-Type": "application/pdf", "Content-Length": "1024", }

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/dmitryglhf/url-download-mcp'

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