What you can do
MCP (Model Context Protocol) is an open standard that lets an AI app use tools of other services, like a USB-C port for AI. Docki is such a service: once an AI app is connected, it can work on your account for you.
- “Read
chapter-3.mdand make a Kubernetes deck with 30 flashcards and a 15-question quiz.” - “Add the tag
examto every card that mentions pods.” - “Rewrite the backs of my Spanish verbs deck to be shorter.”
- “What did I delete yesterday? Put the Networking deck back.”
The AI runs in your app, so this uses none of your Docki AI tokens. It is free on every plan.
Connect an app
The server URL is always the same:
https://docki.net/mcp
Claude (claude.ai, the desktop app, mobile) — Settings → Connectors → Add custom connector → paste the URL → Connect. A Docki page opens: press Authorize. Claude Code signed in with the same Claude account then has Docki too, in the terminal, VS Code and JetBrains.
Claude Code (signed in with an API key, or to keep it in one project):
claude mcp add --transport http docki https://docki.net/mcp
Then type /mcp, pick docki and Authenticate: your browser opens Docki’s page.
VS Code (GitHub Copilot agent mode) — add to .vscode/mcp.json, or use Add to VS Code in Docki’s Settings → AI apps:
{ "servers": { "docki": { "type": "http", "url": "https://docki.net/mcp" } } }
Cursor — add to ~/.cursor/mcp.json, or use Add to Cursor in Settings → AI apps:
{ "mcpServers": { "docki": { "url": "https://docki.net/mcp" } } }
Google Antigravity (the app, the IDE and the CLI share one file) — add to ~/.gemini/config/mcp_config.json (in the IDE: MCP Servers → Manage MCP Servers → View raw config):
{ "mcpServers": { "docki": { "serverUrl": "https://docki.net/mcp" } } }
Then press Authenticate next to docki (Customizations → Installed in the app), press Authorize on Docki’s page, and paste the code Antigravity’s page shows back into Antigravity.
Any other MCP app — add a remote (Streamable HTTP) server with the URL above; it signs in with OAuth by itself.
Other apps (OpenCode, Codex, Gemini CLI, Kiro, Zed, Cline, Windsurf…)
Any app that connects to a remote MCP server over Streamable HTTP and signs in with OAuth works. These have been checked against their own docs:
OpenCode — run in a terminal:
opencode mcp add docki --global --url https://docki.net/mcp
opencode mcp auth docki
Then sign in: the second command opens the browser (or /mcps inside OpenCode).
OpenAI Codex (CLI, IDE extension, ChatGPT desktop) — run in a terminal:
codex mcp add docki --url https://docki.net/mcp
codex mcp login docki
Then sign in: the second command opens the browser.
Gemini CLI — add to ~/.gemini/settings.json:
{
"mcpServers": {
"docki": {
"httpUrl": "https://docki.net/mcp"
}
}
}
Then sign in: type /mcp auth docki in Gemini CLI.
Kiro — add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"docki": {
"url": "https://docki.net/mcp"
}
}
}
Then sign in: Kiro opens the browser by itself (CLI: /mcp auth).
Zed — add to settings.json (command palette → zed: open settings file):
{
"context_servers": {
"docki": {
"url": "https://docki.net/mcp"
}
}
}
Then sign in: Zed asks you to authenticate.
Cline — add to cline_mcp_settings.json (Cline → MCP Servers → Configure):
{
"mcpServers": {
"docki": {
"type": "streamableHttp",
"url": "https://docki.net/mcp"
}
}
}
Then sign in: press Authorize OAuth next to docki in Cline’s MCP Servers.
Devin Desktop (formerly Windsurf) — add to ~/.config/devin/mcp_config.json:
{
"mcpServers": {
"docki": {
"url": "https://docki.net/mcp",
"transport": "http"
}
}
}
Then sign in: Customize → MCPs → Authenticate, or devin mcp login docki.
Windsurf (older versions) — add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"docki": {
"serverUrl": "https://docki.net/mcp"
}
}
}
Then sign in: Windsurf opens the browser on first use.
An app that only runs local (stdio) servers — use the mcp-remote bridge (needs Node.js):
{
"mcpServers": {
"docki": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://docki.net/mcp"
]
}
}
}
mcp-remote opens Docki’s Authorize page itself and passes the tools to the app.
Docki accepts sign-in callbacks on this computer (http://localhost, http://127.0.0.1) or on https. An app that only supports the older SSE transport, or a callback such as app://…, cannot connect directly: use the bridge above.
What happens when you connect
The app makes a link to Docki and opens it in your browser. On that page you see the app’s name, the address it will return to and what it asks to do. Pressing Authorize is the consent: Docki sends the browser back to the app with a one-time code, and the app trades it for its own access token. You never give the app your password.
- Not signed in? Docki asks you to sign in first, then shows the same page.
- Cancel sends the app a refusal; nothing is connected.
- After that, the app refreshes its token by itself. Going back to your editor is the app’s job: Claude Code carries on in the terminal, VS Code asks to open, claude.ai shows its connectors page.
Permissions, the Trash and disconnecting
On the Authorize page you choose what the app may do:
- Read — see your folders, decks, Documents, cards, quizzes and the Trash.
- Read and edit — also create, change and delete. You can always pick Read even when the app asks for more.
Deletes go to the Trash. Whatever an app deletes stays in Docki’s Trash for 30 days, marked Deleted by <app>, and comes back with one click (Menu → Trash), or the app can put it back itself. Apps cannot empty the Trash.
Disconnect an app at any time in Settings → AI apps: its tokens stop working at once. An app’s access also ends after 60 days without use.
Good to know: an app sees what you see, including Documents you pasted from elsewhere. If a Document contains instructions aimed at an AI, a careless app might follow them — another reason deletes are recoverable. Choose Read for apps you only want to ask questions.
Tools
| Tool | What it does | Needs |
|---|---|---|
list_library | The user’s folders and decks as a tree, with how many cards each deck has and how many are due. Call this first to find deck ids and avoid creating duplicates. | Read |
get_deck | One deck: its Document tabs (ids, titles, size), its quizzes (ids, titles, status, number of questions), sub-decks and card count. | Read |
list_cards | The flashcards of a deck, 200 at most per call (use offset to page). Optionally only those whose text contains query or that have a tag. Each card has updatedAt: pass it back as expectedUpdatedAt when you update the card. | Read |
get_cards | Cards by their ids (up to 100), with their full text. | Read |
get_document_tab | The Markdown text of one tab of a deck’s Document, 100,000 characters per call (use offset for the rest). A PDF tab returns its file name, page count and highlights instead. | Read |
list_quizzes | The saved quizzes of a deck: id, title, status (draft or ready), number of questions, updatedAt. | Read |
get_quiz | A quiz with all its questions. | Read |
search | Searches the user’s cards, tags and Document headings, like the app’s search box. | Read |
list_trash | What was deleted in the last 30 days (by the user or by an AI app), newest first. Items can be put back with restore_from_trash. | Read |
create_folder | A new folder, at the top level or inside another folder. | Read and edit |
create_deck | A new deck with a Document. Put it in a folder, or under another deck as a sub-deck (one level). document becomes the first Document tab (Markdown). For a vocabulary deck, set language (the language learned) and meaningLanguage. | Read and edit |
create_cards | New flashcards in a deck (up to 100 per call). They start as new cards for spaced repetition. Use kind "word" only in a vocabulary deck. | Read and edit |
create_tab | A new Markdown tab in a deck’s Document (headings, lists, tables, code and Mermaid diagrams are supported). | Read and edit |
create_quiz | A saved quiz in a deck (up to 100 questions). It is saved as a draft for the user to look over, unless you ask for status "ready" and every question is complete (mcq: the answer is one of the options; fill: the prompt has ___). | Read and edit |
update_deck | Renames a deck, or moves it to another folder (folderId null = top level) or under another deck. | Read and edit |
update_cards | Changes existing cards (up to 100 per call). Only the fields you send change; the study progress is kept. Send expectedUpdatedAt to avoid overwriting a change the user just made. | Read and edit |
update_tab | Replaces the title and/or Markdown text of a tab. The previous text is kept in the tab’s history in the app. | Read and edit |
update_quiz | Changes a quiz: its title, its status, all its questions (questions replaces the list) or more questions at the end (addQuestions). | Read and edit |
delete_cards | Moves cards (up to 100) to the Trash, with their review history. The user can restore them for 30 days. | Read and edit (to the Trash) |
delete_tab | Moves one Document tab to the Trash. A deck keeps at least one tab. | Read and edit (to the Trash) |
delete_quiz | Moves one quiz (and the user’s goes at it) to the Trash. | Read and edit (to the Trash) |
delete_deck | Moves one deck, with its sub-decks, Document, cards, quizzes and review history, to the Trash. A deck added from the library is only hidden. Ask the user before deleting a deck. | Read and edit (to the Trash) |
delete_folder | Moves one folder with everything in it to the Trash. Ask the user before deleting a folder. | Read and edit (to the Trash) |
restore_from_trash | Puts a Trash item (from list_trash) back where it was. Cards, a tab or a quiz whose deck is also in the Trash need the deck restored first. | Read and edit |
Limits: up to 100 cards or 100 quiz questions per call, and 120 calls a minute.
Examples to try
- “List my Docki decks.”
- “Create a deck ‘IELTS Writing’ in my English folder and add 20 flashcards of linking words with an example each.”
- “Take the notes in this file and add them as a new tab of my Biology deck, then make a 10-question quiz from it.”
- “Find cards in my Java deck whose answer is longer than three sentences and shorten them.”
- “Delete the empty decks in my Archive folder.” (they go to the Trash)
Troubleshooting
- The browser did not open — copy the link the app prints and open it yourself.
- “Connection refused” after Authorize (Claude Code over SSH, a remote machine) — the app waits on its computer. Paste the address the browser ended on into the app’s prompt (Claude Code asks for it).
- VS Code says “Invalid redirect URI” — another program uses port 33418; close it and try again.
- Antigravity: Authenticate does not appear — Antigravity reads the file when it starts or when you reload MCP servers (
/mcpin the CLI). Use the keyserverUrl, nothttpUrl. - Claude Code does not list Docki from claude.ai — it is signed in with an API key: add the server with
claude mcp addinstead. - Team or Enterprise plan on Claude — only an admin can add custom connectors.
- A change does not show in Docki — switch back to the Docki tab: it reloads when it gets the focus.
- “This connection may only read” — connect again and choose Read and edit.
For AI agents
If you are an AI agent and your user asks to use Docki:
- Endpoint:
https://docki.net/mcp— MCP over Streamable HTTP, stateless: one JSON-RPC message per POST, one JSON answer. Protocol versions 2025-11-25, 2025-06-18, 2025-03-26. - Auth: OAuth 2.1 with PKCE (S256). Without a token the server answers
401withWWW-Authenticate: Bearer resource_metadata="https://docki.net/.well-known/oauth-protected-resource/mcp". Authorization server metadata:https://docki.net/.well-known/oauth-authorization-server. Client ID Metadata Documents and Dynamic Client Registration are both supported. Sendresource=https://docki.net/mcp. Scopes:read,write(andoffline_accessfor a refresh token). - Consent: the user must open the authorization link and press Authorize themselves. Never ask the user for their Docki password or session cookie.
- Working: call
list_libraryfirst; read before you write; sendexpectedUpdatedAtwhen updating; followidMapwhen a library deck becomes the user’s copy. - Deleting: deletes go to the Trash (30 days) and can be undone with
restore_from_trash. Ask the user before deleting a deck or a folder. - Machine-readable: this guide as Markdown: https://docki.net/docs/mcp.md · https://docki.net/llms.txt