Skip to main content
Glama
server.py669 B
from fastmcp import FastMCP mcp = FastMCP("Pursuit Search") @mcp.tool async def search_pursuit(query: str, limit: int = 10) -> str: """Search Pursuit for PureScript functions, types, and documentation. Args: query: Search query (function name, type signature, or keyword) limit: Maximum number of results to return (default: 10) Returns: Formatted search results from Pursuit as JSON string """ import json from .format import format from .search import search results = await search(query, limit=limit) return json.dumps(format(results), ensure_ascii=False) if __name__ == "__main__": mcp.run()

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/gawakawa/pursuit-mcp'

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