Tunc Doc examples and agent setup prompts
Three working setups for Tunc Doc, each with a prompt your agent follows: cloud docs, sheets and decks, Word/Excel/PowerPoint imports and exports, and scripts.
Updated
Each setup below starts with a prompt you paste to your agent, so the agent does the work. Keep API keys out of prompts: give them to your tools as environment variables or secrets. The Tunc Doc docs have every call; this page has setups that work.
Let your agent connect to Tunc Doc
In Claude, the quickest way is a prefilled link. It opens Add custom connector with the name and URL filled in; check them and confirm.
Add Tunc Doc to ClaudeClaude’s Free plan allows one custom connector. On Team and Enterprise an Owner adds it.
In Claude Code, Cursor or any agent that can run commands or change its own settings, paste this. It adds the connection, waits while you sign in, then tests it:
Connect Tunc Doc to this session. Its MCP server is https://mcp.tuncdoc.com/mcp. If you can run commands, run: claude mcp add --transport http tunc-doc https://mcp.tuncdoc.com/mcp. Otherwise add it to my MCP settings. Then tell me to sign in (in Claude Code: run /mcp, choose tunc-doc, then Authenticate) and wait for me to confirm. After that, test it: create a doc titled "Connection test" with the Markdown "# Hello\n\nIt works.", read it back, then delete it. Tell me what you did and what came back.In ChatGPT, or any app where you add connectors through menus, ask the agent to read the instructions and walk you through them:
Read https://tuncdoc.com/llms.txt and tell me, menu by menu, how to connect Tunc Doc to this app. Use the sign-in option, not an API key. If this app needs a special mode to add connectors, tell me which.An agent can add the connection but cannot sign in for you: you approve it once in your browser and choose what it may do. The same steps for every client, if you would rather do it by hand:
| Client | Steps |
|---|---|
| claude.ai, Claude Desktop and Claude mobile | Customize → Connectors → Add custom connector → name Tunc Doc, URL https://mcp.tuncdoc.com/mcp → Add → Connect. The Free plan allows one custom connector; on Team and Enterprise an Owner adds it under Organization settings → Connectors. This link opens the dialog with the name and URL filled in: |
| Claude Code | Add the server, then run /mcp, choose tunc-doc and Authenticate. |
| ChatGPT | Settings → Apps & Connectors → Advanced → turn on Developer mode → Create → name Tunc Doc, URL https://mcp.tuncdoc.com/mcp, Authentication OAuth → Create → Connect. |
| Cursor | Add it to ~/.cursor/mcp.json, then Settings → MCP: it shows “Needs login” → Login. |
| VS Code (Copilot) | Command Palette → MCP: Add Server → HTTP → https://mcp.tuncdoc.com/mcp → name tunc-doc → allow the sign-in prompt. |
| Gemini CLI | Add it to settings.json, then run /mcp auth tunc-doc. |
| Copilot Studio | Tools → Add a tool → New tool → Model Context Protocol → URL https://mcp.tuncdoc.com/mcp → Authentication OAuth 2.0, Dynamic discovery. |
Draft a document, spreadsheet or slide deck with a private link
The job: you want an assistant to create a report, a financial model with formulas and a chart, or a presentation deck that you can open in the browser or download as Word, Excel or PowerPoint. The setup: ask your agent to create it in Tunc Doc and hand you the link.
Create a Tunc Doc titled "Q3 Project Review" with doc_create containing an executive summary, key metrics and next steps, and give me its link.Create a Tunc Doc spreadsheet titled "2026 Budget Model" with doc_create (kind "sheet"), populate monthly revenue and costs in cells A1:E14 with sheet_write using SUM formulas for totals, add a column chart anchored at G2 with sheet_add_chart, and give me the link.Create a 6-slide presentation in Tunc Doc titled "Customer Pitch Deck" using doc_create (kind "deck") and deck_add_slides, run deck_check to verify the layout, and give me the link.Every doc, sheet and deck opens at its short private link on tuncdoc.com after signing in. People with edit access can switch to Write on a doc page in a desktop browser and edit alongside your agents.
Import and export Word, Excel, PowerPoint and PDF files
The job: someone sent you a DOCX contract, an XLSX workbook or a PPTX slide deck, or needs your Tunc Doc exported as an Office file or PDF. The setup: your agent imports the file with doc_import, makes exact revision-checked changes, and exports with doc_export.
Import proposal.docx into Tunc Doc with doc_import, suggest edits to tighten the pricing section using doc_edit with mode "suggest" so I can accept or reject each change on the page, and give me the link.Find my "2026 Budget Model" sheet in Tunc Doc with doc_list, export it as an XLSX workbook with doc_export (format "xlsx"), and also save a PDF copy to Tunc Art with to_art set to true.Agents change exact text with doc_edit (all edits apply or none do), update sheets all-or-nothing with sheet_write and sheet_ops, and update decks by slide and box id with deck_edit. Every change is a version in doc_history that can be restored with doc_restore.
Generate documents and Office exports from a script
The job: a scheduled script or backend job needs to turn data into a formatted doc, spreadsheet or slide deck and export it as PDF, DOCX, XLSX or PPTX. The setup: call the Tunc Doc REST API with an API key.
Create an API key with read and save access at https://tunchub.com/account/keys/new?product=doc, and pass it to your script as an environment variable. Then paste this to your coding agent:
Write a script, publish_doc.py, that creates a weekly report in Tunc Doc through https://api.tuncdoc.com/v1/docs and then exports it as a PDF through https://api.tuncdoc.com/v1/tool (calling doc_export with format "pdf"). Read the API key from the environment variable TUNC_API_KEY and never print it. Print the doc link when it finishes. Use https://tuncdoc.com/docs for the request shapes.Then ask any connected assistant:
List my 5 newest docs in Tunc Doc with doc_list, read the newest weekly report with doc_read, and summarize what changed.Export a doc straight to Tunc Art
Tunc Doc is where you and your agents write and revise a document, spreadsheet or slide deck. When a version is ready to hand over as a fixed PDF, DOCX, XLSX or PPTX file, doc_export with to_art saves it to Tunc Art with its own private link.
Export my "Q3 Project Review" doc in Tunc Doc as a PDF with doc_export and to_art set to true, then give me both the Tunc Doc link and the Tunc Art link.Good to know
- A doc holds up to 1 MiB of Markdown text. Imported files (DOCX, PPTX, XLSX, XLS, ODS, CSV, Markdown) can be up to 16 MiB: an MCP call carries about 3 MiB, and larger files use the REST import route.
- Every edit checks the revision: doc_edit applies all of its changes or none, and doc_write builds on a full doc_read, doc_create, or a doc_write that answered without a mark.
- A doc made in a workspace opens for members of that workspace; a doc made without one is private to its owner.
- Your account page at https://tunchub.com/account shows your storage and connected agents.
