Drafto — MCP server for Claude Code: notes in agent context
Connect your Drafto notes and notebooks to Claude Code, Cursor, and other IDEs via MCP. Your agent gains access to search, create, and read notes directly in your workflow.
claude mcp add --transport http drafto https://drafto.eu/api/mcpWhat Drafto does
Drafto is an offline-first note-taking app with sync across web, iOS, Android, and macOS. Its MCP server exposes notes and notebooks to AI agents: Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Cline, and Zed can search notes, create new ones, and read their content. This matters when you want to pull reference material from your own records without leaving your IDE, or when an agent needs to log decisions and solutions back to your notebook.
The server connects over HTTP from a single endpoint at https://drafto.eu/api/mcp across all platforms. Access requires a Drafto account with authentication; new accounts are subject to admin approval.
What it helps with
- search personal notes for reference without switching out of your IDE
- grant agents read access to notebooks for context
- save solutions and prompts to Drafto directly from Claude Code
- sync notes across web, mobile, and desktop automatically
Example prompts for the agent
- Find in my notes how I set up OAuth in the last project
- Create a note in the Projects notebook with the architecture of this microservice
- Show me notes from the API notebook that mention GraphQL
How to install Drafto
Platform CLI: remote server
claude mcp add --transport http drafto https://drafto.eu/api/mcpPlatform CLI: remote server
codex mcp add drafto --url https://drafto.eu/api/mcpConfig file
{
"mcpServers": {
"drafto": {
"url": "https://drafto.eu/api/mcp"
}
}
}Config file
{
"servers": {
"drafto": {
"type": "http",
"url": "https://drafto.eu/api/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http drafto https://drafto.eu/api/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Drafto
How do I install Drafto in Claude Code?
Run claude mcp add --transport http drafto https://drafto.eu/api/mcp. Claude Code will then have access to your notes through MCP.
What can an agent do with my notes?
Search notes by title and content, read full note text, create new notes in a notebook of your choice. Capabilities depend on your Drafto account permissions.
How do I set up Drafto in Cursor or GitHub Copilot?
In Cursor, edit your MCP server config and add: {"mcpServers": {"drafto": {"url": "https://drafto.eu/api/mcp"}}}. For GitHub Copilot, use the same structure with "type": "http". In Codex: codex mcp add drafto --url https://drafto.eu/api/mcp.