We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7930c commit e6d3b1eCopy full SHA for e6d3b1e
example/main.go
@@ -56,11 +56,11 @@ func main() {
56
var mcpProxy mcp.ServerProxier
57
deepwikiProxy, err := mcp.NewStreamableHTTPServerProxy(
58
logger.Named("mcp.deepwiki"),
59
- "deepwiki", // server name (tools prefixed as bmcp_deepwiki_*)
60
- "https://mcp.deepwiki.com/mcp", // no auth required for public repos
61
- nil, // headers
+ "deepwiki", // server name (tools prefixed as bmcp_deepwiki_*)
+ "https://mcp.deepwiki.com/mcp", // no auth required for public repos
+ nil, // headers
62
regexp.MustCompile(`^ask_question$`), // allowlist: only ask_question tool
63
- nil, // denylist
+ nil, // denylist
64
)
65
if err != nil {
66
log.Fatalf("create deepwiki mcp proxy: %v", err)
0 commit comments