Last active
August 29, 2025 05:30
-
-
Save tosin2013/4d1668da188215e77ead72c035906965 to your computer and use it in GitHub Desktop.
DocuMCP is an intelligent MCP (Model Context Protocol) server that revolutionizes documentation deployment. (For vscode)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # DocuMCP is an intelligent MCP (Model Context Protocol) server that revolutionizes documentation deployment. It analyzes your repository, recommends the best static site generator, and automatically creates production-ready documentation following the Diataxis framework. | |
| # https://tosin2013.github.io/documcp/ | |
| ``` | |
| mkdir -p .vscode | |
| export DOCUMCP_TARGET_REPO=/absolute/path/to/your/project | |
| cat <<'EOF' > .vscode/mcp.json | |
| { | |
| "inputs": [ | |
| { | |
| "type": "promptString", | |
| "id": "documcp_path", | |
| "description": "Path to your project (DOCUMCP_TARGET_REPO)", | |
| "password": false | |
| } | |
| ], | |
| "servers": { | |
| "documcp": { | |
| "type": "stdio", | |
| "command": "npx", | |
| "args": ["documcp"], | |
| "env": { | |
| "DOCUMCP_TARGET_REPO": "${input:documcp_path}" | |
| } | |
| } | |
| } | |
| } | |
| EOF | |
| ``` | |
| ---- | |
| ``` | |
| cat <<'EOF' > .vscode/mcp.json | |
| { | |
| "inputs": [ | |
| { | |
| "type": "promptString", | |
| "id": "documcp_path", | |
| "description": "Path to your project (DOCUMCP_TARGET_REPO)", | |
| "password": false | |
| } | |
| ], | |
| "servers": { | |
| "documcp": { | |
| "type": "stdio", | |
| "command": "uvx", | |
| "args": ["--from", "docling-mcp", "docling-mcp-server", "--transport", "stdio"], | |
| "env": { | |
| "DOCUMCP_TARGET_REPO": "${input:documcp_path}" | |
| } | |
| } | |
| } | |
| } | |
| EOF | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment