Aspose Cloud API

Aspose.Slides Cloud MCP Server

Cloud APIPresentations PPTXPPTODP รุ่น v1.0.3

Create, convert and split presentations, read slides, text and images, and replace text, through Aspose.Slides Cloud's REST API, from any MCP-compatible AI client.

การตั้งค่า

ติดตั้ง Aspose.Slides Cloud

คุณต้องใช้ Python 3.11 หรือใหม่กว่า ติดตั้งเซิร์ฟเวอร์ใน virtual environment; แพ็กเกจแรกคือไลบรารี file-tool ที่ใช้ร่วมกันซึ่งทุก MCP server ของ Aspose Cloud พึ่งพา.

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-slides-cloud-python-mcp.git@v1.0.3

นี่จะใส่คำสั่ง aspose-slides-mcp เข้าไปใน virtual environment.

กำหนดค่า Aspose.Slides Cloud ในไคลเอนต์ AI ของคุณ

สร้างแอปพลิเคชันบนแผงควบคุม Aspose Cloud ของคุณเพื่อรับ Client ID และ Client Secret (มีระดับการประเมินฟรี). เซิร์ฟเวอร์จะอ่านค่าจาก environment ของมันเมื่อเริ่ม; ค่าต่าง ๆ จะไม่ถูกส่งเป็นอาร์กิวเมนต์ของเครื่องมือ. ASPOSE_FILES_PATH คือโฟลเดอร์บนคอมพิวเตอร์ของคุณที่เซิร์ฟเวอร์สามารถอ่านไฟล์และเขียนผลลัพธ์ได้.

{
  "mcpServers": {
    "slides": {
      "command": "C:\\path\\to\\.venv\\Scripts\\aspose-slides-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-slides-mcp"
ลองใช้

ตัวอย่างพรอมต์

  • List the slides in deck.pptx and extract all of their text.
  • In deck.pptx replace "Q3" with "Q4" everywhere.
  • Split deck.pptx into one image per slide.
เอกสารอ้างอิง

เครื่องมือที่พร้อมใช้ (8)

ทุกเครื่องมือที่เซิร์ฟเวอร์นี้เปิดเผย มาจากไฟล์ manifest ของเครื่องมือนั้นโดยตรง.

เครื่องมือรายละเอียดพารามิเตอร์
slides_create_presentation Creates a new presentation in Aspose Slides, optionally using an uploaded source file as a template and optionally applying a password to the new file. รันแบบจำลอง filename: str (จำเป็น), folder_name: str | None, storage_name: str | None, dry_run: bool
พรอมต์: create a new presentation called quarterly-review.pptx using aspose slides cloud mcp
พรอมต์: create a new presentation called kickoff.pptx in the decks folder of my MyStorage storage using aspose slides cloud mcp
พรอมต์: do a dry run of creating a presentation called demo.pptx using aspose slides cloud mcp
slides_download_presentation The tool retrieves a presentation from Aspose Slides Cloud, converts it to a specified export format, and returns the resulting file as binary data. อ่านได้เท่านั้น filename: str (จำเป็น), target_format: str (จำเป็น), folder_name: str | None, storage_name: str | None, fonts_folder_name: str | None, slide_indices: str | None, output_filename: str | None, return_base64: bool
พรอมต์: download deck.pptx as a pdf using aspose slides cloud mcp
พรอมต์: export only slides 1 and 3 of deck.pptx as pdf and save it as deck-excerpt.pdf using aspose slides cloud mcp
พรอมต์: export deck.pptx from the decks folder as pdf using the fonts in the my-fonts folder, and return it as base64 text, using aspose slides cloud mcp
slides_split_presentation This tool splits a PowerPoint presentation into separate image files, creating one image for each selected slide and uploading the images to cloud storage. รันแบบจำลอง filename: str (จำเป็น), target_format: str | None, width: str | None, height: str | None, from_slide: str | None, to_slide: str | None, destination_folder_name: str | None, storage_name: str | None, folder_name: str | None, fonts_folder_name: str | None, dry_run: bool
พรอมต์: split deck.pptx into one png image per slide using aspose slides cloud mcp
พรอมต์: export slides 2 to 5 of deck.pptx as 1280 by 720 jpeg images into the slide-images folder using aspose slides cloud mcp
พรอมต์: do a dry run of splitting deck.pptx from the decks folder of my MyStorage storage into images using the fonts in the my-fonts folder, using aspose slides cloud mcp
slides_list_images Retrieves metadata for every image that is embedded in a specified PowerPoint presentation stored in Aspose Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None
พรอมต์: list the images embedded in brand-guidelines.pptx using aspose slides cloud mcp
พรอมต์: list the images embedded in brand-guidelines.pptx from the brand folder of my MyStorage storage using aspose slides cloud mcp
slides_get_presentation_properties Retrieves the metadata properties of a PowerPoint presentation file stored in Aspose Slides Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None
พรอมต์: show the properties of deck.pptx using aspose slides cloud mcp
พรอมต์: show the properties of deck.pptx from the decks folder of my MyStorage storage using aspose slides cloud mcp
slides_list_slides Retrieves information about all slides in a specified PowerPoint presentation stored in Aspose Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None
พรอมต์: list all slides in roadmap.pptx using aspose slides cloud mcp
พรอมต์: list all slides in roadmap.pptx from the planning folder of my MyStorage storage using aspose slides cloud mcp
slides_get_text_items Extracts all text items from a specified PowerPoint presentation file. อ่านได้เท่านั้น filename: str (จำเป็น), with_empty: bool | None, folder_name: str | None, storage_name: str | None
พรอมต์: extract all the text from pitch.pptx using aspose slides cloud mcp
พรอมต์: extract all the text from pitch.pptx, including empty text items, using aspose slides cloud mcp
พรอมต์: extract all the text from pitch.pptx in the sales folder of my MyStorage storage using aspose slides cloud mcp
slides_replace_text Replaces every occurrence of a specified text string in a Slides presentation with a new string. รันแบบจำลอง filename: str (จำเป็น), old_value: str (จำเป็น), new_value: str (จำเป็น), ignore_case: bool | None, whole_words_only: bool | None, folder_name: str | None, storage_name: str | None, dry_run: bool
พรอมต์: replace 'Q3' with 'Q4' in deck.pptx using aspose slides cloud mcp
พรอมต์: replace the whole word 'cost' with 'spend' in deck.pptx, ignoring case, using aspose slides cloud mcp
พรอมต์: do a dry run of replacing 'Acme' with 'Globex' in pitch.pptx from the sales folder of my MyStorage storage using aspose slides cloud mcp

ทุกเซิร์ฟเวอร์ยังรวมเครื่องมือไฟล์ร่วมสี่อย่าง (อัปโหลด, ดาวน์โหลด, รายการและลบ) ดังนั้นเซิร์ฟเวอร์เดียวเพียงพอสำหรับกระบวนการอัปโหลด, ประมวลผล, ดาวน์โหลดอย่างครบถ้วน.

สำรวจเพิ่มเติม

เซิร์ฟเวอร์ Aspose Cloud MCP อื่น ๆ