SmartPDF
Конвертация, сжатие, объединение, OCR, подпись и защита PDF-файлов
Добавьте сервер в «Мои MCP» — получите адрес подключения для Claude и ChatGPT.
Добавить в «Мои MCP»Нужно войти или зарегистрироваться — вернём на эту страницу.
Описание
SmartPDF — сервис обработки PDF-документов. Сервер позволяет поручить ассистенту типовые операции с файлами, доступными по публичной ссылке. Можно конвертировать PDF в Word, Excel, PowerPoint, JPG и текст и обратно — Word, Excel, PowerPoint, HTML и изображения в PDF. Есть сжатие, объединение и разделение файлов, поворот, удаление, извлечение и перестановка страниц, нумерация страниц и водяные знаки. Также доступны распознавание текста в сканах, визуальная подпись, установка и снятие пароля и «сглаживание» форм и аннотаций. Обработка платная: стоимость списывается с баланса аккаунта SmartPDF в рублях, нужен свой аккаунт и ключ.
Инструменты · 25
из ответа tools/list
add_page_numbers
add_page_numbers
Добавляет номера страниц в PDF. file_url: публичный URL PDF-файла. position: bottom-center | bottom-right | top-center | top-right. start_from: стартовый номер (по умолчанию 1). prefix: текст перед номером, например "Стр. " или "— ". font_size: размер шрифта 6–72 (по умолчанию 12).
add_page_numbers(prefix?: string, file_url: string, position?: string, font_size?: integer, start_from?: integer)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"prefix": {
"type": "string",
"default": ""
},
"file_url": {
"type": "string"
},
"position": {
"type": "string",
"default": "bottom-center"
},
"font_size": {
"type": "integer",
"default": 12
},
"start_from": {
"type": "integer",
"default": 1
}
},
"additionalProperties": false
}
compress_pdf
compress_pdf
Сжимает PDF-файл. file_url: публичный URL PDF-файла. level: low | medium (по умолчанию) | high.
compress_pdf(level?: string, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"level": {
"type": "string",
"default": "medium"
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
delete_pages
delete_pages
Удаляет указанные страницы из PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц для удаления (1-based).
delete_pages(pages: array, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"pages"
],
"properties": {
"pages": {
"type": "array",
"items": {
"type": "integer"
}
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
extract_pages
extract_pages
Извлекает выбранные страницы в новый PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц (1-based), порядок сохраняется.
extract_pages(pages: array, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"pages"
],
"properties": {
"pages": {
"type": "array",
"items": {
"type": "integer"
}
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
flatten_pdf
flatten_pdf
Сглаживает PDF (flatten): впечатывает поля форм и аннотации в страницы. Результат нельзя редактировать — идеально для госорганов и печати. file_url: публичный URL PDF-файла.
flatten_pdf(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
get_balance
get_balance
Возвращает баланс API аккаунта (общий для всех ключей и MCP), в рублях. balance: остаток, ₽; spent_month: потрачено в этом месяце, ₽; request_price: цена запроса за каждые начатые request_unit_mb МБ входа (файл до 10 МБ — один запрос); included_remaining: сколько обычных запросов в текущем месяце тарифа ещё входит в тариф Бизнес (месяц — от даты покупки, обновятся в included_resets_at; расходуются раньше баланса; у других тарифов 0).
get_balance()
// inputSchema
{
"type": "object",
"properties": {},
"additionalProperties": false
}
html_to_pdf
html_to_pdf
Конвертирует HTML-файл в PDF. file_url: публичный URL HTML-файла. page_size: A4 (по умолчанию) | A3 | Letter. orientation: portrait (по умолчанию) | landscape.
html_to_pdf(file_url: string, page_size?: string, orientation?: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
},
"page_size": {
"type": "string",
"default": "A4"
},
"orientation": {
"type": "string",
"default": "portrait"
}
},
"additionalProperties": false
}
jpg_to_pdf
jpg_to_pdf
Конвертирует изображения (JPEG, PNG) в PDF. Каждое изображение — страница. file_urls: список публичных URL изображений.
jpg_to_pdf(file_urls: array)
// inputSchema
{
"type": "object",
"required": [
"file_urls"
],
"properties": {
"file_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
merge_pdfs
merge_pdfs
Объединяет несколько PDF в один. Порядок файлов = порядок страниц. file_urls: список публичных URL PDF-файлов (минимум 2).
merge_pdfs(file_urls: array)
// inputSchema
{
"type": "object",
"required": [
"file_urls"
],
"properties": {
"file_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
ocr_pdf
ocr_pdf
Распознаёт текст в сканированном PDF (OCR). Добавляет невидимый текстовый слой. До 100 страниц за раз (больший файл сначала разделите split_pdf); цена — 1,25 ₽ за каждые 10 страниц. file_url: публичный URL PDF-файла. languages: список языков (например ["rus","eng"]). По умолчанию: русский + английский.
ocr_pdf(file_url: string, languages?: any)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
},
"languages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}
pdf_to_excel
pdf_to_excel
Извлекает таблицы из PDF и сохраняет в Excel (.xlsx). file_url: публичный URL PDF-файла. layout: per-table (по умолчанию) | single-sheet.
pdf_to_excel(layout?: string, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"layout": {
"type": "string",
"default": "per-table"
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
pdf_to_jpg
pdf_to_jpg
Конвертирует страницы PDF в JPEG. Результат — ZIP-архив (page-1.jpg, page-2.jpg...). file_url: публичный URL PDF-файла. dpi: 72 | 150 (по умолчанию) | 300.
pdf_to_jpg(dpi?: integer, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"dpi": {
"type": "integer",
"default": 150
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
pdf_to_pptx
pdf_to_pptx
Конвертирует PDF в PowerPoint (.pptx). Каждая страница — отдельный слайд. file_url: публичный URL PDF-файла.
pdf_to_pptx(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
pdf_to_txt
pdf_to_txt
Извлекает текст из PDF в файл .txt (UTF-8). file_url: публичный URL PDF-файла. mode: text (по умолчанию) | blocks | words. text — простой текст постранично; blocks — текст по абзацам и колонкам; words — каждое слово с координатами.
pdf_to_txt(mode?: string, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"mode": {
"type": "string",
"default": "text"
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
pdf_to_word
pdf_to_word
Конвертирует PDF в редактируемый Word-документ (.docx). file_url: публичный URL PDF-файла.
pdf_to_word(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
pptx_to_pdf
pptx_to_pdf
Конвертирует презентацию PowerPoint (.pptx/.ppt) в PDF. file_url: публичный URL PPTX-файла.
pptx_to_pdf(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
protect_pdf
protect_pdf
Защищает PDF паролем (AES-256). file_url: публичный URL PDF-файла. user_password: пароль для открытия. owner_password: пароль владельца (опционально).
protect_pdf(file_url: string, user_password: string, owner_password?: any)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"user_password"
],
"properties": {
"file_url": {
"type": "string"
},
"user_password": {
"type": "string"
},
"owner_password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}
reorder_pages
reorder_pages
Переупорядочивает страницы PDF. file_url: публичный URL PDF-файла. new_order: новый порядок страниц (1-based). Например [3,1,2] для 3-страничного PDF.
reorder_pages(file_url: string, new_order: array)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"new_order"
],
"properties": {
"file_url": {
"type": "string"
},
"new_order": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"additionalProperties": false
}
rotate_pdf
rotate_pdf
Поворачивает страницы PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц (1-based) или "all" для всех. angle: угол поворота: 90 | 180 | 270.
rotate_pdf(angle?: integer, pages?: any, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"angle": {
"type": "integer",
"default": 90
},
"pages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "string"
}
],
"default": "all"
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
sign_pdf
sign_pdf
Добавляет визуальную текстовую подпись на страницу PDF. file_url: публичный URL PDF-файла. signature_text: текст подписи. page: номер страницы (с 1). x, y: координаты (0.0–1.0). width, height: размер блока (0.0–1.0).
sign_pdf(x?: number, y?: number, page?: integer, width?: number, height?: number, file_url: string, signature_text: string)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"signature_text"
],
"properties": {
"x": {
"type": "number",
"default": 0.1
},
"y": {
"type": "number",
"default": 0.85
},
"page": {
"type": "integer",
"default": 1
},
"width": {
"type": "number",
"default": 0.2
},
"height": {
"type": "number",
"default": 0.05
},
"file_url": {
"type": "string"
},
"signature_text": {
"type": "string"
}
},
"additionalProperties": false
}
split_pdf
split_pdf
Разделяет PDF на части. Результат — ZIP-архив с PDF-файлами. file_url: публичный URL PDF-файла. mode: every-page (по умолчанию) | half | ranges. ranges: диапазоны при mode=ranges, например "1-3,5-7,10".
split_pdf(mode?: string, ranges?: any, file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"mode": {
"type": "string",
"default": "every-page"
},
"ranges": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
unlock_pdf
unlock_pdf
Снимает парольную защиту с PDF. file_url: публичный URL защищённого PDF. password: пароль для снятия защиты.
unlock_pdf(file_url: string, password: string)
// inputSchema
{
"type": "object",
"required": [
"file_url",
"password"
],
"properties": {
"file_url": {
"type": "string"
},
"password": {
"type": "string"
}
},
"additionalProperties": false
}
watermark_pdf
watermark_pdf
Добавляет водяной знак на страницы PDF. file_url: публичный URL PDF-файла. text: текст водяного знака (исключает image_url). image_url: URL PNG-изображения для водяного знака (исключает text). opacity: прозрачность 0.0–1.0 (по умолчанию 0.3). angle: угол поворота текста (по умолчанию 45). position: center | tile | top-left | top-right | bottom-left | bottom-right.
watermark_pdf(text?: any, angle?: number, opacity?: number, file_url: string, position?: string, image_url?: any)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"angle": {
"type": "number",
"default": 45.0
},
"opacity": {
"type": "number",
"default": 0.3
},
"file_url": {
"type": "string"
},
"position": {
"type": "string",
"default": "center"
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}
word_to_pdf
word_to_pdf
Конвертирует Word-документ (.doc/.docx) в PDF. file_url: публичный URL Word-файла.
word_to_pdf(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
xlsx_to_pdf
xlsx_to_pdf
Конвертирует таблицу Excel (.xlsx/.xls) в PDF. file_url: публичный URL XLSX-файла.
xlsx_to_pdf(file_url: string)
// inputSchema
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}
Вопросы, новые серверы, обсуждение MCP
t.me/rusmcp · t.me/RusMcp_bot