Skip to main content
Glama

Demo HTTP MCP Server

main.py335 B
import asyncio import os import uvicorn from app.app import app, mcp_server def run_http() -> None: uvicorn.run(app, host="localhost", port=8000) def run_stdio() -> None: request_headers = { "Authorization": os.getenv("NVD_API_KEY", ""), } asyncio.run(mcp_server.serve_stdio(request_headers), debug=True)

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/yeison-liscano/demo_http_mcp'

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