Margin's MCP tools

Connected to Margin, your AI assistant gets these tools. Each says what it does and its class: a read changes nothing, a write changes something in Margin, and a sensitive write reaches your social accounts. The list comes from the server's own code, so it matches what your assistant is given.

01 · The classes

What your assistant asks first.

Read

Changes nothing, in Margin or on your social accounts.

Your assistant may ask before each use, until you let it always run.

Write

Changes something in Margin, such as a design, a canvas or a comment. Nothing goes to your social accounts.

Your assistant may ask before each use, until you let it always run.

Sensitive write

Publishes or schedules on your social accounts, stops what would go out, takes back what went out, or disconnects an account.

Assistants that tell these apart ask you every time.

Publishing a post right away always takes a second yes. The first call sends nothing: it answers with exactly what each account would get, for your assistant to show you. Only after your yes does a second call send it, once. retry_post is the one tool that sends at once: it sends again, to one account, a post that was already due to go out and failed there.

02 · The tools

Everything it can do.

The labels are the hints the server sends with each tool. Read-only: it changes nothing. Destructive: it can delete, overwrite, cancel, revoke or send what can't be taken back, even where Margin could undo it. Open world: it reaches outside Margin, to a social network or a link it's given.

Read

  • Read a canvas fileread

    Reads a file of a canvas as numbered lines; a frame's picture comes back as an image of it.

    Read-only
  • List uploadslist_uploads

    Lists the images or videos kept in an organization or a project, newest first.

    Read-only
  • View a canvasview_canvas

    Shows an area of a canvas as an image, to see where its frames lie and how they look.

    Read-only
  • Read the social guideget_social_guide

    Reads Margin's guide to making posts: how the tools fit together and what each connected network takes.

    Read-only
  • Get network limitsget_limits

    Gives what each network takes: its text, images, video, threads, alt text and options.

    Read-only
  • List social accountslist_accounts

    Lists an organization's social accounts with their status and followers, and what needs your attention.

    Read-only
  • Get a social accountget_account

    Gives one social account in full: status, followers, recent numbers, and its boards or company pages.

    Read-onlyOpen world
  • List postslist_posts

    Lists an organization's posts a page at a time, filtered by status, dates, account, canvas, words or tag.

    Read-only
  • Get the calendarget_calendar

    Gives an organization's posts day by day, for up to a month, with drafts when asked.

    Read-only
  • Get a postget_post

    Gives one post in full: its status, time, text and images, and each account's link, error and numbers.

    Read-only
  • Get social numbersget_social_stats

    Gives an organization's numbers over a period: followers, engagement and best posts, by tag and by format.

    Read-only
  • List an account's postslist_account_posts

    Lists one account's posts over a period with their numbers, those published outside Margin too.

    Read-only
  • Get best times to postget_best_times

    Gives up to three weekday-and-hour slots when an organization's or an account's posts did best.

    Read-only
  • Check a videocheck_video

    Says which connected accounts would take a video, in which form, and why the others would refuse it.

    Read-onlyOpen world

Write

  • Run a folder commandbash

    Runs a command on your canvas folders, such as ls, find, grep or cat to read them, or cp, mv, rm or sed -i to change files.

    Destructive
  • Write a framewrite_html

    Writes a frame, a loose element or a set of frames, whole or one part; people on the canvas see it at once.

    Destructive
  • Upload images or videoupload

    Brings images and finished videos into Margin from links or files, and can delete uploads no frame or post outside the Archive uses.

    DestructiveOpen world
  • Render frames as imagesrender_frames

    Draws your own frames as images, kept as uploads ready for a post. It generates nothing.

  • Finish work on a canvasfinish_work

    Tells the people on a canvas that your assistant has finished there, so it no longer shows as at work.

  • Reply to a commentreply_comment

    Answers a comment or a prompt on a canvas under your assistant's name; people read it at once.

  • Resolve a commentresolve_comment

    Marks a comment or a prompt on a canvas as resolved, once what it asked is done.

  • Create a projectcreate_project

    Makes a new, empty project in an organization.

  • Create a canvascreate_canvas

    Makes a new, empty canvas in a project, with its page in the app.

  • Rename a canvasrename_canvas

    Gives a canvas another name; its folder takes the new name.

    Destructive
  • Move a canvasmove_canvas

    Moves a canvas to another project of the same organization.

    Destructive
  • Archive a canvasarchive_canvas

    Archives a canvas: it leaves the app's lists with its files kept, and restore_canvas brings it back.

    Destructive
  • Restore a canvasrestore_canvas

    Brings an archived canvas back to its project.

  • Tag poststag_posts

    Sets the tags of up to 100 posts at once, so numbers can be grouped by them; nothing is sent anywhere.

    Destructive
  • Link a published postlink_post

    Brings a post published straight on a network into Margin by its link, with its numbers; nothing changes there.

  • Connect an accountconnect_account

    Makes a link you open to connect or reconnect a social account; your assistant never sees a password.

  • Set posting rulesset_social_rules

    Replaces an organization's posting rules, which every post made or changed is checked against.

    Destructive

Sensitive write

  • Create a postcreate_post

    Makes a post: a draft, scheduled, or published now once you've seen what each account gets and said yes.

    DestructiveOpen world
  • Create several postscreate_posts

    Makes many scheduled posts or drafts in one call, never for now; a dry run can show them to you first.

    DestructiveOpen world
  • Edit a postedit_post

    Changes a draft or a scheduled post; a draft given a time is scheduled, or published now after your yes.

    DestructiveOpen world
  • Cancel a postcancel_post

    Cancels a scheduled post, or stops the accounts still waiting on one going out; what went out stays.

    DestructiveOpen world
  • Retry a postretry_post

    Sends a post again, now, to one account it failed on.

    DestructiveOpen world
  • Delete a postdelete_post

    Deletes a post: a draft for good; a published one comes off every network that lets apps delete posts.

    DestructiveOpen world
  • Disconnect an accountdisconnect_account

    Disconnects a social account: posts stop going to it and its scheduled posts fail there.

    DestructiveOpen world

get_post_status: called only by the post card a chat shows, never by your assistant.