Skip to main content
Glama

Stock Ticker MCP Server

Dockerfile839 B
FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Copy requirements and install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY stock_ticker_mcp.py . # Create non-root user for security RUN useradd -m -u 1000 mcpuser && chown -R mcpuser:mcpuser /app USER mcpuser # Expose port for MCP server No necessary. #EXPOSE 8000 # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONPATH=/app # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import httpx; httpx.get('http://localhost:8000/health', timeout=5)" || exit 1 # Run the MCP server CMD ["python", "stock_ticker_mcp.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/tonkatsutoast/stock-ticker-mcp'

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