from fastmcp import FastMCP
mcp = FastMCP("mcpresource")
@mcp.prompt("get_research_prompt")
def get_research_prompt(query: str) -> str:
"""Get a research prompt for a given query."""
return f"Hello, world! {query}"
if __name__ == "__main__":
mcp.run(transport="http")
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/YongpengFu/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server