Aspose Cloud API

Aspose.PDF Cloud MCP Server

Cloud APIPDF Izlaidums v1.1.4

Merge PDF documents, convert PDF to Word and read document properties through Aspose.PDF Cloud's REST API, from any MCP-compatible AI client.

Iestatīšana

Instalēt Aspose.PDF Cloud

Jums vajag Python 3.11 vai jaunāku. Instalējiet serveri virtuālajā vidē; pirmais pakotne ir kopīgā failu-rīku bibliotēka, no kuras atkarīgi visi Aspose Cloud MCP serveri.

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

Tas ieliek aspose-pdf-mcp komandu virtuālajā vidē.

Konfigurējiet Aspose.PDF Cloud savā AI klientā

Izveidojiet lietojumprogrammu savā Aspose Cloud informācijas panelī, lai iegūtu Klienta ID un Klienta noslēpumu (pieejama bezmaksas izvērtējuma pakāpe). Serveris tos lasa no savas vides, kad tiek startēts; tie nekad netiek nodoti kā rīka arguments. `ASPOSE_FILES_PATH` ir mape jūsu datorā, no kuras serveris var lasīt failus un rakstīt rezultātus.

{
  "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"
Izmēģināt

Piemēru uzvedņi

  • 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.
Atsauce

Pieejami rīki (3)

Katrs rīks, ko šis serveris piedāvā, tieši no savas rīku manifestācijas.

RīksAprakstsParametri
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. Tikai lasīšanai filename: str (nepieciešams), folder_name: str | None, storage_name: str | None, output_filename: str | None, return_base64: bool
uzvednis: konvertēt invoice.pdf uz Word dokumentu, izmantojot aspose pdf cloud mcp
uzvednis: konvertēt scan.pdf uz docx un saglabāt kā scan-editable.docx, izmantojot aspose pdf cloud mcp
uzvednis: konvertēt invoice.pdf no invoices mapes mana MyStorage glabāšanā uz Word un atgriezt kā base64 tekstu, izmantojot 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. Testa režīms filename: str (nepieciešams), merge_request: dict[str, Any] (nepieciešams), storage_name: str | None, folder_name: str | None, dry_run: bool
uzvednis: apvienot part1.pdf, part2.pdf un part3.pdf kā full-report.pdf, izmantojot aspose pdf cloud mcp
uzvednis: apvienot jan.pdf un feb.pdf no reports mapes mana MyStorage glabāšanā kā q1.pdf, izmantojot aspose pdf cloud mcp
uzvednis: veikt testa izpildi, apvienojot cover.pdf un body.pdf kā book.pdf, izmantojot aspose pdf cloud mcp
pdf_get_document_properties Retrieves the metadata properties of a specified PDF document from Aspose Cloud storage. Tikai lasīšanai filename: str (nepieciešams), folder_name: str | None, storage_name: str | None
uzvednis: parādīt autoru, nosaukumu un izveides datumu brochure.pdf, izmantojot aspose pdf cloud mcp
uzvednis: parādīt brochure.pdf īpašības no marketing mapes mana MyStorage glabāšanā, izmantojot aspose pdf cloud mcp

Katrs serveris arī ietver četrus kopīgus failu rīkus (augšupielāde, lejupielāde, saraksts un dzēšana), tāpēc viens serveris pietiek pilnīgai augšupielādes, apstrādes un lejupielādes darbplūsmmai.