Skip to main content
Glama

MCP Server Make

by wrale
"""Tests for mcp-server-make.""" from typing import Dict, Any import pytest from mcp.types import Tool from mcp_server_make.server import Make def test_tool_schema() -> None: """Test tool schema is correctly defined.""" # Verify tool schema schema: Dict[str, Any] = Make.model_json_schema() assert isinstance(schema, dict) assert "properties" in schema assert "target" in schema["properties"] assert schema["properties"]["target"]["type"] == "string" @pytest.mark.asyncio async def test_make_tool() -> None: """Test make tool creation.""" tool = Tool( name="make", description="Run a make target from the Makefile", inputSchema=Make.model_json_schema(), ) assert tool.name == "make" assert isinstance(tool.inputSchema, dict)

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/wrale/mcp-server-make'

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