mcp-ToseaAI
Official MCP server for ToseaAI that enables document-to-presentation workflows including PDF parsing, outline generation, and slide rendering. It provides a stable tool surface for AI agents to create, manage, and export presentations directly within their environment.
README
mcp-ToseaAI
Official MCP server for ToseaAI document-to-presentation workflows.
This server wraps the production ToseaAI HTTP contract at /api/mcp/v1 and exposes a stable MCP tool surface for Claude Code, Cursor, Codex, and other MCP clients.
- API keys stay server-side and are never echoed back to the agent.
- Long-running operations use
presentation_idplus polling, not raw SSE. - Mutating tools support explicit idempotency keys where the backend supports them.
- File uploads stay local until the MCP server streams them to ToseaAI over HTTPS.
Why a separate repo
This repository should stay independent from the main application repository.
- Release cadence is different from the backend.
- Breaking changes to tool names and prompts must be versioned separately.
- Nested git repos or submodules add unnecessary operational friction for MCP users.
Install
npm install
npm run build
Required environment variables
TOSEA_API_KEY=sk_...
TOSEA_API_BASE_URL=https://tosea.ai
Optional:
TOSEA_TIMEOUT_MSTOSEA_MAX_RETRIESTOSEA_POLL_INTERVAL_MSTOSEA_MAX_POLL_MSTOSEA_LOG_LEVEL
Claude Code example
{
"mcpServers": {
"tosea": {
"command": "node",
"args": ["C:/new/mcp-ToseaAI/dist/index.js"],
"env": {
"TOSEA_API_KEY": "sk_...",
"TOSEA_API_BASE_URL": "https://tosea.ai"
}
}
}
}
Client-specific examples live in examples/README.md.
Cursor example
Use examples/cursor.mcp.json as the starting point for your local mcp.json.
OpenAI Agents SDK example
OpenAI's Agents SDK supports stdio MCP servers, so this repo can be used directly as a local subprocess MCP without needing a hosted HTTP wrapper. See examples/openai-agents-typescript.ts.
If you later need OpenAI Responses API hosted remote MCP mode, add a separate Streamable HTTP transport wrapper instead of changing this stdio package in place.
Tool summary
tosea_healthtosea_get_permissions_summarytosea_get_quota_statustosea_list_presentationstosea_get_presentation_full_datatosea_parse_pdftosea_generate_outlinetosea_edit_outline_pagetosea_render_slidestosea_edit_slide_pagetosea_export_presentationtosea_pdf_to_presentationtosea_wait_for_jobtosea_list_exportstosea_list_export_filestosea_redownload_export
Reliability model
GETrequests use bounded retries with backoff and jitter.- Upload-creating endpoints do not auto-retry because the current backend does not accept idempotency keys on those routes.
outline edit,slide edit, andexportsupportidempotency_key; reuse the same value only when retrying the same logical action.wait_for_jobpolls untilcompletedorfailed, then returns the final job payload as JSON.
Security notes
- API keys must start with
sk_. - The server redacts bearer secrets from surfaced errors.
- The MCP tool layer does not expose JWT-only account operations.
- Export history only exposes user-visible files returned by the backend.
Smoke test
This repository includes a non-billing smoke test that checks auth, health, permissions, and list access without creating presentations:
npm run smoke
Optional flags:
--feature-key outline_generate--expect-tier pro--list-limit 5
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.