mila

Create, read, update, and delete documents, spreadsheets, and slide presentations in Mila via the REST API or MCP tools. Use when the user wants to manage collaborative documents with rich HTML content, workbooks with tabs and cells in A1 notation, or slide decks with free-form HTML on a 960x540 canvas. Supports pagination, server-based organization, real-time collaboration, formulas, cell formatting, speaker notes, and themes.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mila" with this command: npx skills add mila/mila

Mila

Mila is a collaborative platform for documents, spreadsheets, and slide presentations. This skill teaches you how to interact with Mila's REST API and MCP tools to manage content programmatically.

Get started at https://mila.gg -- create an account, generate an API key, and start building.

Authentication

All requests require a Mila API key. Keys use the format mila_sk_*.

API keys have scopes that control access (e.g. documents:read, documents:write, sheets:read, sheets:write, slides:read, slides:write).

REST API authentication

Include the API key as a Bearer token:

Authorization: Bearer mila_sk_your_key_here

Base URL: https://api.mila.gg/v1

MCP authentication

The MCP server uses the same API keys. Include the key in the Authorization header when connecting to the MCP endpoint.

MCP endpoint: https://mcp.mila.gg

MCP setup

If the user wants to connect Mila to an AI client via MCP, use these configurations:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "mila": {
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer mila_sk_your_key_here"
      }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "mila": {
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer mila_sk_your_key_here"
      }
    }
  }
}

VS Code Copilot (.vscode/mcp.json):

{
  "servers": {
    "mila": {
      "type": "http",
      "url": "https://mcp.mila.gg",
      "headers": {
        "Authorization": "Bearer mila_sk_your_key_here"
      }
    }
  }
}

Quick start

Create a document

curl -X POST https://api.mila.gg/v1/documents \
  -H "Authorization: Bearer mila_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"title": "Meeting Notes", "content": "<h1>Meeting Notes</h1><p>Discussed roadmap.</p>"}'

MCP tool: create_document with title and content (HTML string).

Create a spreadsheet

curl -X POST https://api.mila.gg/v1/sheets \
  -H "Authorization: Bearer mila_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"title": "Budget", "cells": {"A1": {"value": "Item"}, "B1": {"value": "Cost"}, "A2": {"value": "Hosting"}, "B2": {"value": 99}}}'

MCP tool: create_sheet with title and cells (A1 notation object).

Create a presentation

curl -X POST https://api.mila.gg/v1/slides \
  -H "Authorization: Bearer mila_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"title": "Demo", "data": [{"html": "<div style=\"display:flex;align-items:center;justify-content:center;height:100%\"><h1 style=\"font-size:48px\">Hello</h1></div>", "background": "#ffffff", "notes": "Title slide"}]}'

MCP tool: create_slide_presentation with title and data (array of slide objects).

API conventions

IDs

All resource IDs are opaque strings (e.g. "xK9mP2wQ"). Use them as-is in URLs and parameters.

Pagination

List endpoints accept limit (1-100, default 50) and offset (default 0). Responses include a pagination object:

{
  "data": [...],
  "pagination": { "total": 42, "limit": 50, "offset": 0 }
}

Sorting

List endpoints accept sort (created_at, updated_at, last_edited_at, title) and order (asc, desc).

Server filtering

Content can belong to a server (workspace) or to personal files.

  • Omit server_id: returns all content
  • server_id=personal: returns only personal files
  • server_id=<id>: returns content in that server

Pass server_id in the request body when creating content to place it in a server. Omit for personal files.

Response format

All responses use this structure:

{
  "success": true,
  "data": { ... }
}

Errors return:

{
  "success": false,
  "error": { "message": "Description of the error" }
}

Content formats

  • Documents: HTML strings (headings, paragraphs, lists, tables, images, links). <script> tags are stripped.
  • Sheets: Cell data in A1 notation (e.g. {"A1": {"value": "Name"}, "B1": {"value": 42}}). Formulas start with =.
  • Slides: Free-form HTML on a 960x540px canvas. Each slide has html, background, and notes fields.

Detailed references

For complete endpoint documentation with all parameters, response shapes, and examples:

Available MCP tools

ToolDescription
list_serversList all servers (workspaces)
list_documentsList documents with pagination and filtering
get_documentGet a document with full content
create_documentCreate a document with HTML content
update_documentUpdate title and/or content
delete_documentDelete a document
append_to_documentAppend HTML to a document
list_sheetsList workbooks with tab metadata
get_sheetGet a workbook with all tabs and cells
create_sheetCreate a workbook with an initial tab
update_sheetUpdate workbook title
delete_sheetDelete a workbook and all tabs
get_sheet_tabGet a single tab with cell data
create_sheet_tabAdd a tab to a workbook
update_sheet_tabUpdate cells, name, color, or grid size
delete_sheet_tabRemove a tab from a workbook
append_rowsAppend rows of data to a tab
list_slidesList presentations
get_slide_presentationGet a presentation with all slides
create_slide_presentationCreate a presentation
update_slide_presentationUpdate title, slides, theme, or aspect ratio
delete_slide_presentationDelete a presentation
append_slidesAdd slides to a presentation

Learn more

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Fast.io

Workspaces for agentic teams. Complete agent guide with all 19 consolidated tools using action-based routing — parameters, workflows, ID formats, and constra...

Registry SourceRecently Updated
5.5K5Profile unavailable
Web3

Veroq

Provide verified AI intelligence on markets, assets, sentiment, and economic data with live prices, signals, analysis, and fact-checking from 1,000+ tickers...

Registry SourceRecently Updated
1340Profile unavailable
General

Dida Coach

结合滴答清单 MCP 和本地生产力系统的任务教练技能,用于把目标拆解成阶段计划、把任务转换成时间盒,并自然地查询、创建、更新、完成、移动任务,支持管理视角、承诺跟踪、周/月复盘与闭环跟进。用户提到“拆目标”“做计划”“时间盒”“复盘”“改时间”“提醒”“拖延”“查任务”“完成任务”“清单管理”“生产力系统”“承诺...

Registry SourceRecently Updated
2381Profile unavailable
General

Wolai MCP 技能

Wolai MCP skill — 操作 wolai 笔记(块/页面/搜索/数据库)/ Wolai Mcp Skill - Operate wolai notes (blocks, pages, search, database) via MCP protocol

Registry SourceRecently Updated
3762Profile unavailable