Quarto MCP
The server lets AI clients create and manage temporary Quarto projects, render and inspect them, and store reusable metadata defaults.
Create temporary Quarto projects with initial files, project type, and optional config or metadata.
Render a whole project or a single input file to a chosen format (e.g. HTML, PDF), with optional code execution disabled by default.
Inspect a project or input file and get Quarto's raw inspect JSON.
Store, retrieve, and clear persistent metadata defaults (author, affiliation, ORCID, etc.) that are written into new projects as _metadata.yml.
Control server behavior with environment variables: render timeouts, output caps, storage budget, log level, and defaults file location.
Provides tools for creating temporary Quarto projects, writing project files, rendering documents or projects, inspecting Quarto configuration, and managing default metadata files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Quarto MCPCreate a Quarto project with my saved defaults and render a sample document to HTML."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quarto MCP
A thin Model Context Protocol server that wraps the Quarto CLI.
The server creates temporary Quarto projects, writes files into them, renders them, and inspects them. It does not copy Quarto configuration logic. Quarto stays the source of truth for configuration, formats, render behavior, and inspect output.
Tools
Tool | Purpose |
| Create a temporary Quarto project and write initial files. |
| Render the project or one input file. |
| Return Quarto's inspect JSON for the project or one input file. |
| Read the stored metadata defaults and the path of their file. |
| Store the metadata defaults for every new project. |
Read SPECS.md for the full contract.
Related MCP server: Python REPL MCP Server
Requirements
Node.js 22 or later
Quarto on
PATH
Use
The server speaks MCP over stdio. Add it to a client configuration:
{
"mcpServers": {
"quarto": {
"command": "npx",
"args": ["-y", "quarto-cli-mcp"]
}
}
}To pin a version, write quarto-cli-mcp@0.2.0.
Develop
pnpm install
pnpm run buildRun the server from the clone with node /absolute/path/to/quarto-cli-mcp/dist/index.js.
A projectId is valid only while the server process runs. The server removes every temporary
project when it stops.
Remember your author details
Store your name, your affiliation, and your ORCID one time. Call quarto_defaults_set:
{
"metadata": {
"author": [
{
"name": "Ada Lovelace",
"orcid": "0000-0002-1825-0097",
"affiliations": [{ "name": "University of Basel" }]
}
],
"lang": "en",
"license": "CC BY 4.0"
}
}The server writes the value to ~/.config/quarto-cli-mcp/defaults.yml:
# Managed by quarto-cli-mcp. Written into new projects as _metadata.yml.
author:
- name: Ada Lovelace
orcid: 0000-0002-1825-0097
affiliations:
- name: University of Basel
lang: en
license: CC BY 4.0Every later quarto_create_project call copies that file into the new project as _metadata.yml.
Quarto merges _metadata.yml over _quarto.yml, so the author reaches each document.
The defaults survive a server restart. You can edit the file by hand.
To use other metadata for one project, pass metadata to quarto_create_project. The value
replaces the defaults. To skip the defaults, pass useDefaults: false. To clear the defaults,
call quarto_defaults_set with an empty metadata object.
Know these three limits
Quarto owns the merge. The server writes one file and changes nothing else.
Keep
formatout of the defaults. Aformatkey in the defaults drops the formats of the project. A project that asks forpdfthen rendershtmlonly.An author in the defaults is additive. A project that names one other author still carries the author from the defaults. To get one author list, set
useDefaults: false, or pass an explicitmetadata. Anauthorkey in a document front matter does replace the inherited list, but theauthorsspelling does not.The defaults reach the project root only. A document in
chapters/gets nothing from them. This limits their value for a book or for a manuscript.
Read the Limits section of SPECS.md for the measured table.
Server limits
Set these environment variables to change the process limits. They are server configuration, never tool parameters.
Variable | Default | Meaning |
|
| Stop a Quarto run after this time. |
|
| Cap |
|
| Temporary storage budget. |
|
| Pino log level. Logs go to stderr. |
| see below | The metadata defaults file. |
The server resolves the defaults file in this order. The first match wins:
QUARTO_MCP_DEFAULTS_FILE, then $XDG_CONFIG_HOME/quarto-cli-mcp/defaults.yml, then
~/.config/quarto-cli-mcp/defaults.yml.
Status
Version 0.2.0 is released. Read CHANGELOG.md for the history.
Security
Document code execution is off by default. --no-execute is not a sandbox. Quarto configuration
can start other programs, for example through render hooks or filters. Version 0.2 assumes
trusted project input. Use an OS or container sandbox when project input is untrusted.
Read SECURITY.md to report a vulnerability.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides project management capabilities through terminal, web UI, or MCP stdio, including plans, code analysis, and filesystem-safe operations.20MIT
- AlicenseNot gradedqualityDmaintenanceProvides a persistent Python REPL session as a tool for executing code, managing files, installing packages, and initializing projects via the MCP protocol.1MIT
- AlicenseNot gradedqualityBmaintenanceProvides tools for governed project work, including project setup, workspace management, and task execution, with credential-safe MCP wiring.MIT

Nolane Habitatofficial
FlicenseNot gradedqualityBmaintenanceProvides coding agents with a durable, revision-aware project workspace for semantic context, governed source changes, verification, task checkpoints, and observability through an MCP interface.1
Related MCP Connectors
Project management MCP for AI agents with safe task reads and writes.
Create sandboxed public-unlisted or access-key-protected HTML previews through a remote MCP server.
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maehr/quarto-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server