DEV Community

NoLeetcode
NoLeetcode

Posted on

How to Connect Mila to Claude Desktop via MCP in 30 Seconds

If you've been using Claude Desktop and wished it could create documents, spreadsheets, and presentations for you — now it can. Mila is an AI-native office suite with a built-in MCP server, so you can connect it to Claude (or Cursor, VS Code, or any MCP client) in seconds.

What is Mila?

Mila is a collaborative platform for documents, spreadsheets, and slide presentations — think Google Docs meets AI. With 74,000+ users across 50+ countries, it's built from the ground up for AI workflows.

The Mila MCP server gives your AI assistant 23 tools to:

  • Create rich documents with headings, tables, and formatting
  • Build spreadsheets with formulas and cell formatting (A1 notation)
  • Design slide presentations on a 960×540 canvas
  • Organize content into servers (workspaces)
  • Full CRUD operations on all document types

Setup: 30 Seconds

1. Get your API key

Sign up at mila.gg and grab an API key from mila.gg/api-keys.

2. Add to Claude Desktop

Open your claude_desktop_config.json and add:

{
  "mcpServers": {
    "mila": {
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

3. Restart Claude Desktop

That's it. Claude now has access to all 23 Mila tools.

Works with Cursor and VS Code Too

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "mila": {
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

VS Code (.vscode/mcp.json):

{
  "servers": {
    "mila": {
      "type": "http",
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

What Can You Build?

Once connected, try asking Claude:

  • "Create a project proposal document for Q3"
  • "Build a budget spreadsheet with formulas"
  • "Make a 5-slide pitch deck for my startup"
  • "List all my documents and summarize the latest one"

The MCP server handles everything — document creation, reading, updating, and deletion — all through natural language.

Available MCP Tools

Here's the full list of 23 tools:

list_documents, get_document, create_document, update_document, delete_document, append_to_document, list_sheets, get_sheet, create_sheet, update_sheet, delete_sheet, get_sheet_tab, create_sheet_tab, update_sheet_tab, delete_sheet_tab, append_rows, list_slides, get_slide_presentation, create_slide_presentation, update_slide_presentation, delete_slide_presentation, append_slides, list_servers

Links


MCP is changing how AI assistants interact with tools. If you're building with Claude, Cursor, or any MCP-compatible client, give Mila a try — your AI can now manage a full office suite.

Top comments (0)