Skip to main content

Edithly MCP — User guide

Connect Edithly to Cursor, Claude Desktop, VS Code, Codex CLI, or any MCP client to create PDFs, posters, mind maps, flashcards, solvesheets, and more from chat.

12 tools, one server

The Edithly MCP server exposes 12 tools covering discovery, generation, editing, export, and account status. The full reference is below — every tool, every parameter. Building a backend integration instead of an MCP client? See the API reference.

Before you connect

  1. API key — Create one from your dashboard and copy it.
  2. Credits — You need at least 1 credit for visuals and solvesheets, 4 for AI images.

Check your balance anytime with get_credit_balance.

Create an API key

  1. Open the dashboard and switch to the API Portal tab.
  2. Click Create API.
  3. In the Create New API dialog, enter a name for the key (e.g. MCP Integration) and click Create API.

Create New API dialog

Copy the generated key right away — use it as YOUR_API_KEY in the MCP config below, either in the Authorization header or as the api_key argument on individual tool calls.

Connect in Cursor

Open Cursor Settings → MCP and add:

{
"mcpServers": {
"edithly": {
"url": "https://api.edithly.com/api/v1/mcp/sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}

Replace YOUR_API_KEY with your key.

Restart Cursor or reload MCP servers.

Connect in Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
"mcpServers": {
"edithly": {
"url": "https://api.edithly.com/api/v1/mcp/sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}

Restart Claude Desktop.

Connect in VS Code

Open the Command Palette and run MCP: Add Server, or create .vscode/mcp.json in your workspace (or your user mcp.json to make it available everywhere):

{
"servers": {
"edithly": {
"type": "http",
"url": "https://api.edithly.com/api/v1/mcp/sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}

VS Code will pick up the server for Copilot Chat / agent mode. Use MCP: List Servers from the Command Palette to start, stop, or restart it.

Connect in Codex CLI

Edit ~/.codex/config.toml (or your project's .codex/config.toml) and add an entry under mcp_servers:

[mcp_servers.edithly]
url = "https://api.edithly.com/api/v1/mcp/sse"
bearer_token_env_var = "EDITHLY_API_KEY"

Export your key as an environment variable before launching Codex so it can fill in the Authorization header:

export EDITHLY_API_KEY="YOUR_API_KEY"

Other MCP clients

Any MCP client that supports remote servers over streamable HTTP / SSE with custom headers can connect to Edithly — point it at:

  • URL: https://api.edithly.com/api/v1/mcp/sse
  • Header: Authorization: Bearer YOUR_API_KEY

Most clients (Windsurf, Zed, and others) use the same mcpServers JSON shape shown for Cursor and Claude Desktop above — drop in the same block under the client's MCP settings.

All tools

Every tool the Edithly MCP server exposes, grouped by what it's for.

Discovery — figure out what to build

ToolWhat it doesCreditsAuth
get_visual_typesList all Edithly visual types with descriptions and use casesFreeNo
get_visual_schemaGet the exact design_json schema and a working example for a visual typeFreeNo
list_templatesList Edithly layout templates / recipes, optionally filtered by visual typeFreeNo

Generate — create a new visual

ToolWhat it doesCreditsAuth
create_visualRender a visual (PDF/PNG) from a design_json PageSpec1Yes
create_imageGenerate an AI poster image (WebP) from raw content4Yes
create_solvesheetTurn a problem or worksheet into a worked-example solvesheet1Yes

Manage — edit, export, and inspect existing visuals

ToolWhat it doesCreditsAuth
update_visualModify an existing visual with instructions and/or a design_patch, then re-render1Yes
export_visualRe-export an existing visual as PDF or PNG from its stored design_json1Yes
get_visualRetrieve metadata and URLs for a previously created visualFreeYes
get_generation_statusCheck the status of a visual_id (MCP renders synchronously, so this returns completed immediately)FreeYes

Account — credits and projects

ToolWhat it doesCreditsAuth
get_credit_balanceGet your current visual credit balanceFreeYes
list_projectsList your Edithly projects (API chatboxes)FreeYes

Tool reference

Full parameters for every tool. api_key is optional on every call if you're already sending an Authorization: Bearer header in your MCP client config — pass it explicitly only when calling a tool outside that context.

get_visual_types

List all Edithly visual types with descriptions and use cases. Always call this first before get_visual_schema or create_visual to identify the correct visual_type for the request.

No parameters.

get_visual_schema

Get the exact design_json schema and a complete working example for a specific visual_type. Call get_visual_types() first to pick the right type, then call this with that type. The returned example shows exactly what to put in design_json for create_visual().

ParameterTypeRequiredDescription
visual_typestringNoThe visual type to fetch a schema for (from get_visual_types)

list_templates

List Edithly layout templates / recipes. Optionally filter by visual_type. No authentication required.

ParameterTypeRequiredDescription
visual_typestringNoFilter templates to a single visual type

create_visual

Render a visual from a PageSpec design_json. Uploads to S3 and creates a shareable view_url. Only writes a local file when save_path is explicitly provided. Costs 1 credit.

ParameterTypeRequiredDescription
design_jsonobjectYesThe PageSpec design — call get_visual_schema() first to learn the correct format
output_formatstringNoOutput file format. Default pdf
page_sizestringNoPage size. Default A4
save_pathstringNoLocal path to write the file to; the file is only written locally when this is set
api_keystringNoOverrides the Authorization header for this call

Returns view_url and visual_id — never invent filenames or IDs.

create_image

Generate an AI poster image from raw content. Use this — not create_visual — whenever the request is for an image, poster, or visual cheatsheet. Costs 4 credits.

ParameterTypeRequiredDescription
page_titlestringYesTitle shown on the generated image
contentstringYesAll extracted facts, data, and concepts to include — the more detail, the better the result
save_pathstringNoLocal path to write the .webp to; only written locally when this is set
api_keystringNoOverrides the Authorization header for this call

Returns view_url and visual_id.

create_solvesheet

Turn a problem, worksheet, or document's text into a worked-example solvesheet. The backend solves the question — the model should not invent steps or fall back to create_visual. Costs 1 credit.

ParameterTypeRequiredDescription
contentstringYesThe full source text
questionstringNoSet when the source document has more than one problem, to target a specific one
page_titlestringNoTitle for the sheet
sheet_themestringNoVisual theme for the sheet
save_pathstringNoLocal path to write the file to
api_keystringNoOverrides the Authorization header for this call

Returns view_url and visual_id.

update_visual

Modify an existing visual. Pass instructions and/or a design_patch, and Edithly re-renders it. Costs 1 credit.

ParameterTypeRequiredDescription
visual_idstringYesThe visual to update
instructionsstringNoNatural-language description of the change
design_patchobject | nullNoA partial design_json patch to merge in
output_formatstringNoOverride the output format for the re-render
page_sizestringNoOverride the page size for the re-render
save_pathstringNoLocal path to write the updated file to
api_keystringNoOverrides the Authorization header for this call

Returns view_url and visual_id (local_path only if save_path was set).

export_visual

Re-export an existing MCP visual as PDF or PNG from its stored design_json, without changing its content. Costs 1 credit.

ParameterTypeRequiredDescription
visual_idstringYesThe visual to export
output_formatstringNoOutput format. Default pdf
page_sizestringNoPage size override
save_pathstringNoLocal path to write the file to
api_keystringNoAuth required for this call

get_visual

Retrieve metadata and URLs for a previously created MCP visual.

ParameterTypeRequiredDescription
visual_idstringYesThe visual to look up
api_keystringNoAuth required for this call

get_generation_status

Compatibility status check for a visual_id. MCP renders synchronously, so a completed visual returns status: completed immediately — this exists mainly for clients built against an async generation model.

ParameterTypeRequiredDescription
visual_idstringYesThe visual to check
api_keystringNoAuth required for this call

get_credit_balance

Get your current visual credit balance. create_visual and create_solvesheet cost 1 credit; create_image costs 4 credits.

ParameterTypeRequiredDescription
api_keystringNoAuth required for this call

list_projects

List the authenticated user's Edithly projects (API chatboxes).

ParameterTypeRequiredDescription
api_keystringNoAuth required for this call

Typical workflows

Generate a visual (PDF/PNG):

  1. get_visual_types — pick the right format
  2. get_visual_schema — get the layout template
  3. create_visual — render and save the file

Generate a poster / image: call create_image directly instead of create_visual.

Generate a solvesheet: call create_solvesheet with the source text — don't build a design_json by hand for this.

Browse recipes first: call list_templates (optionally filtered by visual_type) to see ready-made layouts before writing a design_json from scratch.

Edit something you already made: call update_visual with instructions describing the change, or a design_patch.

Check on a visual later: get_visual for metadata and URLs, or get_generation_status for a status check.

Ask in natural language — the AI will call the right tools for you.

Examples

1. Python cheatsheet (PDF)

Create a Python cheatsheet PDF and save it to ~/Downloads/python-cheatsheet.pdf

The assistant picks cheatcode, builds the content, and returns a local file path plus a shareable view_url.

2. Mind map

Make a mind map about machine learning basics and save as ~/Downloads/ml-mindmap.pdf

Uses the mindmap visual type.

3. Flashcard quiz

Create 10 MCQ flashcards on FastAPI and save to ~/Downloads/fastapi-quiz.pdf

Uses the flashcard visual type.

4. AI poster image

Generate a poster image about climate change facts and save to ~/Downloads/climate-poster.webp

Uses create_image (4 credits). Include plenty of facts in your request for a better result.

5. Worked-example solvesheet

Solve this physics problem step by step and save the solvesheet to ~/Downloads/physics-solvesheet.pdf

Uses create_solvesheet — paste the full problem text as content.

6. Revise an existing visual

Make the headings bigger on that mind map you just created

Uses update_visual with instructions, reusing the visual_id from the previous response.

7. Check credits

How many visual credits do I have left?

Calls get_credit_balance.

Tips

  • Always give a save path — e.g. ~/Downloads/my-visual.pdf so the file lands where you expect.
  • Posters = create_image — not create_visual.
  • Worksheets = create_solvesheet — let the backend solve it instead of hand-building a design_json.
  • More content = better output — paste notes or bullet points when you can.
  • Check list_templates before designing from scratch — a ready-made recipe is often a better start than a blank design_json.
  • Auth — Prefer the Authorization header in MCP config; you can also pass api_key on individual tool calls.

Troubleshooting

ProblemWhat to try
MCP server not showingRestart the client; confirm the URL ends with /api/v1/mcp/sse
Auth errorsRegenerate API key; check Bearer prefix in the header
Insufficient creditsTop up credits in Edithly settings
Server unavailableVisit https://api.edithly.com/health/mcp — should return status: ok

Still stuck? Mail [email protected], open Contact support, or ask in Join our Discord.

Quick reference

EndpointPurpose
GET /api/v1/mcp/sseMCP connection (SSE)
POST /api/v1/mcp/messagesMCP messages (handled by client)
GET /health/mcpCheck if MCP is running
Full tool list

get_visual_types · get_visual_schema · list_templates · create_visual · create_image · create_solvesheet · update_visual · export_visual · get_visual · get_generation_status · get_credit_balance · list_projects