Skip to main content
Glama

MCP Server Basic Example

by ugundhar
Dockerfile364 B
FROM python:3.11-slim WORKDIR /demo # Copy requirements file COPY requirements.txt . # Install dependencies using uv RUN pip install uv RUN uv venv RUN uv pip install -r requirements.txt # Copy application code COPY server.py . COPY client-sse.py . # Expose the port the server runs on EXPOSE 8000 # Command to run the server CMD ["uv", "run", "server.py"]

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

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