
Quick commands to search and open AFFiNE workspaces and documents from Raycast. Uses the AFFiNE GraphQL API (same as DAWNCR0W/affine-mcp-server).
Desktop app: Open docs in the AFFiNE desktop app via Open in Desktop App or Copy Desktop App URL.
https://app.affine.pro for Cloud and for the desktop app (desktop has no HTTP API; use Cloud sync). Self-hosted: e.g. http://localhost:3010.assets/icon.png (or use Raycast's "Create Extension" to generate assets).cd affine-raycast
npm install
npm run dev
Raycast will load the extension from this folder. npm run build writes to ~/.config/raycast/extensions/; run it on a machine where Raycast is installed. For full doc content and AI (summarize, create, append), use the AFFiNE MCP server as described in the repo root README.
Search documents across workspaces and open in browser
List workspaces and open one in browser
List documents in default workspace and open in browser
Open AFFiNE in browser to create a new document
Instructions to add the AFFiNE MCP server so Raycast AI can read and write your docs