Skip to main content
Glama

Feishu Access Token MCP

by Leon-Algo
Dockerfile828 B
# Use Python 3.12 slim base image FROM python:3.12-slim # Set working directory WORKDIR /app # Install uv for faster dependency management RUN pip install uv # Copy project files COPY . . # Install dependencies and the package RUN uv sync --frozen --no-dev # Create startup script that starts the MCP server RUN echo '#!/bin/bash\nset -e\nPORT=${PORT:-8080}\necho "Starting Feishu Token MCP server on port $PORT"\nexec uv run python -c "from feishu_token_mcp.server import create_server; import uvicorn; server = create_server(); app = server._fastmcp.streamable_http_app; uvicorn.run(app, host=\\"0.0.0.0\\", port=int(\\"$PORT\\"))"' > /app/start.sh && \ chmod +x /app/start.sh # Expose default port (Smithery will override with PORT env var) EXPOSE 8080 # Set the command to run the MCP server CMD ["/app/start.sh"]

Latest Blog Posts

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/Leon-Algo/feishu_user_token_mcp'

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