> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Add DeepWiki to Portkey MCP Gateway and connect it to Claude.

This quickstart covers:

1. Adding the DeepWiki MCP server to your organization's MCP Registry
2. Getting your MCP connection URL from your workspace
3. Using the URL in Claude (Desktop / Code) via MCP configuration

> [!NOTE]
>
> **Who does what:** MCP integrations can be added by **org admin and members**. The MCP server can be used by **workspace admin, manager, and members**.

***

## 1) Add DeepWiki to MCP Registry

**1. Open MCP Registry**

Go to **MCP Registry** in your org settings, then click **Add Server**.

![MCP Registry list with Add Server button](https://mintcdn.com/portkey-docs/WoCcxWMoPc-qBOFI/images/mcp-gateway/mcp-registry-list.png?fit=max\&auto=format\&n=WoCcxWMoPc-qBOFI\&q=85\&s=cdca6d5d6e5d92410b9b05c3d2a77513)

**2. Fill in the server details**

Enter the following:

| Field | Value |
| - | - |
| **Name** | `deepwiki-test-mcp-server` |
| **Short Description** | A short note about the MCP Integration |
| **URL** | `https://mcp.deepwiki.com/mcp` |
| **Slug** | `deepwiki-test-mcp-server` |
| **Server Type** | Http |
| **Auth Type** | None |

> [!NOTE]
>
> DeepWiki is a public MCP server that doesn't require authentication, so set **Auth Type** to `None`. Learn more about [DeepWiki MCP](https://docs.devin.ai/work-with-devin/deepwiki-mcp).

The form includes **Workspace Provisioning** settings. Select the workspace(s) that should have access to this MCP server.

![Provision server access to workspaces](https://mintcdn.com/portkey-docs/WoCcxWMoPc-qBOFI/images/mcp-gateway/provision-server-access.png?fit=max\&auto=format\&n=WoCcxWMoPc-qBOFI\&q=85\&s=c8870edacfc7dad2b5ef5f93b609e5ab)

**3. Test & save**

Click **Test Connection**, then **Add Server**.

***

## 2) Get Your Connection URL

Once enabled, go to the **MCP** page in your workspace sidebar and copy the DeepWiki connection URL.

![Workspace MCP page showing per-server connection URL](https://mintcdn.com/portkey-docs/WoCcxWMoPc-qBOFI/images/mcp-gateway/workspace-mcp-connection-url.png?fit=max\&auto=format\&n=WoCcxWMoPc-qBOFI\&q=85\&s=5dc26c80d2f6a9d7c3f0855421f97e3a)

The URL will look like:

```
https://mcp.portkey.ai/deepwiki-test-mcp-server/mcp
```

***

## 3) Use the URL in Claude (Desktop / Code)

Add a new MCP server that points to the Portkey URL. You have two authentication options:

> [tab] OAuth (Recommended)
>
> The simplest setup—just the URL, no credentials to manage:
>
> ```json theme={"system"}
> {
>   "mcpServers": {
>     "deepwiki": {
>       "url": "https://mcp.portkey.ai/deepwiki-test-mcp-server/mcp"
>     }
>   }
> }
> ```
>
> On first use, Claude will prompt you to authenticate with Portkey via OAuth 2.1. After you log in, your session is stored and refreshed automatically.
>
> > [!NOTE]
> >
> > **Best for:** Interactive use in Claude Desktop, Cursor, or VS Code. No API keys to create, rotate, or accidentally leak.

> [tab] API Key
>
> For programmatic access or when you prefer explicit credentials:
>
> ```json theme={"system"}
> {
>   "mcpServers": {
>     "deepwiki": {
>       "url": "https://mcp.portkey.ai/deepwiki-test-mcp-server/mcp",
>       "headers": {
>         "x-portkey-api-key": "<PORTKEY_API_KEY>"
>       }
>     }
>   }
> }
> ```
>
> Get your Portkey API key at [app.portkey.ai/api-keys](https://app.portkey.ai/api-keys). Use a **workspace user API key** with **`mcp invoke`** permissions.
>
> > [!NOTE]
> >
> > When creating your workspace API key, ensure it has **MCP Invoke** permissions enabled.
>
> > [!NOTE]
> >
> > **Best for:** CI/CD pipelines, backend services, or automated agents where interactive OAuth isn't possible.

> [!NOTE]
>
> Even though DeepWiki doesn't require authentication to the upstream server, you still need to authenticate with Portkey (via OAuth or API key) to access the server through the gateway.

***

## Next Steps

> [card] [Add MCP Servers](https://docs.portkey.ai/docs/product/mcp-gateway/internal-mcp-servers.md)
>
> Add internal and external MCP servers, configure authentication, and control access.

> [card] [Using MCP Servers](https://docs.portkey.ai/docs/product/mcp-gateway/using-mcp-servers.md)
>
> Connect MCP clients like Cursor, VS Code, Claude Desktop, or build your own integration.

> [card] [Team Provisioning](https://docs.portkey.ai/docs/product/mcp-gateway/access-control.md)
>
> Control which teams and users can access which MCP servers and tools.

> [card] [Observability](https://docs.portkey.ai/docs/product/mcp-gateway/observability.md)
>
> Monitor and debug MCP tool calls with full context and logs.

***

> [card] [Portkey is now PRISMA AIRS AI Gateway. See it in action.](https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\&utm_medium=referral\&utm_campaign=prisma_airs\&utm_content=docs_nav#contact)
>
> Contact Us


## Related topics

- [Quickstart](https://docs.portkey.ai/docs/product/agent-gateway/quickstart.md)
- [Node.js](https://docs.portkey.ai/docs/api-reference/sdk/node.md)
- [Python](https://docs.portkey.ai/docs/api-reference/sdk/python.md)
- [Deepinfra](https://docs.portkey.ai/docs/guides/integrations/deepinfra.md)
- [Langchain](https://docs.portkey.ai/docs/guides/integrations/langchain.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.