Skip to main content
Glama

FastMCP Demo Server

by apoojary94
server.py843 B
"""FastMCP server providing hackathon resources.""" from pathlib import Path from fastmcp import FastMCP APP_NAME = "denver-hackathon" APP_DESCRIPTION = "Provides the MCP Server Hackathon overview and information." app = FastMCP(name=APP_NAME, instructions=APP_DESCRIPTION) BASE_DIR = Path(__file__).parent HACKATHON_MARKDOWN_PATH = BASE_DIR / "resources" / "hackathon_overview.md" HACKATHON_MARKDOWN = HACKATHON_MARKDOWN_PATH.read_text(encoding="utf-8") @app.tool() def get_hackathon_info() -> str: """Get the complete hackathon overview with all information about the MCP Server Hackathon. Returns: The full hackathon overview document including format, getting started guide, project ideas, resources, and quick reference. """ return HACKATHON_MARKDOWN if __name__ == "__main__": app.run()

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/apoojary94/mcp_hackathon'

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