Skip to main content
Glama
server.py465 B
from fastapi import FastAPI from .mcp_handlers import router as mcp_router # Create FastAPI instance with metadata app = FastAPI( title="Scientific MCP Server", description="Implementation of Model Context Protocol for scientific computing", version="0.1.0", docs_url="/mcp/docs", # Custom documentation URL redoc_url="/mcp/redoc" # Custom redoc URL ) # Include the MCP routes from mcp_handlers app.include_router(mcp_router, prefix="/mcp")

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

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