Connect
Raycast AI
Raycast AI can call Dock via Quicklinks (for lookups) or the Script Commands + Node REST pattern (for writes). The MCP integration ships for Raycast Pro users with agent commands.
Client
Raycast AI
macOS launcher with AI. Quicklinks for REST, MCP for agent commands.
HTTP JSON-RPC (streamable-http)
Dock MCP
trydock.ai/api/mcp
37 tools · OAuth 2.1 + DCR · Bearer
Auth path
1
Mint a
dk_ key in Dock Settings → API keys.2
Paste it as
Authorization: Bearer dk_… in the client config.3
Client calls Dock MCP directly on every request.
Prerequisites
- Raycast installed (macOS).
- A Dock
dk_key.
Secret
Raycast · Extensions · Developer · Secrets · add
DOCK_API_KEY.A Script Command: append a drafted rowtypescript
import { getPreferenceValues, showToast } from "@raycast/api";
export default async function main() {
const { dockApiKey } = getPreferenceValues<{ dockApiKey: string }>();
const title = await showPromptForTitle();
await fetch(
"https://trydock.ai/api/workspaces/inbox/rows",
{
method: "POST",
headers: {
Authorization: `Bearer ${dockApiKey}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ data: { title, status: "drafted" } }),
}
);
showToast({ title: "Added to Dock inbox" });
}Troubleshooting
Symptom
Fix
"Extension needs a token"
Add
dockApiKey as a Preference in package.json.