Loading...
{
"mcpServers": {
"godoc": {
"command": "/path/to/godoc-mcp",
"args": [],
"env": {
"GOPATH": "/path/to/go",
"GOMODCACHE": "/path/to/go/pkg/mod"
}
}
}
}get_docRetrieves Go documentation for a specified package or symbol.
Read-only access to documentation.
godoc-mcp is generally safe for use as it primarily provides read-only access to Go documentation. However, care should be taken to sanitize inputs to prevent command injection vulnerabilities. Ensure GOPATH and GOMODCACHE are correctly configured to avoid unexpected behavior.