Skip to main content
Glama

Unsplash API MCP Server

test_mcp_tools.py510 B
import requests import json def test_list_tools(): """Test that MCP tools are properly registered.""" response = requests.get("http://localhost:8000/mcp/tools") if response.status_code == 200: tools = response.json() print(f"Found {len(tools)} tools:") for tool in tools: print(f"- {tool.get('name')}: {tool.get('description')}") else: print(f"Error: {response.status_code} - {response.text}") if __name__ == "__main__": test_list_tools()

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/gzpaitch/Unsplash-MCP'

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