Skip to main content
Glama

MCP Windows Website Downloader Server

""" Test cases for the MCP Website Downloader server """ import pytest import asyncio from pathlib import Path from mcp_windows_website_downloader.server import WebsiteDownloader @pytest.fixture def temp_directory(tmp_path): """Provide a temporary directory for testing""" return tmp_path def test_downloader_initialization(temp_directory): """Test that the downloader initializes correctly""" downloader = WebsiteDownloader(str(temp_directory)) assert downloader.base_directory == temp_directory assert downloader.base_directory.exists() @pytest.mark.asyncio async def test_tool_registration(): """Test that tools are registered correctly""" from mcp.server import Server server = Server("website-downloader") tools = await server.list_tools() tool_names = [tool.name for tool in tools] assert "download-website" in tool_names assert "get-status" in tool_names

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/angrysky56/mcp-windows-website-downloader'

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