Polotno Docs
Misc

AI Dev Tools

AI rules, MCP servers, and documentation tools for working with Polotno SDK

Overview

There are several ways to give your AI coding assistant knowledge about Polotno SDK — from project-level rules to live documentation servers.

Polotno AI Rules

The polotno-ai-rules repository provides AI coding rules and skills for working with Polotno SDK. It includes API references, code examples, best practices, and common pitfalls — ready to use with 40+ AI coding tools.

Claude Code

# 1. Add the marketplace
claude plugin marketplace add polotno-project/polotno-ai-rules

# 2. Install the plugin
claude plugin install polotno-sdk@polotno-sdk

Or from within a Claude Code session:

/plugin marketplace add polotno-project/polotno-ai-rules
/plugin install polotno-sdk@polotno-sdk

Cursor, Copilot, Windsurf, Cline, and others

npx skills add polotno-project/polotno-ai-rules

This auto-detects your editor and installs the appropriate rules file.

Manual Setup

Copy rules/polotno-rules.md from the repo into your project:

PlatformFile
Cursor.cursorrules
GitHub Copilot.github/copilot-instructions.md
Codex / JulesAGENTS.md
Windsurf.windsurfrules

Context7

Context7 provides up-to-date Polotno documentation directly inside your AI editor via MCP.

Quick Setup

npx ctx7 setup

Use flags to target a specific editor: --cursor, --claude, --opencode.

Manual MCP Configuration

Add to your editor's MCP config (e.g. ~/.cursor/config/mcp.json for Cursor):

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    }
  }
}

A free API key from context7.com/dashboard is recommended for higher rate limits.

Crawlchat MCP

Polotno documentation and community forums are also indexed by Crawlchat, providing AI-powered search with source citations.

Web Widget

Find the AI assistant on polotno.com/docs and community.polotno.com. Ask questions like "How do I resize a page?" to get instant answers with links to source docs or forum threads.

MCP Server

Add to your editor's MCP config:

{
  "mcpServers": {
    "polotno-documentation": {
      "command": "npx",
      "args": [
        "crawl-chat-mcp",
        "--id=67e312247a822a2303f2b8a7",
        "--name=polotno_documentation"
      ]
    }
  }
}

The server uses stdio transport. Works with Cursor, Cline, and any MCP-compatible editor. Requires Node.js 18+.

What You Can Ask

  • API questions – "What properties does TextElement have?"
  • Code examples – "How to add a rounded rectangle?"
  • Troubleshooting – "Why isn't my custom font loading?"

On this page