Aspose.PDF Cloud MCP Server
Merge PDF documents, convert PDF to Word and read document properties through Aspose.PDF Cloud's REST API, from any MCP-compatible AI client.
Aspose.PDF Cloud kur
Python 3.11 veya daha yenisine ihtiyacınız var. Sunucuyu sanal ortama kurun; ilk paket, her Aspose Cloud MCP sunucusunun bağımlı olduğu ortak dosya-aracı kütüphanesidir.
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install \ git+https://github.com/aspose-cloud/aspose-storage-cloud-python-mcp.git@v1.0.5 \ git+https://github.com/aspose-cloud/aspose-pdf-cloud-python-mcp.git@v1.1.4
Bu, aspose-pdf-mcp komutunu sanal ortama yerleştirir.
Aspose.PDF Cloud’i AI istemcinizde yapılandırın
Aspose Cloud kontrol panelinizde bir uygulama oluşturup Client ID ve Client Secret alın (ücretsiz deneme katmanı mevcuttur). Sunucu, başlatıldığında bu değerleri ortamından okur; hiçbir zaman araç argümanı olarak geçirilmez. ASPOSE_FILES_PATH, sunucunun dosya okuyup sonuçları yazabileceği bilgisayarınızdaki klasördür.
{
"mcpServers": {
"pdf": {
"command": "C:\\path\\to\\.venv\\Scripts\\aspose-pdf-mcp.exe",
"env": {
"ASPOSE_CLIENT_ID": "your-client-id",
"ASPOSE_CLIENT_SECRET": "your-client-secret",
"ASPOSE_FILES_PATH": "C:\\Users\\you\\Documents\\aspose-files"
}
}
}
}
// macOS / Linux: "command": "/path/to/.venv/bin/aspose-pdf-mcp"{
"servers": {
"pdf": {
"type": "stdio",
"command": "/path/to/.venv/bin/aspose-pdf-mcp",
"env": {
"ASPOSE_CLIENT_ID": "your-client-id",
"ASPOSE_CLIENT_SECRET": "your-client-secret",
"ASPOSE_FILES_PATH": "/home/you/aspose-files"
}
}
}
}// Yukarıdaki VS Code ile aynı JSON yapısı — aracınız için yapılandırma yolunu kullanın: // ~/.cursor/mcp.json · Cline settings · Windsurf mcp_config.json
Örnek istemler
- Upload report.pdf, tell me its title and author, then convert it to Word and download it.
- Merge 4pages.pdf and 5pages.pdf and tell me how many pages the result has.
Mevcut araçlar (3)
Bu sunucunun sunduğu her araç, kendi araç manifestosundan doğrudan gelir.
| Araç | Açıklama | Parametreler |
|---|---|---|
pdf_convert_to_doc |
Converts a PDF file stored in Aspose Cloud storage to a Word document (DOC or DOCX) and returns the converted file content. Salt okunur |
filename: str (gerekli), folder_name: str | None, storage_name: str | None, output_filename: str | None, return_base64: bool
|
| istem: convert invoice.pdf to a Word document using aspose pdf cloud mcp | ||
| istem: convert scan.pdf to docx and save as scan-editable.docx using aspose pdf cloud mcp | ||
| istem: convert invoice.pdf from the invoices folder of my MyStorage storage to Word and return it as base64 text using aspose pdf cloud mcp | ||
pdf_merge_documents |
This tool merges a list of PDF documents into a single PDF file with a specified result name. Deneme çalıştırması |
filename: str (gerekli), merge_request: dict[str, Any] (gerekli), storage_name: str | None, folder_name: str | None, dry_run: bool
|
| istem: merge part1.pdf, part2.pdf and part3.pdf into full-report.pdf using aspose pdf cloud mcp | ||
| istem: merge jan.pdf and feb.pdf from the reports folder of my MyStorage storage into q1.pdf using aspose pdf cloud mcp | ||
| istem: do a dry run of merging cover.pdf and body.pdf into book.pdf using aspose pdf cloud mcp | ||
pdf_get_document_properties |
Retrieves the metadata properties of a specified PDF document from Aspose Cloud storage. Salt okunur |
filename: str (gerekli), folder_name: str | None, storage_name: str | None
|
| istem: show the author, title and creation date of brochure.pdf using aspose pdf cloud mcp | ||
| istem: show the properties of brochure.pdf from the marketing folder of my MyStorage storage using aspose pdf cloud mcp | ||
Her sunucu ayrıca dört ortak dosya aracını (yükleme, indirme, listeleme ve silme) içerir, böylece tek bir sunucu tam bir yükleme, işleme, indirme iş akışı için yeterlidir.