MCP ExplorerExplorer

Mcp Ms Office Documents

@dvejsadaon 10 months ago
2 MIT
FreeCommunity
AI Systems
#ai#mcp-server#pptx#presentation-slides#docx#docx-generator#msg#outloook
MCP SSE server providing tools to create Ms Office documents (pptx, docx, msg)

Overview

What is Mcp Ms Office Documents

mcp-ms-office-documents is an MCP SSE server that provides tools for creating Microsoft Office documents, specifically PowerPoint presentations in pptx format.

Use cases

Use cases include generating presentations for meetings, educational lectures, and marketing pitches, where users can request presentations on specific topics through an agent in LibreChat.

How to use

To use mcp-ms-office-documents, you need an MCP Client like Claude Desktop or LibreChat. Run the server using Docker with the provided docker-compose.yml file, ensuring to configure the upload strategy and mount any necessary templates.

Key features

Key features include the ability to create various types of PowerPoint slides (title layout, section layout, and text content layout) and support for custom templates to match company branding.

Where to use

mcp-ms-office-documents can be used in educational settings, corporate environments, and any scenario where automated presentation creation is beneficial.

Content

What is it?

A Model Context Protocol Server running over SSE

What it offers?

Tools for LLM to create MS Office documents.

Roadmap:

  • [x] PowerPoint presentation (pptx) - the tool can create title layout slides, section layout slides and text content layout slides.
  • [x] Word documents (docx) - Uses HTML code generated by LLM
  • [x] Outlook messages (eml)
  • [ ] Outlook Appointments (ics)
  • [ ] Excel sheets (xlsx)

What do I need?

MCP Client, such is Claude Desktop or LibreChat

How to run this?

Using Docker with precompiled image as per docker-compose.yml. App is listening on port 8958.

Upload strategy

You must specify upload strategy (e.g. how the files will be passed from MCP to user) in env. variable. It may be either LOCAL (in such case, a mount of the /app/output folder to host folder is required) or S3 (in such case, AWS credentials and S3 bucket info is required) - see the template docker-compose.yml file

Custom templates

You may use custom templates so the tool creates the presentation e.g. on your company style slides or letterhead. In such case, a directory containing “template_4_3.pptx”, “template_16_9.pptx” or “template.docx” must be mounted to “/app/templates/” (see docker-compose.yml). In your template, you must ensure the proper position of the slide layout templates in your master slides. The title slide shall be third, title and content slide shall be fifth and section slide shall be eight. In word template, standard word styles must be present.

How to add to LibreChat

In your librechat.yaml file, add the following section:

mcpServers:
  office-docs:
    type: sse # type can optionally be omitted
    url: # URL of your docker container e.g. http://localhost:8958/sse
    timeout: 120000 # the generation of docx content may take longer time

How to use in LibreChat

After the server is added to LibreChat as per above, restart LibreChat to connect to MCP server and discover tools. Then, create an agent and add the respective tools to agent.

When the agent is created, you may ask the agent to create presentation on any topic, to create word document or draft e-mail.

Template system instructions for agent are in instructions_template.md

Contributions

Further contributions are welcomed!

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers