The Send MCP connector routes your AI agent's tool calls to Send's own MCP server through Scalekit. Each user signs in to Send once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 12 tools.
- Tools
- 12
- What they doRead · write · destructive
- 5 · 4 · 35 read4 write3 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
What you can do
- Create shareable pages: generate HTML sites and documents that can be shared by link
- Edit existing pages: fetch a site or document and change its content, wording, or styling
- Manage page settings: read and change the settings of sites and documents the user owns
- Upload and manage images: upload images and browse or fetch them from the workspace gallery
- Manage skills: create, update, delete, pin, and search reusable skills and templates for the workspace
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Send MCP connection
In AgentKit > Connections, create a Send MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for Send MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'sendmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Send MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'sendmcp_get_image_gallery',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "sendmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Send MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="sendmcp_get_image_gallery",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolsendmcp_get_image_galleryReturns all workspace images with proxy URLs for display in the gallery UI.Read-onlyGet Image Gallery
Returns all workspace images with proxy URLs for display in the gallery UI. Each item includes an optional description for model context (not shown in the UI). No parameters required.
Inputs
This tool takes no inputs.
sendmcp_get_skillsFetches skills by ID, lists available skills, or semantically searches them.Read-onlyLoading skills...
Fetches skills by ID, lists available skills, or semantically searches them. Skills were previously called 'guidelines', and users may also say 'template' — when the user mentions making, editing, searching, or using a Send skill, guideline, or template, they mean these. Skills shape how sites are created — brand systems, layout patterns, doc-type playbooks. Workspace skills (created by this team) outrank Send skills (official, send/* ids) when both fit. With id: returns the skill including its full content — pass an array of ids to load several in one call. With query: semantic search — describe what the user is making and get the best-matching skills grouped by source with similarity scores. Neither: returns a list of all available skills (name and description only), workspace skills first.
Inputs
idstring- ID of the skill to load, or an array of IDs to load several at once. Returns full content.
querystring- Natural-language description of what the user is making. Returns the best-matching skills ranked by similarity. Ignored when id is provided.
sendmcp_getsiteFetch an existing Send site or document by share URL or share ID.Read-onlyFetching site...
Fetch an existing Send site or document by share URL or share ID. Returns the full HTML source and metadata; the response includes shareId for EditSite or CreateSite (copy mode).
Inputs
shareIdOrUrlstringrequired- The document's share ID (8-char alphanumeric string), slug (e.g. 'my-proposal-RaU0Kud4'), or full URL (e.g. 'https://send.co/a/RaU0Kud4').
sendmcp_showcontentEmbeds Send-managed content inline in the chat.Read-onlyShow Content
Embeds Send-managed content inline in the chat. Pass type 'doc' with the shareId to render a published HTML document inline so the user can view it. Call this after CreateDocument or EditDocument when the user should see the result. Requires the user to be signed in to Send.
Inputs
idstringrequired- The Send share ID (8-char alphanumeric string) or full /a/ URL of the document to display. Returned by CreateDocument. Example: 'RaU0Kud4' or 'https://send.co/a/RaU0Kud4'.
typestringrequired- Component type to embed. Only 'doc' is currently supported — renders a published Send HTML document inline in the chat.one of
doc
sendmcp_submit_feedbackSends feedback about Send itself to the team that builds it.Read-onlySending feedback...
Sends feedback about Send itself to the team that builds it. Call it when the session produces something the team would genuinely want to know: the user explicitly asks to send feedback or report a problem, aims praise or frustration at Send, Send can't do something the user wants and it matters to them, or you form a strong opinion worth volunteering. Most sessions produce none — ordinary friction is not signal. When you do call it, context is the entire value: what the user was making, what they expected, and what happened instead. Not for feedback about Claude, or about anything that isn't Send. Only include detail the user is ok with sharing as feedback.
Inputs
feedbackstringrequired- What the Send team should know. Be specific: what broke, what confused, or what worked well.
sentimentstringrequired- Whether this is praise, a problem, or both. Praise is signal too — send it.one of
positivenegativemixed areastring- Which part of Send this is about, if it's clear.one of
creatingeditingskillsimagessharingviewingother contextstring- What was being made and what was expected. The concrete details are what make this actionable.
shareIdstring- Optional. Share ID of the site involved, if any — a new user may not have one, and that's fine.
sendmcp_complete_uploadConfirms a direct-to-storage upload completed successfully.WriteComplete Upload
Confirms a direct-to-storage upload completed successfully. Call this after uploading to the presigned URL returned by create_presigned_upload. Returns the registered file ID that can be referenced in documents as <img src="asset:{fileId}">. This is step two of the two-step image upload flow.
Inputs
bucketstringrequired- The storage bucket used for the upload. Returned as part of the presigned upload response from create_presigned_upload.
filenamestringrequired- The original filename of the uploaded file. Must match what was passed to create_presigned_upload. Example: 'hero-image.png'.
keystringrequired- The storage key (path) used for the upload. Returned as part of the presigned upload response from create_presigned_upload.
mime_typestringrequired- The MIME type of the uploaded file. Must match what was passed to create_presigned_upload. Example: 'image/png'.
sizenumberrequired- The final file size in bytes after the upload completed.
heightinteger- Image height in pixels. Provide when the uploaded file is an image. Pass null for non-image files.
widthinteger- Image width in pixels. Provide when the uploaded file is an image. Pass null for non-image files.
sendmcp_create_presigned_uploadCreates a presigned upload target URL so files can be uploaded directly to storage.WriteCreate Presigned Upload
Creates a presigned upload target URL so files can be uploaded directly to storage. This is step one of the two-step image upload flow. Call this first to get the presigned URL, upload the file directly to that URL, then call complete_upload to confirm the upload and register the file.
Inputs
filenamestringrequired- The original filename of the file to upload. Example: 'hero-image.png'.
mime_typestringrequired- The MIME type of the file. Example: 'image/png', 'image/jpeg', 'image/webp'.
sendmcp_createsiteCreates a Send site or document — a shareable HTML page.WriteDeveloping site...
Creates a Send site or document — a shareable HTML page. Making one takes two calls. First call — intent only. One line on what the user is making and why. Nothing is created. Returns any skills this workspace expects you to follow — brand rules, layouts, tone — and an intentId. Second call — html plus that intentId. See the html field for format requirements. To copy an existing site instead of writing one, pass sourceShareId (share ID or URL) with no html.
Inputs
htmlstring- The complete, self-contained HTML document to publish. Return ONLY raw HTML. No markdown, no code fences, no explanation. Single file: <body> then <style> then <script>. Start with <!DOCTYPE html>, then <html>, <head>, <body>. Zero external dependencies — pure CSS and vanilla JS only. Wrap each section in <section></section>. Fully responsive, mobile-first. Every interactive element must work. Reference images as <img src="asset:{fileId}"> — do not base64-encode. Every <a href> link: use target="_blank" rel="noopener noreferrer". For icons, use <i data-lucide="name"></i>.
intentstring- One line on what the user is making. ALWAYS send it alone first — no html. Returns any matching skills + an intentId.
intentIdstring- ALWAYS pass this back unchanged on the second call. Returned by the first; links the request to what got made.
sourceShareIdstring- The share ID or URL of an existing document to copy. When provided, the new document starts as an exact copy of the source — do not pass html.
titlestring- Title of the document. Something short and simple that describes the document.
sendmcp_manage_imagesUnified image management tool.WriteManage Images
Unified image management tool. Controls what the user sees (upload area, image gallery) and what image data is fetched. Pass ids to fetch specific images by ID; omit ids to fetch all recent images; pass an empty array [] to skip fetching (UI-only mode). Use showUpload to display a drag-and-drop upload area. Use showGallery to control gallery visibility.
Inputs
idsarray- Which images to fetch. Omit to fetch all recent images. Pass specific IDs to fetch only those images. Pass an empty array [] to skip fetching entirely (UI-only mode).
showGalleryboolean- Show the image gallery. Defaults to true when fetching images (ids is omitted or has values), false when ids is an empty array [].
showUploadboolean- Show the drag-and-drop upload area for the user to upload new images. Default is false.
sendmcp_editsiteModifies a Send site or document the user previously created or shared with Send.DestructiveEditing site...
Modifies a Send site or document the user previously created or shared with Send. Use whenever the user asks to change, tweak, fix, reword, restyle, add to, or remove anything from an existing site or document — even when they don't name Send or say the word 'edit'. Edits via deterministic string replacement. Requires at least one entry in edits — instruction alone does nothing. If you don't already have the site's current bytes, call GetSite first. Edits apply sequentially against an in-memory copy; if any edit fails, none are persisted. As a last resort after repeated edit failures, fullHtml replaces the whole site while keeping the same share URL — prefer it over recreating with CreateSite, which forks a new share URL.
Inputs
shareIdOrUrlstringrequired- The site's share ID (8-character alphanumeric string) or full URL. Returned by CreateSite or GetSite.
codeEditstring- Optional raw code edit string.
editsarray- Edits to apply, in order. Each subsequent edit sees the result of the prior. Atomic: if any edit fails, none are persisted. Each object must include old_string (exact text to replace, with enough surrounding context to be unique, byte-for-byte) and new_string (replacement text, or empty string to delete). Optionally set replace_all to true to replace every occurrence.
fullHtmlstring- Last resort. Replaces the entire document with this HTML while keeping the same share URL. Only use after edits has failed repeatedly and you cannot construct a matching old_string — prefer targeted edits; regenerating a document from memory can silently drop content. Do not pass together with edits.
instructionstring- Optional brief description of the intended change. Recorded for analytics only — does NOT perform the edit on its own. You must still pass edits.
sendmcp_manage_sitesRead or change the settings of an existing site or document made with Send that the user owns, given its share id or URL.DestructiveManaging site...
Read or change the settings of an existing site or document made with Send that the user owns, given its share id or URL. Actions: 'documentation' returns the current contract — every supported setting, usage guidance, and a token required for updates; 'get' returns the site's current settings; 'update' applies the settings passed in changes. Call action 'documentation' for a site before your first update to it in a conversation, and include the returned token in update calls. The set of supported settings is defined by the documentation, not by this description.
Inputs
actionstringrequired- What to do. Start with 'documentation' before the first update to a site in a conversation.one of
getupdatedocumentation idstringrequired- Send share id (8-char alphanumeric) or full /a/ URL of the site or document.
changesobject- For 'update': the settings to change, as described by the documentation action. Pass only the keys you want to change.
docsTokenstring- For 'update': the token returned by the documentation action for this site.
sendmcp_manage_skillCreate, update, delete, or pin a user-defined skill for this workspace.DestructiveManaging skill...
Create, update, delete, or pin a user-defined skill for this workspace. Skills were previously called 'guidelines', and users may also say 'template' — a user asking to create, edit, delete, or pin a guideline or template means this tool. Call this only when the user explicitly asks for it — not during document creation. create: provide name, description, and content. update: provide id and any fields to change. delete: provide id. pin/unpin: provide id — a pinned skill is returned for every site this workspace makes, not only the ones a search matches; limited to workspace owners and admins.
Inputs
actionstringrequired- Action to perform. Only call this tool when the user has explicitly asked to create, edit, delete, or pin a skill — never as part of creating or editing a document.one of
createupdatedeletepinunpin contentstring- Full skill content — instructions, code samples, asset refs, example doc URLs.
descriptionstring- Short description of the skill's purpose
idstring- Skill ID (required for update and delete).
namestring- Skill name (required for create).
No tools match.