Skip to content

Commit e53126e

Browse files
authored
Merge pull request #23695 from dvdksn/mcp-dcr-oauth
mcp: dcr oauth support
2 parents 72ae358 + a8e80b9 commit e53126e

File tree

3 files changed

+78
-12
lines changed

3 files changed

+78
-12
lines changed

content/manuals/ai/mcp-catalog-and-toolkit/catalog.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,16 @@ Local servers offer predictable performance, complete data privacy, and independ
6767

6868
### Remote MCP servers
6969

70-
Remote MCP servers are hosted services that you connect to through the internet. Service providers maintain and update these servers, ensuring access to current features and live data without requiring local updates or maintenance. Remote servers display a cloud icon {{< inline-image src="../../offload/images/cloud-mode.png" alt="cloud icon" >}} to indicate their hosted nature and external connectivity requirements.
71-
72-
Remote servers excel when you need always-current data, want to minimize local resource usage, or require capabilities that benefit from provider-managed infrastructure and scaling.
70+
Remote MCP servers are hosted services that run on the provider's
71+
infrastructure and connect to external services like GitHub, Notion, and
72+
Linear. Many remote servers use OAuth authentication. When a remote server
73+
requires OAuth, the MCP Toolkit handles authentication automatically - you
74+
authorize access through your browser, and the Toolkit manages credentials
75+
securely. You don't need to manually create API tokens or configure
76+
authentication.
77+
78+
Remote servers display a cloud icon in the catalog. For setup instructions, see
79+
[MCP Toolkit](toolkit.md#oauth-authentication).
7380

7481
## Use an MCP server from the catalog
7582

content/manuals/ai/mcp-catalog-and-toolkit/faqs.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ In the upcoming versions of Docker Desktop, Docker plans to support pluggable st
5454

5555
No. MCP servers are not technically uninstalled since they exist as Docker containers pulled to your local Docker Desktop. Removing an MCP server stops the container but leaves the image on your system. Even if the container is deleted, credentials remain stored until you remove them manually.
5656

57+
### Why don't I see remote MCP servers in the catalog?
58+
59+
If remote MCP servers aren't visible in the Docker Desktop catalog, your local
60+
catalog may be out of date. Remote servers are indicated by a cloud icon and
61+
include services like GitHub, Notion, and Linear.
62+
63+
Update your catalog by running:
64+
65+
```console
66+
$ docker mcp catalog update
67+
```
68+
69+
After the update completes, refresh the **Catalog** tab in Docker Desktop.
70+
5771
## Related pages
5872

5973
- [Get started with MCP Toolkit](/manuals/ai/mcp-catalog-and-toolkit/get-started.md)

content/manuals/ai/mcp-catalog-and-toolkit/toolkit.md

Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,60 @@ are invoked, enforced through resource and access limitations.
8282

8383
### OAuth authentication
8484

85-
Some MCP servers require authentication to access external services. The MCP
86-
Toolkit handles OAuth flows for supported services, currently limited to
87-
GitHub. When you authorize the MCP Toolkit to access your GitHub account, any
88-
installed MCP server that needs GitHub access can use those credentials without
89-
requiring separate authentication.
85+
Some MCP servers require authentication to access external services like
86+
GitHub, Notion, and Linear. The MCP Toolkit handles OAuth authentication
87+
automatically. You authorize access through your browser, and the Toolkit
88+
manages credentials securely. You don't need to manually create API tokens or
89+
configure authentication for each service.
9090

91-
To set up OAuth for a service, use the **OAuth** tab in the MCP Toolkit section
92-
in Docker Desktop. Once authorized, the credentials are available to any MCP
93-
server that needs them. You can revoke access at any time from the same tab.
91+
#### Authorize a server with OAuth
92+
93+
{{< tabs >}}
94+
{{< tab name="Docker Desktop">}}
95+
96+
1. In Docker Desktop, go to **MCP Toolkit** and select the **Catalog** tab.
97+
2. Find and add an MCP server that requires OAuth.
98+
3. In the server's **Configuration** tab, select the **OAuth** authentication
99+
method. Follow the link to begin the OAuth authorization.
100+
4. Your browser opens the authorization page for the service. Follow the
101+
on-screen instructions to complete authentication.
102+
5. Return to Docker Desktop when authentication is complete.
103+
104+
View all authorized services in the **OAuth** tab. To revoke access, select
105+
**Revoke** next to the service you want to disconnect.
106+
107+
{{< /tab >}}
108+
{{< tab name="CLI">}}
109+
110+
Enable an MCP server:
111+
112+
```console
113+
$ docker mcp server enable github-official
114+
```
115+
116+
If the server requires OAuth, authorize the connection:
117+
118+
```console
119+
$ docker mcp oauth authorize github
120+
```
121+
122+
Your browser opens the authorization page. Complete the authentication process,
123+
then return to your terminal.
124+
125+
View authorized services:
126+
127+
```console
128+
$ docker mcp oauth ls
129+
```
130+
131+
Revoke access to a service:
132+
133+
```console
134+
$ docker mcp oauth revoke github
135+
```
136+
137+
{{< /tab >}}
138+
{{< /tabs >}}
94139

95140
## Usage examples
96141

@@ -102,7 +147,7 @@ interact with your GitHub account:
102147

103148
1. From the **MCP Toolkit** menu in Docker Desktop, select the **Catalog** tab
104149
and find the **GitHub Official** server and add it.
105-
2. In the server's **Config** tab, authenticate via OAuth.
150+
2. In the server's **Configuration** tab, authenticate via OAuth.
106151
3. In the **Clients** tab, ensure Gordon is connected.
107152
4. From the **Ask Gordon** menu, you can now send requests related to your
108153
GitHub account, in accordance to the tools provided by the GitHub Official

0 commit comments

Comments
 (0)