home / mcp / 2slides mcp server
The MCP Server for 2slides. AI agent for PPT/Presentation/Slides generation.
Configuration
View docs{
"mcpServers": {
"2slides-mcp-2slides": {
"command": "npx",
"args": [
"2slides-mcp"
],
"env": {
"API_KEY": "YOUR_2SLIDES_API_KEY"
}
}
}
}You can expose 2slides.com tools to MCP clients by running a local MCP server that communicates with 2slides services. This enables tasks like slide generation and theme/search interactions directly from your MCP-enabled chat or tool interface.
To use this MCP server, you first obtain an API key from 2slides and then configure your MCP client to run the server locally. The available tools let you generate slides, search for themes, and produce slide decks from reference content.
Once configured, you restart your MCP client so the 2slides tools appear in the tools panel. You can then invoke the tools to perform actions such as generating slides from a theme and user input, or creating a slide deck from a reference image.
Prerequisites: You need Node.js and npm installed on your system.
Install Node.js and npm if they are not already present. Then proceed with the following steps to configure and run the MCP server.
{
"mcpServers": {
"2slides": {
"command": "npx",
"args": ["2slides-mcp"],
"env": {
"API_KEY": "YOUR_2SLIDES_API_KEY"
}
}
}
}Obtain your API key from 2slides (you will use this to authorize requests from your MCP client).
Place the MCP server configuration in your client’s config so the server runs with the correct command and environment. Restart the client after saving the configuration to ensure the 2slides tools are loaded.
Keep your API key secure and avoid sharing the configuration file with others. If the tools do not appear after changes, verify the config path and restart the client. Check logs to identify issues related to starting the MCP server or API authentication.
Generates slides using a specific theme and user input. Supports synchronous or asynchronous modes and returns a generated slide deck.
Polls the status of an asynchronous slide generation job by jobId to retrieve results when ready.
Searches available slide themes with an optional limit to the number of results.
Creates slides from a reference image, generating a complete deck and PDF in synchronous mode, with options for language, aspect ratio, resolution, and page count.