← Back to the blog

Quill AI for developers: MCP, a REST API and your terminal

How Quill AI is opening up to developers with Quill MCP and the Quill API, plus seven ways SaaS dev teams use it from the command line and in CI.

ยท The Quill AI team

  • developers
  • MCP
  • API
  • Claude Code
  • CLI
  • SaaS

Quill AI started as the place where client work gets written up: the notetaker on the call, the plan after it, the statement of work and the deck. A lot of client work is software work, and the people doing it spend their day in a terminal and an editor, not in a browser tab.

So we are building Quill AI so that developers can use it without leaving those tools. The core of Quill AI is now reachable from code: read your templates, projects, meetings and tasks, send notes, and have Quill AI write or update a document from your own template.

This post explains how we are approaching it, and how SaaS dev teams can use it from the command line today.

Two ways in, one set of rules

There are two ways to reach Quill AI from code.

Quill MCP is for AI assistants. MCP, the Model Context Protocol, is an open standard that lets an assistant use tools in other apps. Quill AI runs an MCP server at https://www.quillai.app/mcp, so Claude Code, claude.ai, Claude Desktop and other MCP apps can work with your Quill AI projects. In Claude you sign in and approve the connection; there is no key to copy.

The Quill API is a REST API for your own scripts and servers, at https://www.quillai.app/api/v1. It does what Quill MCP does, over plain HTTPS and JSON, with an API key or OAuth 2.0 client credentials. The full reference is an OpenAPI 3.1 document at https://www.quillai.app/api/v1/openapi.json, so you can generate a client in the language you use.

Both follow the same rules as the app. A credential sees only what you can open in Quill AI yourself, under the clients you allow for it. You choose whether it can read meetings. An admin can make an API client read only.

What developer first means to us

We hold every part of the developer surface to a few rules.

  • The same permissions as the app. A key or a connection never reaches a project you cannot open. When someone leaves the workspace, their keys stop working.
  • Writes you can retry. Send a request key with a write (the Idempotency-Key header in the API), and a script that retries after a timeout does the work once.
  • No silent overwrites. Replacing a document's text needs the version you read. If someone edited it in Quill AI since, nothing is written and you get a clear error.
  • Nothing lost. When a document is updated from code, Quill AI keeps the earlier version, and you can restore it in a click.
  • One error shape. Every API route answers an error with a stable code to switch on and a request id to quote when you write to us. The token endpoint answers in the OAuth 2.0 standard form.
  • A record of what changed. Everything an app or script added or changed is listed in Settings, under Show what it added.
  • A check for secrets. Quill AI checks every note and every update for common kinds of secrets and refuses one that looks like it holds one. The check cannot catch every secret, so keep them out of what you send.

Set up in your terminal

Claude Code. Two commands connect it:

claude mcp add --transport http quill https://www.quillai.app/mcp --scope user
claude mcp login quill

The second command opens Quill AI in your browser. Check that it shows your account and the workspace you mean, choose which clients Claude may use, and click Approve. Use the address exactly as written: with www and without a slash at the end.

Other command line tools. Any MCP app that can send a request header connects with the same address and an API key. Create the key in Quill AI under Settings, AI, MCP. The Quill MCP docs have the settings for each app.

Plain HTTP. The same key works with the Quill API:

curl https://www.quillai.app/api/v1/workspace \
  -H "Authorization: Bearer $QUILL_KEY"

That call answers your workspace, the clients the key may use and what is left of your limits. A key ends after 7 days without use and renews each time it is used. For a server that runs on its own, a workspace admin creates an API client instead; the Quill API docs cover both.

Seven ways SaaS dev teams use it

1. Technical design docs from the code

The code is the best source for a technical spec. In Claude Code, run /mcp__quill__document_codebase and pick your technical design template. Claude reads the parts of the repository the spec needs, skips build output, dependencies and anything that looks private, and sends focused notes to Quill AI. Quill AI writes the document in your template's sections and layout, so this quarter's spec looks like last quarter's.

2. Build what was agreed on the call

An enterprise client asks for SSO and an audit log in an onboarding call. Quill AI's notetaker records it. Later, in Claude Code, you ask Claude to build what was agreed in that call. Claude finds the meeting, lists the decisions that touch your code and who said them, and you choose what to build. When the work is done, it offers to bring the spec up to date. The /mcp__quill__build_from_meetings routine runs these steps for you.

Meeting text is what people said, so Claude treats it as requirements to confirm with you, never as instructions to follow.

3. Keep the implementation spec current

Specs go stale the week after they are signed off. After a merge, run /mcp__quill__update_document. Claude reads the spec in Quill AI, works out which sections the change affects, shows you what it will change, and updates only those. The earlier version stays in Quill AI if you want it back.

4. Release notes from your git history

Release notes for clients take time to write, and the commit log already has what changed. Ask Claude Code to read the commits since the last tag and send them as a note to the client's project. Quill AI writes the release notes from your template in plain language your client's team can read. The same flow works for a change summary for your support team.

5. Follow-ups without leaving the terminal

When Tasks is on for your workspace, Claude can manage the follow-ups from your calls. Ask what is overdue for a client, add a task for the TODO you just found, mark the ticket you closed as done, or leave a comment on where the work stands. Claude lists the tasks first so it does not add one twice, and asks you before it changes several at once.

6. Release documents from CI

The Quill API fits in a release pipeline. This script gets a token for an API client, sends the release's commits as a note to the client's project, and has Quill AI write the release notes from your template. New API clients are read only, so choose read and write when a workspace admin creates the one your pipeline uses.

set -euo pipefail
API=https://www.quillai.app/api/v1
KEY_TAG=$(printf '%s' "$TAG" | tr -c 'A-Za-z0-9._:-' '-')

TOKEN=$(curl -fsS -X POST "$API/oauth/token" \
  -u "$QUILL_CLIENT_ID:$QUILL_CLIENT_SECRET" \
  -d grant_type=client_credentials | jq -r .access_token)

NOTES=$(git log --pretty='- %s' "$PREVIOUS_TAG..$TAG")

NOTE_ID=$(curl -fsS -X POST "$API/projects/$PROJECT_ID/notes" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: release-note-$KEY_TAG" \
  -d "$(jq -n --arg t "Release $TAG" --arg c "$NOTES" '{title: $t, content: $c}')" | jq -r .id)

JOB_ID=$(curl -fsS -X POST "$API/projects/$PROJECT_ID/documents" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: release-doc-$KEY_TAG" \
  -d "$(jq -n --arg tpl "$TEMPLATE_ID" --arg n "Release notes $TAG" --arg id "$NOTE_ID" \
        '{template_id: $tpl, name: $n, note_ids: [$id]}')" | jq -r .id)

while :; do
  JOB=$(curl -fsS "$API/jobs/$JOB_ID?wait=30" -H "Authorization: Bearer $TOKEN")
  case $(jq -r .status <<<"$JOB") in
    done) jq '{status, message, result}' <<<"$JOB"; break ;;
    failed|cancelled) jq '{status, error}' <<<"$JOB"; exit 1 ;;
    needs_answers) jq '{status, questions}' <<<"$JOB"; exit 1 ;;
  esac
done

A few things make it safe to run on every release:

  • Reruns do the work once. The Idempotency-Key headers carry the tag, so a rerun of the same release answers the stored results instead of adding a second note and a second document. A key takes 8 to 100 letters, digits, dots, underscores, colons or dashes, so the script replaces any other character in the tag, such as a slash or an @. Results are kept for 35 days. A rerun also replays a job that failed, so to try again after a failure, change the keys, for example by adding -2.
  • No waiting on the note. You can write the document straight after adding the note: Quill AI waits for the note to finish processing.
  • No busy polling. wait=30 holds each call open until the job changes, for up to 30 seconds, so the loop asks again straight away. It stops at done, and exits on failed or cancelled, or when Quill AI asks a question, which you answer with POST /jobs/{job_id}/answers.
  • Secrets stay in CI. Keep the client ID and secret in your pipeline's secret store, never in the repository.

Fetch your tags in CI so the git log range exists, and skip the run when the range has no commits: an empty note is refused.

7. Meeting context in your pull requests

Before you open a pull request, ask Claude to find the call where the change was agreed and add a short summary of the decision, with who said it, to the description. Reviewers see why the change exists without asking around. From a script, GET /meetings?q= with words from the meeting's name (and since or client_id to narrow it) finds the meeting, and GET /meetings/{meeting_id} answers its summary, decisions and transcript, when Meetings is on for the credential.

Where to start

The developers page is where the docs live: Quill MCP, the Quill API and every integration. The integrations page lists what connects today, and software and AI agencies shows how teams like yours use Quill AI. If you build something with it, or something you need is missing, email us at info@quillai.app.

Quill MCP and the Quill API are on Pro and above. Each new document uses one document from your plan's allowance, including the ones your pipeline writes; editing a document in place does not. Compare the plans on the pricing page, or Start free and try the notetaker on your next call.

Turn client meetings into proposals, SOWs and delivery plans

Quill AI drafts them from your own templates. Free plan, no credit card.