From 99a13971644fba07b66592a51f5d01af17c95acf Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Fri, 4 Jul 2025 13:06:20 +0200 Subject: [PATCH] doc: document how to use the docker build --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 9147d4d..4243460 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,31 @@ Run the MCP server: ```bash uv run mcp-cordra ``` + +### Claude Code + +You can add this MCP to Claude Code by registering it in the settings +of your project or creating a `.mcp.json` file in your workdir: + +Example using the docker build: + +```json +{ + "mcpServers": { + "cordra": { + "command": "docker", + "args": [ + "run", + "-i", + "--rm", + "-e", + "CORDRA_BASE_URL", + "ghcr.io/dnlbauer/cordra-mcp:latest" + ], + "env": { + "CORDRA_BASE_URL": "https://cordra.example.de" + } + } + } +} +```