Skip to main content

Overview

These MCP tools let an AI agent work with a customer’s Docs & Media library: list files, upload and download them, create folders, and save text as a new document. There are two ways to connect: Both are served from mcp.knotie-ai.pro, or from your own domain if you’ve set up a custom MCP domain. The customer must have Docs & Media turned on, and uploads count toward their storage limit.

Customer MCP tools

Voice agents assigned to a customer can use these tools automatically. Other apps need a customer MCP token that includes media access.

MEDIA_LIST_ASSETS

Lists the customer’s files. Documents are returned with downloadable: true and no public link. Free to use.

MEDIA_REQUEST_UPLOAD_URL

Gets a short-lived link to upload a file to. Returns { uploadUrl, assetId, expiresIn }. Upload the file to uploadUrl with an HTTP PUT, then call MEDIA_CONFIRM_UPLOAD with the assetId. Free to use.

MEDIA_CONFIRM_UPLOAD

Confirms the upload finished and adds the file to the library. Returns the saved file. Charged like an upload made in the portal.

MEDIA_GET_DOWNLOAD_URL

Gets a short-lived link to download a document. Returns { downloadUrl, expiresIn }. Free to use.

MEDIA_CREATE_FOLDER

Creates a folder. Returns the new folder, including its id. Folders can be up to 10 levels deep. Free to use.

MEDIA_LIST_FOLDERS

Lists folders. Returns each folder’s id, name, parentId, and childCount. Free to use.

MEDIA_SAVE_TEXT

Saves text, such as a call summary or notes, as a new document. Returns the new document. Charged like an upload made in the portal.

Partner MCP tools

Partner MCP tools act on one of your customers. Pass the customer’s customerId with every call; requests for customers outside your account are refused.

Scopes

Add a scope when you create or edit a key in Settings → Partner API Keys.
A key with full access (*) also has media access. If a tool shouldn’t be able to read customer documents, give it a key with narrower scopes.

Tool reference

Connect from Claude Code

Replace <partner_api_key> with a key that has the media:write scope. If you use a custom MCP domain, use it in place of mcp.knotie-ai.pro.

Example: save a call summary

At the end of a call, a voice agent can save a summary to the customer’s library:
The document appears in the customer’s My Docs & Media straight away.