From 9e1cb49a888b2dbb4229e13914e199308d1457ca Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Fri, 30 Jan 2026 14:20:32 -0800 Subject: [PATCH] docs: add GitHub Copilot CLI installation instructions --- packages/markitdown-mcp/README.md | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/packages/markitdown-mcp/README.md b/packages/markitdown-mcp/README.md index 9e03f1057..95f7301b5 100644 --- a/packages/markitdown-mcp/README.md +++ b/packages/markitdown-mcp/README.md @@ -94,6 +94,48 @@ If you want to mount a directory, adjust it accordingly: } ``` +## Accessing from GitHub Copilot CLI + +Edit your `~/.copilot/mcp-config.json` to include the following JSON entry: + +```json +{ + "mcpServers": { + "markitdown": { + "command": "docker", + "args": [ + "run", + "--rm", + "-i", + "markitdown-mcp:latest" + ] + } + } +} +``` + +If you want to mount a directory, adjust it accordingly: + +```json +{ + "mcpServers": { + "markitdown": { + "command": "docker", + "args": [ + "run", + "--rm", + "-i", + "-v", + "/home/user/data:/workdir", + "markitdown-mcp:latest" + ] + } + } +} +``` + +For more information, see the [GitHub Copilot CLI documentation](https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp). + ## Debugging To debug the MCP server you can use the `mcpinspector` tool.