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 file
readReads a file of a canvas as numbered lines; a frame's picture comes back as an image of it.
Read-only - List uploads
list_uploadsLists the images or videos kept in an organization or a project, newest first.
Read-only - View a canvas
view_canvasShows an area of a canvas as an image, to see where its frames lie and how they look.
Read-only - Get network limits
get_limitsGives what each network takes: its text, images, video, threads, alt text and options.
Read-only - List social accounts
list_accountsLists an organization's social accounts with their status and followers, and what needs your attention.
Read-only - Get a social account
get_accountGives one social account in full: status, followers, recent numbers, and its boards or company pages.
Read-onlyOpen world - List posts
list_postsLists an organization's posts a page at a time, filtered by status, dates, account, canvas, words or tag.
Read-only - Get the calendar
get_calendarGives an organization's posts day by day, for up to a month, with drafts when asked.
Read-only - Get a post
get_postGives one post in full: its status, time, text and images, and each account's link, error and numbers.
Read-only - List an account's posts
list_account_postsLists one account's posts over a period with their numbers, those published outside Margin too.
Read-only - Get best times to post
get_best_timesGives up to three weekday-and-hour slots when an organization's or an account's posts did best.
Read-only - Check a video
check_videoSays which connected accounts would take a video, in which form, and why the others would refuse it.
Read-onlyOpen world
Write
- Run a folder command
bashRuns 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 frame
write_htmlWrites 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 video
uploadBrings 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 images
render_framesDraws your own frames as images, kept as uploads ready for a post. It generates nothing.
- Finish work on a canvas
finish_workTells the people on a canvas that your assistant has finished there, so it no longer shows as at work.
- Reply to a comment
reply_commentAnswers a comment or a prompt on a canvas under your assistant's name; people read it at once.
- Resolve a comment
resolve_commentMarks a comment or a prompt on a canvas as resolved, once what it asked is done.
- Create a project
create_projectMakes a new, empty project in an organization.
- Create a canvas
create_canvasMakes a new, empty canvas in a project, with its page in the app.
- Rename a canvas
rename_canvasGives a canvas another name; its folder takes the new name.
Destructive - Move a canvas
move_canvasMoves a canvas to another project of the same organization.
Destructive - Archive a canvas
archive_canvasArchives a canvas: it leaves the app's lists with its files kept, and restore_canvas brings it back.
Destructive - Restore a canvas
restore_canvasBrings an archived canvas back to its project.
- Tag posts
tag_postsSets the tags of up to 100 posts at once, so numbers can be grouped by them; nothing is sent anywhere.
Destructive - Link a published post
link_postBrings a post published straight on a network into Margin by its link, with its numbers; nothing changes there.
- Connect an account
connect_accountMakes a link you open to connect or reconnect a social account; your assistant never sees a password.
Sensitive write
- Create a post
create_postMakes a post: a draft, scheduled, or published now once you've seen what each account gets and said yes.
DestructiveOpen world - Create several posts
create_postsMakes many scheduled posts or drafts in one call, never for now; a dry run can show them to you first.
DestructiveOpen world - Edit a post
edit_postChanges a draft or a scheduled post; a draft given a time is scheduled, or published now after your yes.
DestructiveOpen world - Cancel a post
cancel_postCancels a scheduled post, or stops the accounts still waiting on one going out; what went out stays.
DestructiveOpen world - Retry a post
retry_postSends a post again, now, to one account it failed on.
DestructiveOpen world - Delete a post
delete_postDeletes a post: a draft for good; a published one comes off every network that lets apps delete posts.
DestructiveOpen world - Disconnect an account
disconnect_accountDisconnects 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.