The DeepWiki MCP connector routes your AI agent's tool calls to DeepWiki's own MCP server through Scalekit. It needs no sign-in. It comes with 3 tools.
- Tools
- 3
- What they doRead · write · destructive
- 3 · 0 · 03 read0 write0 destructive
- Users sign in with
- No sign-in
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the DeepWiki connection
In AgentKit > Connections, create a DeepWiki connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Users don't sign in to DeepWiki MCP server, so the connection needs no credentials.
Make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'deepwikimcp'const identifier = 'user_123'// Create the user's connected account. No sign-in is needed, so it's active right away.await actions.getAuthorizationLink({ connectionName: connector, identifier })// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'deepwikimcp_read_wiki_contents',toolInput: { repoName: 'facebook/react' },})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "deepwikimcp"identifier = "user_123"# Create the user's connected account. No sign-in is needed, so it's active right away.actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)# Make your first callresult = actions.execute_tool(tool_input={"repoName":"facebook/react"},tool_name="deepwikimcp_read_wiki_contents",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyRequesting the link creates the user's connected account; there's nothing to open. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_tooldeepwikimcp_ask_questionAsk any question about a GitHub repository and get an AI-powered, context-grounded response.Read-onlyAsk Question
Ask any question about a GitHub repository and get an AI-powered, context-grounded response.
Inputs
questionstringrequired- The question to ask about the repository.
repoNamestringrequired- GitHub repository or list of repositories (max 10) in owner/repo format.
Also accepts
schema_versionandtool_versionto pin a version.deepwikimcp_read_wiki_contentsView documentation about a GitHub repository.Read-onlyRead Wiki Contents
View documentation about a GitHub repository.
Inputs
repoNamestringrequired- GitHub repository in owner/repo format (e.g. "facebook/react").
Also accepts
schema_versionandtool_versionto pin a version.deepwikimcp_read_wiki_structureGet a list of documentation topics for a GitHub repository.Read-onlyRead Wiki Structure
Get a list of documentation topics for a GitHub repository.
Inputs
repoNamestringrequired- GitHub repository in owner/repo format (e.g. "facebook/react").
Also accepts
schema_versionandtool_versionto pin a version.
No tools match.