Black FridayA full year of Eden for up to 50% off, until MondaySee the deal
Workspace

Use your workspace from code

Every Eden MCP tool as a plain web call. Schedule posts, search Discover, read boards, upload files, and talk to your Custom AIs.

View as markdown

Every tool in Eden's MCP also works as a plain web call: POST https://mcp.eden.so/v1/tools/<tool name> with the tool's fields as the JSON body. You don't need an MCP client.

Run a tool

curl -X POST "https://mcp.eden.so/v1/tools/eden_search_social_content" \
  -H "Authorization: Bearer <key>" -H "Content-Type: application/json" \
  -d '{"scope":"global","query":"morning routine"}'
  • GET https://mcp.eden.so/v1/tools lists every tool your key can use, with the fields each one takes.
  • https://mcp.eden.so/v1/openapi.json has every tool in one OpenAPI file.
  • The answer is { "ok": true, ... }, or { "ok": false, "status": "...", "message": "..." } with a matching HTTP code.
  • Leave out workspaceId to use your default workspace.

Schedule a post

curl -X POST "https://mcp.eden.so/v1/tools/eden_schedule_post" \
  -H "Authorization: Bearer <key>" -H "Content-Type: application/json" \
  -d '{"text":"Three things I learned this week","platforms":["linkedin"],"scheduledAtIso":"2026-10-06T15:00:00Z"}'

Scheduling needs Starter or above. eden_list_schedules shows your connected accounts and time zone. Add "draft": true to save it for review instead. To hear back when it goes out or fails, add a webhook.

Upload a file for a post

Send an image, video, or PDF in one call:

curl -X POST "https://mcp.eden.so/v1/media" \
  -H "Authorization: Bearer <key>" -F "[email protected]"

You get back an asset. Put it in eden_schedule_post's media list. Files go up to 100 MB in JPG, PNG, WebP, GIF, PDF, MP4, MOV, or WebM. Add -F "workspace_id=<id>" to pick a workspace.

Talk to a Custom AI

Send a message to one of your Custom AIs and get its answer, with its instructions, knowledge, and tools:

curl -X POST "https://mcp.eden.so/v1/tools/eden_ask_custom_ai" \
  -H "Authorization: Bearer <key>" -H "Content-Type: application/json" \
  -d '{"customAIId":"<id>","message":"Write me three hooks about focus"}'
  • Get the id from eden_list_custom_ai. Leave it out to ask Eve.
  • Most answers come back with "status": "answered". A long one says "running" with a chatId: call eden_get_custom_ai_answer with it a few seconds later.
  • Send the same chatId again to keep the conversation going. The chat shows up in your Eden sidebar.

Read a board by tag

Get only the items on a board that carry certain tags, the same as clicking chips in the board's tag bar:

curl -X POST "https://mcp.eden.so/v1/tools/eden_read_board" \
  -H "Authorization: Bearer <key>" -H "Content-Type: application/json" \
  -d '{"itemId":"<board id>","tags":["Post idea","Newsletter"]}'
  • tags takes tag names or ids. An item with any of them comes back.
  • Add "untagged": true to also get items with no tags, or send it alone to get only those.
  • Each item lists its tags. The top-level tags lists every tag on the board with a count.
  • eden_list_tags lists your workspace's tags. eden_update_item_tags adds or removes them.

Credits and limits

  • Research calls cost 0.1 to 0.5 AI credits, the same as through MCP. Saving, scheduling, uploads, and reading your own workspace are free.
  • Each Custom AI message costs what chatting in Eden does: 1 credit, or 2 with "mode": "max".
  • 120 calls a minute per key, shared with MCP. A key only sees the tools its access allows. Changes need Full access or a Custom key with that part on Edit.

Tools inside Eden

Being tested. These answer 404 until Tools is switched on for your account.

Tools are pages inside Eden, like Strategy and the Hook tester. The same calls the Tools page makes work with your key, at https://api.eden.so/v1/my-tools. Send workspaceId with each one.

CallWhat it does
GET /v1/my-tools?workspaceId=Eden's tools, with which ones you added
POST /v1/my-tools/{id}/installAdd a tool. Body: workspaceId, scopes (everything it asks for)
DELETE /v1/my-tools/{id}/installRemove it
PATCH /v1/my-tools/{id}monthlyCap (credits, or null for none), off (true or false)
GET /v1/my-tools/{id}/usageThis month's credits and the last 50 calls
POST /v1/my-tools/{id}/callRun one kit call as you: method and args

A call runs only when the tool is added, on, allowed to do that, and under its monthly limit. Inside Eden, a tool makes the same calls with the eden.* kit:

const found = await eden.social.search({ query: "morning routine", limit: 10 });
const answer = await eden.ai.write({ prompt: "Score this hook: ...", maxWords: 200 });
await eden.data.set("history", [{ hook: "...", score: 7 }]);
Kit callNeedsCredits
social.search, social.readPost, social.creatorssocial0.1
ai.writeai1
boards.list, boards.read, boards.searchboards_readFree
boards.saveNoteboards_writeFree
strategy.readstrategyFree
data.get, data.set, data.list, data.deletedataFree
db.tables, db.list, db.getdataFree
db.add, db.update, db.deletedataFree

Nothing in the kit can post, email, schedule, or publish.

Eden's look and building blocks

Every tool page gets Eden's look and a few trusted parts, built in. Nothing loads from the internet: the window still can't reach anything but Eden. Use the e- classes and the tool looks like the rest of Eden in light and dark, and follows the person's theme as it changes.

<main class="e-page">
  <header class="e-header">
    <div>
      <h1 class="e-title">Content planner</h1>
      <p class="e-sub">Plan the week.</p>
    </div>
  </header>
  <div class="e-card">
    <span class="e-tile" data-color="blue"><span data-icon="calendar"></span></span>
    <select>
      <option>X</option>
      <option>LinkedIn</option>
    </select>
    <button class="e-btn e-btn-primary">Save</button>
  </div>
</main>
PartWhat you get
Layoute-page, e-header, e-title, e-sub, e-section, e-heading, e-grid-2, e-grid-4
Cardse-card (Eden's raised card), e-card-row, e-action (like Home's cards)
Color tilese-tile with data-color (green, blue, purple, orange, amber, red, pink, gray, indigo, teal)
Buttonse-btn with e-btn-primary, e-btn-secondary, e-btn-ghost, e-btn-icon, e-btn-sm
InputsPlain inputs and textareas look right on their own; e-field and e-label for a label
Chat inpute-composer with a textarea, e-composer-bar, and an e-send button
DropdownsEvery <select> becomes Eden's dropdown on its own (data-native keeps a plain one)
Choicese-choices and e-choice cards with a radio inside
Small partse-tabs, e-chip, e-tag, e-badge, e-note, e-switch, e-row, e-empty, e-skeleton
Icons<span data-icon="search"></span> or eden.ui.icon("search") (Eden's icon set)

And four parts in code:

eden.ui.menu(button, [
  { label: "Edit", icon: "pencil", onSelect: edit },
  { separator: true },
  { label: "Delete", icon: "trash", danger: true, onSelect: remove },
]);
eden.ui.toast("Saved", { tone: "success" });

// Drag to reorder, or between lists in one group (a kanban board).
eden.dnd.sortable(listEl, {
  group: "board",
  handle: ".e-grip",
  onEnd: (e) => save(e.item, e.to, e.newIndex),
});

// Charts in Eden's colors.
eden.chart.bar(el, {
  labels: ["Mon", "Tue"],
  series: [{ name: "Views", values: [120, 340] }],
  format: "compact",
});
eden.chart.line(el, { labels, values });
eden.chart.donut(el, { labels, values });

// Dates, and a month calendar where posts can be dragged to another day.
eden.dates.format("2026-11-24", "weekday"); // "Tue, Nov 24"
eden.dates.calendar(el, { events, onEventMove: (event, day) => move(event.id, day) });

Tool tables

A tool that keeps lots of things (newsletters and their issues, cards on a planner) declares small tables, and Eden checks every row against them. Fields can be text, number, boolean, date, list, object, or ref (the id of a row in another table). A row with a field the table doesn't have is refused, so a typo shows up right away.

const issues = eden.db.table("issues");
const issue = await issues.add({ newsletter: letterId, title: "Week 12", status: "draft" });
const { rows, cursor } = await issues.list({ where: { status: "draft" }, orderBy: "position" });
await issues.update(issue.id, { status: "sent" }, issue.version);
await issues.delete(issue.id);

Every row comes back with id, version, createdAt, updatedAt, and its fields in data. Send the version you read with an update or delete and Eden refuses it (409) if someone changed the row since. Setting a field to null clears it. Lists go newest first, or by a field the table lets you sort by, 50 rows at a time (100 at most). Pass the cursor you got back for the next page.

The same calls with your key:

CallWhat it does
GET /v1/my-tools/{id}/tables?workspaceId=The tool's tables and how much room it has used
GET /v1/my-tools/{id}/tables/{table}/rowsList. where (JSON), orderBy, direction, limit, cursor
GET /v1/my-tools/{id}/tables/{table}/rows/{row}One row
POST /v1/my-tools/{id}/tables/{table}/rowsAdd. Body: workspaceId, data
PATCH /v1/my-tools/{id}/tables/{table}/rows/{row}Change some fields. Body: workspaceId, changes, version
DELETE /v1/my-tools/{id}/tables/{table}/rows/{row}Delete. version is optional

A row is seen only by the person who saved it, unless the table is shared with the workspace. Each tool has room for 10,000 rows and 50 MB per workspace, and one row can be 256 KB.

Make your own tool

A tool you make is a few plain files, with no build step. Eden runs them in the same sealed window as its own tools, with the look kit and building blocks above already loaded.

FileWhat it holds
index.htmlThe page's markup. Link style.css and <script type="module" src="app.js">
style.cssAnything the look kit doesn't cover
app.jsThe code, as a JavaScript module. More modules can sit beside it (./lib/x.js)
tool.jsonname, description, color, icon (from the icon list), and its tables

Lower case names ending in .html, .css, .js, .json, or .md, at most two folders deep. Up to 24 files, 200 KB each and 600 KB in all. The window can't reach the internet, so fetch and links to other sites are blocked; use the kit.

Eden reads what the tool does from its code (each eden.social, eden.ai, eden.boards, eden.strategy, eden.data, or eden.db it uses) and asks you to allow exactly that. If a new version uses something more, the tool asks again before it runs.

// Start a tool with its files, then send new files whenever you change them.
const { tool } = await post("/v1/my-tools/made", { workspaceId, files });
await put(`/v1/my-tools/made/${tool.id}/files`, { workspaceId, files, note: "Add a week view" });
CallWhat it does
POST /v1/my-tools/madeStart a tool. Body: workspaceId, optional name and files
GET /v1/my-tools/made/{id}?workspaceId=Its files, its versions, and the builder chat
PUT /v1/my-tools/made/{id}/filesSave new files as the next version. Body: files, note
GET /v1/my-tools/made/{id}/versions/{n}One version's files
POST /v1/my-tools/made/{id}/versions/{n}/restoreGo back to version n (saved as the newest)
PATCH /v1/my-tools/made/{id}name, description
DELETE /v1/my-tools/made/{id}Delete it, every version, and everything it saved
POST /v1/my-tools/made/{id}/buildAsk Eden's AI for a change. Body: message. 2 credits
POST /v1/my-tools/{id}/installAllow what it uses. Body: scopes

build answers as a stream of JSON lines while Eden works (status, text), ending with done (the new files and version) or error. Your tools show in GET /v1/my-tools with kind: "made". They're private to you in that workspace, and new ones start with a 20 credit monthly limit.