-
Copy and configure environment variables:
Copy the example env file and fill in your secrets:
cp .env.example .env # Edit .env and set ANTHROPIC_API_KEY and GITHUB_TOKEN -
Build the Docker image:
docker build -t mcp-analyzer-api . -
Run the container:
docker run --env-file .env -p 8001:8001 mcp-analyzer-api
- The FastAPI client will be available at http://localhost:8001
- The GitHub analysis server runs internally on port 8000
- Ensure your
.envfile is present in the project root before running the container. - The container exposes port 8001 for the FastAPI client API.