pinecallDocs
MCP: get started / Overview

Overview

pinecall as an assistant's MCP server: Claude Code, Codex, Cursor and the rest, from an empty folder to an agent.

pinecall mcp is the same CLI as an MCP server: an assistant — Claude Code, Claude Desktop, Codex, Cursor, Windsurf, Antigravity, Gemini CLI — launches it, and its tools take a person from an empty folder to an agent on Pinecall without a terminal.

The same tools are also hosted by Pinecall at https://mcp.pinecall.io/mcp, for an assistant that takes a server by its address — Claude and ChatGPT on the web among them: a URL and a sign-in in a browser, nothing installed. That server has no folder, so it leaves out the ten tools that act on this machine; Connect Claude or ChatGPT says how to add it to each assistant, and The hosted server, below, what it leaves out. This page is the server on your own machine.

The server starts no process of its own but pinecall-runtime, for the runtime tool: what needs a browser, an editor or a speaker hands the link, the text or the file back instead. Every tool acts in the sandbox unless it says prod (below). No tool takes a vendor key, a carrier secret or an app's secret, and no answer carries a Pinecall key: every answer and every refusal is scrubbed before it reaches the model. When a step needs a secret, the assistant is told to hand the person the command to type in their own terminal (pinecall providers add <vendor>, pinecall carriers add twilio --account-sid AC… --user SK…, pinecall secrets set <NAME>), which reads it with nothing echoed, and never to send them to a screen. The server writes one line per call to its stderr — the tool, how long it took, whether it answered or refused, never what it was asked or what it answered — which the assistant keeps in its own log.

Install#

Terminal
npm i -g pinecall
pinecall mcp install

install writes one entry into every assistant installed on this machine — npx -y pinecall@latest mcp, the newest published CLI, whatever a project pins — replacing an older Pinecall entry, copying each file beside itself as .bak first, and leaving every other server and setting in it as it was. Codex's TOML is edited as text, so its comments stay too; a JSON file is read and written back whole, two spaces to a level, and one that holds comments is refused as not valid JSON. Restart the assistant afterwards: it read its config when it started. No key is written anywhere: the server reads the open project's .env, and the login tool signs the machine in.

flag what it does
--list every assistant, whether it is installed, and whether Pinecall is in it; changes nothing
--remove takes Pinecall out of every assistant
assistant file
Claude Code ~/.claude.json
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), ~/.config/Claude/… (Linux), %APPDATA%\Claude\… (Windows)
Codex ~/.codex/config.toml
Cursor ~/.cursor/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Antigravity ~/.gemini/antigravity/mcp_config.json
Gemini CLI ~/.gemini/settings.json

Claude Desktop is launched without the shell's PATH, so its entry names npx by its full path and puts the folder of this machine's node on the PATH it gives the server.

The project#

Every tool acts on one project folder — the one that holds agents/: the one project open (or project new) named, else the first root the assistant declares, else the folder the server was started in. Its key is the one pinecall itself reads: PINECALL_KEY from the environment, else from the project's .env, else this machine's sign-in (~/.pinecall/session.json) in the org the project's pinecall.json names.

The tools#

Every tool acts in the sandbox. Every tool takes prod: true to act in production instead — the ones that never ask a gateway (runtime, prompt, docs_search, get_doc) are the same either way — on any server: the org's own switch, and the key's rights, decide there, as they do for pinecall … --prod. The tools that talk to the agent (chat, test, simulate, remember) need nothing held: they reach the copy start holds when it holds it in the env asked, and otherwise whoever holds the agent there — a terminal, a colleague, production's own process — naming no app, so the gateway sends the call to the newest that takes it. A long one (login, test, simulate, deploy, runtime up) answers within wait_s seconds (25 unless asked, at most 50) with what it has and says how to keep waiting, so no host gives up on it; supervise watch waits as long for a live call's next lines.

The assistant reads each tool's sentence and its manual in the tool list; the server's instructions carry the journey and the tools by stage, so nothing is said twice.

Getting started#

Every parameter, and a real call of each: Getting started.

tool actions what it does
whoami — which org, gateway and environment the project's key acts in, where the key was read from, and whether production is allowed for the key
login start · status signs this machine in to a gateway, once: start answers a link the person opens in a browser; status waits until they approved it, and says the org the sign-in acts in. The key is kept in ~/.pinecall/session.json and never answered; every tool runs on it, in the org the project's pinecall.json names
project show · open · new · generate the folder the tools act on, its agents and their language, whether it has a key; another folder opened (with nothing held: stop first); a new project written from pinecall new's templates, in TypeScript, Ruby or Python, and its first agent when agent names one, its pinecall.json naming the gateway and the org it runs in (org when the person has several: asked of them, never guessed), and opened; generate adds a second agent (kind: agent) or a golden from the caller's lines and the tools that must be called (kind: golden), as pinecall generate does
runtime status · recommend · up · down the runtime on this machine, for a person with no account: recommend reads the machine (its card or Mac memory, Docker, the Ollama here and its models, where each vendor's key is — never its value) and answers the stack that fits it, for the assistant to show and the person to change; up runs pinecall-runtime setup --yes on that stack or the stages given (stt, turn, llm, tts, judge, caller) — Docker, the schema, the console's admin (email) with no password made up, this machine signed in to it in ~/.pinecall/session.json, the local models pulled once — and keeps it running; status says what it printed and whether it said ready; down stops it, keeping the database and the sign-in
team list · reset the org's people, and a one-use link one of them opens to choose a new password — shown whole, never scrubbed (or mailed, when the gateway mails it); no password passes through the assistant, and setting one directly is pinecall team password in a terminal

Holding the agent, and talking to it#

Every parameter, and a real call of each: Holding the agent, and talking to it.

tool actions what it does
start — holds the agent as pinecall start does, in the sandbox or, with prod, in production. A TypeScript agent runs in a worker thread of this server — no process — and reloads on every save; a project with nothing installed runs on the @pinecall/agents this server ships, lent to the agent's thread alone — nothing is written into the project — until npm install pins the project's own: the new version registers before the old one drains, a save that does not load keeps the version before answering. A Ruby or Python agent, or one a terminal already holds, is attached to — the agent's own process, never the companion beside it. Beside the thread a companion answers the console, so its Chat, Tests, Simulations, Docs and Memory screens reach the agent the assistant holds; pinecall agent list shows it as pinecall-mcp/<version>
stop — drains the thread and lets the agent go; an attached process is left running
status — each agent held, how (thread or attached), its app, the version answering, the sentence a broken save was refused with, and framework while the agent runs on the one the server lent the project
chat say · end a written call with the agent, held here or wherever it is held (prod for production's): each line answered whole — its turns, the tools it called with their arguments and results, the state it changed. call continues one, contact makes the caller someone, state opens it in a state
prompt — the exact prompt a state produces, offline (TypeScript; Ruby's and Python's is pinecall prompt)
console_url — a link that opens the console signed in — the sandbox's, or production's with prod — on the org's floor or on one agent, once, within five minutes: with team reset's link, one of the two values no answer hides

The agent's settings#

Every parameter, and a real call of each: The agent's settings.

tool actions what it does
agent list · show · set · clear · history · diff · rollback · knowledge list names every agent of the org a process holds now in the env asked, and which process: the names every other tool takes as agent; the rest is the agent's settings — voice, models, language, greeting, turn-taking, recording, memory policy — each change a version, checked as pinecall agent set checks it; knowledge reads or writes what it knows by heart. A write is refused naming an app written as code, which its code alone sets
lexicon show · add · hear · rm · history how the voice says a word, and the words the ears must catch; a write is refused naming an app written as code
voices — a vendor's voices in a language, the id first
voice_sample — a line said by the gateway in a voice, saved as a WAV under .pinecall/voices/, with its timings

Calls, and what they run on#

Every parameter, and a real call of each: Calls, and what they run on.

tool actions what it does
calls — the agent's newest calls, with their ids, how they ended, their cost and verdicts
call — one call's log, entry by entry — its turns, each tool call and result, every state change and its cause, the desk's moves, the cost and the verdicts — paged by after from the next each page answers until it is null, narrowed by types without ending early; live while the call goes on
pipeline — the vendors and models the agent hears, decides and speaks with, and their latency
providers — every vendor the gateway can run and whose key a call would use; never a key
telemetry show · clear where the org's calls' traces go, its own OTLP collector, and the headers by name; setting one is the person's terminal
monitors list · add · rm the numbers the org watches over a window — latency, the judges' held rate, escalations, tool failures, spend, calls — and the line each must not cross; fires once a day as monitor.fired
webhook show · test · clear where the org's alerts are posted — a monitor fired, the spend unusual, a quota out, a vendor that failed a call — and whether the posts are signed; a test post, signed when it has a secret; setting one is the person's terminal
alerts — what the org was told in the environment, newest first: every alert kept 90 days whether or not a webhook is set — its kind, its agent, its data, whether it was mailed; limit how many
usage — what the org used of its limits this month in the environment — minutes, messages, evals, simulations, bought numbers — whose keys its calls run on (its own, and the ones the runtime lends), whether its judges cost it evals, and where it buys more

The phone#

Every parameter, and a real call of each: The phone.

tool actions what it does
line show · from · forget · claim · release whose process a ring lands in, and the person's own phone
numbers list · available · import · buy the org's numbers; what its carrier accounts own; an import (naming the account when the org has several) or a number bought on the deployment's account, each shown as steps first (dry_run is the default)
carriers list · show the org's carrier accounts; adding one takes secrets, so it is a terminal's
dial — an agent calls a number, with the state, the greeting and the instruction its call opens with
callbacks — the people waiting for a call back

Supervising a live call#

Every parameter, and a real call of each: Supervising a live call.

tool actions what it does
supervise watch · whisper · say · takeover · release · transfer · end a live call as a desk sees it: what the caller, the agent and its tools said since after, waiting up to wait_s for more; a whisper the caller never hears, a line in the agent's voice, the line taken and given back, a transfer, an end — each a supervisor.* entry in the call's log. The audio is the console's Live screen

Testing#

Every parameter, and a real call of each: Testing.

tool actions what it does
test run · wait the goldens through the agent, held here or wherever it is held, a column per model in models, written or spoken (voice, background_noise in dB under the caller, 0 to 60, packet_loss 0..1): the matrix, each call's latency, a reproduction for each golden that broke. case plays cases of the org's dataset by name instead, dataset every approved one, version a version of the agent's settings. One run per agent at a time
runs list · show · diff · promote · drift the suites kept, what moved between two, the golden the gateway derives from a real call written as a candidate under the agent's agents/<agent>/test/candidates/, each judge's drift
cases groups · group · propose · apply · persona · list · show · approve · dismiss · reopen · pull · keep · add the org's dataset and the loop that fixes the agent: real calls and simulations a judge broke on, grouped by that judge; a group diagnosed (propose: the cause and a fix — a setting apply writes, code the assistant makes, knowledge), a persona made from it, decided whole; one case read, approved, dismissed (judge_was_wrong labels the judge), reopened, pulled into agents/<agent>/test/goldens/, a finished call kept, a golden written by hand added whole as golden (never a file) as an approved case; forgetting one is pinecall cases forget
simulate run · wait a persona's call against the agent, held here or wherever it is held, the conversation and every judge's verdict; against runs the agent on other voices and models for the run, and two or more of them are a comparison, answered as a table best first; past wait_s, the transcript so far, and wait picks the rest up. One per agent at a time; repeats rings the caller several times under each, with or without against, and says how often each did the caller's task; on a spoken call via: sip rings the agent by phone (a SIP leg in a carrier's codec, the sandbox's), and packet_loss, delay_ms, jitter_ms and rate_kbps are the network the caller's packets really cross
personas list · show · add · edit · rm · on · off · generate the callers a model plays: Pinecall's library (realism and a red team) switched on or off; the agent's own — a goal, a manner, facts, what it expects of the agent, how it acts on a spoken line (interrupts, pause_s); callers generated from the agent's prompt, tools and knowledge
judges list · add · on · off · rm · try · agreement every judge the agent's calls meet: Pinecall's switched on or off, your own written whole — a verdict, a score or a choice, on every call, simulations or a trigger — dropped, one tried on finished calls, writing nothing, and how often each agreed with the labels people gave; every agent's with org
judging show · set whether the org's calls are judged at hang-up, and on which model: Pinecall's, billed per eval, or one of the org's own (model, options.base_url for a local one) on its own key, never billed
eval — one finished call checked again by code, with banned words and a latency budget

Knowledge and memory#

Every parameter, and a real call of each: Knowledge and memory.

tool actions what it does
docs push · pull · list · eval · attach · detach · attached the folder as a checkout of the base: push writes its files into the base and keeps the base's others (the folder's README.md never sent), pull writes the base back into the folder, file by file; attached to the agent, held to goldens/docs.json; list and attached are the org's and name no agent. attach and detach are refused naming an app written as code
memory show · policy · eval what the agent kept about a caller (naming no agent), what it keeps and never keeps (policy with neither list reads them), and goldens/memory.json; writing policy is refused naming an app written as code
remember — the extraction cases under agents/<agent>/test/memory/, run on the model and policy of the agent, held here or wherever it is held

An agent with no code#

Every parameter, and a real call of each: An agent with no code.

tool actions what it does
studio list · show · new · save · try · deploy an agent built as the console's Studio builds it, with no class: made in the sandbox, its whole definition — instructions, greeting, HTTP tools, data collection — saved as the next release over the one read, each tool's request tried once, then chat with it by name and deploy it to production; a header names a secret as {{secrets.NAME}}, never its value

Going live, and the docs#

Every parameter, and a real call of each: Going live, and the docs.

tool actions what it does
deploy deploy · wait · list · releases · logs · rollback · stop · start the project run on Pinecall: a release uploaded (what its .gitignore files leave in) and followed until live; TypeScript and Python projects
docs_search — the sections of docs.pinecall.io that answer a question, each with its address
get_doc — one page of the docs whole, by its address or its path

A refusal is one sentence that names what to do next: no project names project, no sign-in names login (and the gateway a project's pinecall.json runs it at); stop with no agent held names start.

The hosted server#

https://mcp.pinecall.io/mcp is these tools behind HTTP, run by Pinecall: an assistant is given the address, the person signs in to Pinecall in a browser and approves it, and every call runs on the sign-in that approval made, in the org they chose (Connect Claude or ChatGPT). It is built from this package (pinecall/hosted) by the repository's mcp/.

It works on no folder and starts nothing, so:

  • Ten tools are not in it, the ones that act on the machine a server runs on: login, project, runtime, start, stop, status, prompt, voice_sample, line, remember.
  • The agent is always named. With no project to read the one agent from, a tool that acts on an agent is refused naming agent with action list, which says the ones the org holds now.
  • What reads or writes an agent's files is refused, in one sentence naming this server: docs push, pull and eval, memory eval, test on the golden files (case and dataset play the org's cases there), runs promote, cases pull, personas generate with save, and deploy deploy.
  • whoami says key_from: this connection's sign-in, and the gateway is Pinecall Cloud.

Every tool says, to whichever host lists it, a title a person reads in its screens and its kind, as MCP's hints: read-only (whoami, calls, call, pipeline, providers, voices, alerts, usage, carriers, callbacks, docs_search, get_doc, and status and prompt on a machine), which a host may call without asking the person first; or a write, and whether it may take away or overwrite what exists or act outside — dial, numbers, supervise, the settings' writes and the removals are destructive, chat, test and simulate are not. Claude's connector directory refuses a tool that leaves either unsaid. Where a tool's manual speaks of a folder or of this machine, the hosted server shows its own words instead: whoami, test, runs, cases, personas, judges, docs, memory and deploy. A test run there writes no reproduction to any disk.

Not in the MCP#

Erasing data, forgetting a contact or a case, dropping a base or one file of it, a number or a carrier, and removing a deployed app are never tools; neither is anything that takes a secret. Those stay pinecall verbs a person types.

Taking out what the org configured is a tool: personas rm drops one of the agent's own personas, judges rm one of your own judges (the agent's, or the org's with org), monitors rm forgets a monitor, and webhook clear and telemetry clear stop the posting and the export. None asks again first, and the last two drop a secret only a person can set back, in a terminal.