NO AUTH
REPO DOCS
DeepWiki MCP gives agents access to repo docs: ask questions about any public GitHub repository and read its AI-generated documentation without leaving the workflow.
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
// DeepWiki tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["deepwikimcp"], toolNames: [
"deepwikimcp_ask_question",
"deepwikimcp_read_wiki_contents",
"deepwikimcp_read_wiki_structure"] },
pageSize: 100,
});
const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "How does this library handle retries, and where is that configured?" }] });import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["deepwikimcp"] }, pageSize: 100,
});
const res = await openai.chat.completions.create({
model: "gpt-5",
messages: [{ role: "user", content: "How does this library handle retries, and where is that configured?" }],
tools,
});
// Execute the tool call with the user's vaulted DeepWiki credential
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["deepwikimcp"] }, pageSize: 100,
});
const msg = await anthropic.messages.create({
model: "claude-sonnet-5",
max_tokens: 1024,
messages: [{ role: "user", content: "How does this library handle retries, and where is that configured?" }],
tools,
});
// Tool call runs with the user's vaulted DeepWiki credential
await sk.tools.executeTool(msg.content, "user_123");import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["deepwikimcp"] }, pageSize: 100,
});
const agent = new Agent({
name: "deepwiki_agent",
model: "gemini-2.5-pro",
instruction: "Manage DeepWiki for the signed-in user.",
tools,
});
await agent.run("How does this library handle retries, and where is that configured?");// shared token
audit → bot_service_account
// scalekit
audit → user_abc ✓Does DeepWiki need credentials?
No. DeepWiki MCP needs no sign-in. Scalekit routes each call and logs it, so every repo question is attributed to the user who ran the agent.
What does Scalekit add if DeepWiki needs no credentials?
Scope checks and audit. You choose which DeepWiki tools each agent sees, and every call is logged per user and tenant.
Can I limit what the agent is allowed to do in DeepWiki?
Yes. Pass a tool name filter to listScopedTools so the DevOps agent only sees the subset you authorize. Pre-API-call scope checks block out-of-policy actions before the request reaches DeepWiki.
Can I turn DeepWiki off for a tenant?
Yes. Disable the connection in the Scalekit dashboard and the next tool call fails closed with a clear error. Other tenants are unaffected, and the change is logged.
Which repositories can the agent read?
Public GitHub repositories with DeepWiki documentation. The agent can ask questions about a repository and read its generated docs and wiki structure.