Skip to content

Instantly share code, notes, and snippets.

@tosin2013
Last active August 29, 2025 05:30
Show Gist options
  • Save tosin2013/4d1668da188215e77ead72c035906965 to your computer and use it in GitHub Desktop.
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)
#!/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