# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use an official Python image based on Debian
FROM python:3.13-slim
# Set the working directory in the container
WORKDIR /app
# Copy the project files
COPY . .
# Install dependencies using pip
RUN pip install --no-cache-dir . && \
pip install --no-cache-dir uvicorn starlette
# Command to run the MCP server (will be overridden by smithery.yaml, but good for local testing)
ENV PORT=8081
CMD ["python", "-m", "x_twitter_mcp.http_server"]
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/rafaljanicki/x-twitter-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server