Passalong
One work board for a team and its agents: work, projects, documents and files.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"passalong": {
"command": "npx",
"args": [
"passalong"
]
}
}
}可執行的套件
1.7.0stdio遠端端點
https://passalong.dev/v1/mcpstreamable-http它能做什麼
工具清單
工具(16)
🟢take(agent, id, repo, any, project)
Say you are doing it, and get it. With `id`, that piece of work. With no id, the next thing waiting for `repo`: always a new one, never what you hold. While you hold it no other agent can take it, and whoever sent it sees you are on it. You may hold several; the person watches them. If somebody else has it, the answer says who: tell the user rather than doing the work twice. Every answer ends with what to call next. With `project` and no id, the next ready work filed in that project, whatever its repo.
輸入結構描述
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"pattern": "^[a-z0-9-]{8,64}$",
"description": "a name for you, the same on every call, e.g. chat-7f3k2m9q"
},
"id": {
"type": "string",
"description": "passalong id; leave out for the next thing waiting"
},
"repo": {
"type": "string",
"description": "owner/repo the work is in; omit for work for no repo"
},
"any": {
"type": "boolean",
"description": "work for another repo: only when the user asks"
},
"project": {
"type": "string",
"description": "a project id: with no id, take the next ready work filed in that project"
}
},
"required": [
"agent"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪progress(id, agent, note)
Say you are still on what you hold, with a one-line note the hub shows. 30 minutes without one marks it stalled. If the answer says you no longer hold it, stop.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"agent": {
"type": "string",
"pattern": "^[a-z0-9-]{8,64}$",
"description": "a name for you, the same on every call, e.g. chat-7f3k2m9q"
},
"note": {
"type": "string",
"description": "one plain sentence in the first person, as you would tell the person: \"Reading the settings page to find where the toggle goes.\" Start it with BLOCKED: when you are stopped and need an answer"
}
},
"required": [
"id",
"agent"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"lease_until": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡hand_in(id, agent, evidence, checks, note, ...)
Finished here, with proof. IT IS FINAL: the work goes to Done with what you showed, and nobody reviews it after you (anyone can reopen it with a reason). So SHOW IT: a screenshot for anything with a screen (before and after, for a defect) or, for backend work, the one command and the line of its output that shows it works. Send `evidence`: the commands you ran and the lines that decided it, the test summary. The link to the change goes in `pr`, which is how a person sees what changed. A check only a picture can answer goes in `checks`, with the line add_file returned in `ran`: this server has no shell to run a command, and an account of what you saw is refused. DO NOT write new work to carry your evidence: it belongs on this call. What you had to adapt goes in `writeup`; what you learned about the project goes into its documents (save_document).
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"agent": {
"type": "string",
"pattern": "^[a-z0-9-]{8,64}$",
"description": "a name for you, the same on every call, e.g. chat-7f3k2m9q"
},
"evidence": {
"type": "string",
"description": "what you ran and what came back, with the command and the lines that decided it, a test summary, a link to the change, or a screenshot url. \"it works\" is a claim, not evidence"
},
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"check": {
"type": "string",
"description": "what the work asked for that this answers, in its own words, for a PERSON: no file paths, commands or code names. People read this line with a tick beside it; the run behind it is not shown"
},
"says": {
"type": "string",
"description": "what happened, in one plain sentence for a PERSON: \"The badge reads 3 after a reload.\" No file paths or commands: it is the row they read"
},
"ran": {
"$ref": "#/properties/evidence"
}
},
"required": [
"check",
"ran"
],
"additionalProperties": false
},
"description": "one entry per thing the work asked for that a picture shows"
},
"note": {
"type": "string",
"description": "one plain sentence, in the first person, saying what you did and how it went: \"Added the toggle to Settings; it survives a reload.\" It is the first thing the person reads, and the evidence is behind it"
},
"writeup": {
"type": "string",
"description": "what you had to adapt to make it work here: a version, a name, a step the work did not mention. 500 characters at most. Optional; leave it out when it went as written"
},
"risk": {
"type": "string",
"description": "what this could break, in one line: a shared helper changed, a migration that cannot be undone, a route other clients call. Optional; leave it out when there is nothing specific, rather than writing \"low risk\""
},
"pr": {
"type": "string",
"description": "the web link to the pull request, branch or commit with this change, when you pushed one: the person opens it to see what changed"
}
},
"required": [
"id",
"agent",
"note"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"state": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪pass(id, agent, why)
Not yours to do, or you are stuck: give it back with the reason. It is open again, and the reason goes to whoever is next: say why, or they start where silence left them.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"agent": {
"type": "string",
"pattern": "^[a-z0-9-]{8,64}$",
"description": "a name for you, the same on every call, e.g. chat-7f3k2m9q"
},
"why": {
"type": "string",
"description": "one line: why it is not yours, or where you got stuck"
}
},
"required": [
"id",
"agent",
"why"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"passed": {
"type": "boolean"
}
},
"required": [
"id"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴ask(id, agent, question, choices)
You need the person's answer before you can go on. Ask one clear question, with the context it needs to be answered without opening your conversation. You keep what you hold and nobody else can take it. Then STOP and tell the user you are waiting: do not carry on guessing. When they have replied, call take with this id and their reply comes back with it. Use `pass` instead when the work is not yours. When the answer is a choice between options, offer them as `choices` so the person can pick one with a tap.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"agent": {
"type": "string",
"pattern": "^[a-z0-9-]{8,64}$",
"description": "a name for you, the same on every call, e.g. chat-7f3k2m9q"
},
"question": {
"type": "string",
"description": "one clear question in the first person, a few sentences at most, plain text: \"Should the dark-mode toggle live in Settings or the header? The header is crowded on mobile.\" What you were about to do, if they just say yes, helps"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "what this option is, in a few words"
},
"detail": {
"type": "string",
"description": "one line more: what it means or costs"
},
"picture": {
"type": "string",
"description": "a screenshot of it, uploaded with add_file first: the /v1/shots/ link"
}
},
"required": [
"label"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 4,
"description": "when the answer is a pick between options (two layouts, three fixes): two to four, each with a screenshot when it is something to look at. The person picks one in the hub with a tap; their pick comes back as the reply"
}
},
"required": [
"id",
"agent",
"question"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"lease_until": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_work(files, items, to, draft)
Write down work someone must still do (one piece, or several at once): a plan broken into steps, or every defect a test run turned up, each its own item so each can be taken on its own. Check what is open first (find_work): if this session answers something you hold, hand_in that instead. Each item is Ready at once and reaches whoever it is for; `draft: true` holds them all for a person to read first. Pictures and files the user gave you go in `files`, each item naming its own by position (`files: [0]`); with one item, every file goes to it. A line from add_file goes in `body` instead. Knowledge is not work: what someone needs to know goes into a project's documents.
輸入結構描述
{
"type": "object",
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"download_url": {
"type": "string",
"description": "where the file can be fetched (https)"
},
"file_id": {
"type": "string",
"description": "the host's id for the file"
},
"mime_type": {
"type": "string",
"description": "image/png, application/pdf, text/csv, …"
},
"file_name": {
"type": "string",
"description": "original filename, used as the label"
}
},
"required": [
"download_url",
"file_id"
],
"additionalProperties": false
},
"description": "files the user gave you, filled in by the client; each item names its own"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "what it is, in a few words"
},
"summary": {
"type": "string",
"description": "one or two plain sentences for a PERSON, no ids or paths: what this is and whether anybody has to act. 400 characters at most"
},
"body": {
"type": "string",
"description": "markdown for whoever does it: what is wrong or wanted, what you found, what done looks like if you know: in whatever shape fits"
},
"files": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"default": [],
"description": "positions in the top-level `files` that belong to this item, from 0"
},
"to": {
"type": "string",
"description": "who it is for, when not the same as the top-level `to`"
},
"parent": {
"type": "string",
"description": "id of the work this comes out of: a bigger piece, a customer request"
},
"after": {
"type": "array",
"items": {
"type": "integer"
},
"description": "positions (from 0) of earlier items this one needs done first"
},
"repo": {
"type": "string",
"description": "owner/repo it is for, when there is one"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "words that describe it, e.g. bug, feature, question; nothing turns on one"
}
},
"required": [
"title",
"summary"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
"to": {
"type": "string",
"description": "team slug, team/@handle for one teammate, team/@mark,@brian for several, or team/#group for the people who do a thing; default is your team when you are in one"
},
"draft": {
"type": "boolean",
"description": "hold it all in Draft for a person to read and make Ready"
}
},
"required": [
"items"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"work": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true
}
}
},
"required": [
"work"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_work(id, query, scope, section, full)
READ work without taking it. With `id`, that piece of work: its markdown, read only; work over 20,000 characters comes back as an outline unless you ask for `section` or `full`. With `query`, the work whose words match. With neither, the board: what needs the user, who is on what, and what is ready: hosts that draw MCP Apps show it as one. To DO the work, call take instead: it is the only way anyone learns somebody picked it up.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "passalong id, e.g. k3mq2xa7"
},
"query": {
"type": "string",
"description": "words to look for in titles, tags and text"
},
"scope": {
"type": "string",
"description": "with query: \"all\" (default), \"mine\", or a team slug"
},
"section": {
"type": "string",
"description": "with id: only the part under this heading; see the outline"
},
"full": {
"type": "boolean",
"description": "with id: the whole text, however long"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "with id: the work read"
},
"markdown": {
"type": "string",
"description": "with id: its text, or the part asked for"
},
"work": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true
},
"description": "with query: what matched"
},
"counts": {
"type": "object",
"properties": {
"needs": {
"type": "number"
},
"working": {
"type": "number"
},
"open": {
"type": "number"
},
"done": {
"type": "number"
}
},
"additionalProperties": true,
"description": "with nothing: the board"
},
"needs": {
"type": "array",
"items": {
"$ref": "#/properties/work/items"
}
},
"working": {
"type": "array",
"items": {
"$ref": "#/properties/work/items"
}
},
"ready": {
"type": "array",
"items": {
"$ref": "#/properties/work/items"
}
}
},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴update_work(id, status, to, markdown, project)
Change work that exists, when the person asks or when you wrote it. `status`: ready (whoever it is for may take it), draft (held for a person to read), or archived (off the board; it comes back to Draft). `to`: who it is for: @handle, several as @mark,@brian, #group, or "" for the whole team; whoever held it and is left out has it taken back and is told. `markdown`: its whole text, frontmatter first, as find_work gave it: say what changed, keep what did not. `project`: a project id (find_projects) in the work's own space to move it into; it leaves the project it was in, and keeps its id and thread.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ready",
"draft",
"archived"
]
},
"to": {
"type": "string",
"description": "\"@handle\", \"@mark,@brian\", \"#group\", or \"\" for the team"
},
"markdown": {
"type": "string",
"description": "the whole document, frontmatter first, to replace its text"
},
"project": {
"type": "string",
"description": "a project id to move it into"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_projects(id, query, scope)
With `id`, one project: its documents, files and the projects inside it. With `query`, the projects whose name, description or any document mentions those words, each naming its matching documents. With neither, every project you can see, briefly: id, title, repos and how much is in it; ask for one by `id` for the rest. Each answer's `space` says where it lives: private, or a named team; `repo` is the repo it is built from, "" when it has none. Read that repo when you write or check its documents.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "project id"
},
"query": {
"type": "string",
"description": "words to look for in projects and their documents"
},
"scope": {
"type": "string",
"description": "\"all\" (default), \"mine\", or a team slug"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡save_project(id, title, description, team, parent, ...)
With no `id`, make a project, after find_projects shows none fits: a `title` and a short `description`, and its `repo` when it has one, or `repos` when it is built from several (a web app, its API, its mobile app: one product, one project). Leave out `team` for a private one, and pass a team slug only when the person wants it shared; `parent` puts it inside another, in that one's space. With `id`, change its title, description, repo ("" for none), repos (the whole list, the main one first), colour or place (`parent` "" for the top level); its space never changes. The answer's `space` says where it is: tell the person.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "the project to change; leave out to make one"
},
"title": {
"type": "string",
"description": "name of the product or body of work"
},
"description": {
"type": "string",
"description": "what it is for, in a line"
},
"team": {
"type": "string",
"description": "new project only: team slug; omit for private"
},
"parent": {
"type": "string",
"description": "project to put it inside; \"\" for the top level"
},
"color": {
"type": "string",
"enum": [
"",
"coral",
"amber",
"green",
"blue",
"violet"
]
},
"repo": {
"type": "string",
"description": "the repo it is built from, e.g. github.com/acme/billing; \"\" for none"
},
"repos": {
"type": "array",
"items": {
"type": "string"
},
"description": "every repo it is built from, the main one first; replaces the list. Work written in any of them is filed in this project and its agents read this project's README"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"project": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": true
}
},
"required": [
"project"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢read_document(project, document, history, version)
One document's Markdown and its `version`, which save_document needs. `history: true` lists its earlier versions, newest first; `version` returns that version's text. To bring one back, save it over the current version.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "project id"
},
"document": {
"type": "string",
"description": "document id"
},
"history": {
"type": "boolean",
"description": "list its earlier versions"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "read this earlier version"
}
},
"required": [
"project",
"document"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡save_document(project, document, name, body, version, ...)
Write what someone needs to know into a project. With no `document`, a new one: `name` and `body`. With `document`, change it: `body` with the `version` read_document gave you (a newer edit is refused, so nobody's writing is lost) and/or `name` to rename it, and/or `move_to` another project in the same space. Its id and history stay. Update the page that already covers something rather than adding another. A document has no owner and no state and tells nobody: anything someone must still act on is work (create_work). The README is special: an agent taking work in the project is shown its first 4,000 characters. Put there what it must know before changing anything (what this is, the rules not to break, the words used, where things are) and the detail on other pages, named in it. Refer to other pages by their names, not file names.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "project id"
},
"document": {
"type": "string",
"description": "the document to change; leave out for a new one"
},
"name": {
"type": "string",
"description": "its name: required for a new one, a rename otherwise"
},
"body": {
"type": "string",
"description": "the whole Markdown text"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "with `body` on an existing document: the version you read"
},
"move_to": {
"type": "string",
"description": "a project id in the same space to move it into"
}
},
"required": [
"project"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_document(project, document)
Delete one document, with its earlier versions. It cannot be brought back, so do it only when the person asked for that document to go; to change what it says, use save_document.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"document": {
"type": "string"
}
},
"required": [
"project",
"document"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"removed": {
"type": "boolean"
}
},
"required": [
"removed"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡add_file(file, project, name, kind)
Put a picture or any other file into Passalong and get back the markdown line that points at it. With `file` (a file the user gave you, filled in by the client), it is stored now. Without it, you get a one-time upload link and the curl command that sends the file to it: run that where the file is (a code sandbox, a disk) and its JSON answer has the line. The link works once and expires in 10 minutes; never base64 a file into a tool call instead. If the command cannot reach passalong.dev, the sandbox's network settings block it: tell the user to allow that domain. Accepts image/png, image/jpeg, image/webp, image/gif; other files up to 10MB. WHERE THE LINE GOES DEPENDS ON WHAT THE FILE IS EVIDENCE OF. Proof that work you are handing in holds (a screen that renders right, a total that matches) goes in that check's `ran` on hand_in, and nothing new is written: a check answered with a picture is shown, which is what the hand-in asks for. A picture that is part of the work itself (the screenshot of a bug, a diagram it explains) goes in its text (create_work, or update_work), because work travels as its text and a file beside it does not travel at all. DO NOT WRITE NEW WORK TO CARRY SCREENSHOTS: six images and a caption each is a hand-in. With `project`, the file is kept in that project instead. Pictures (png, jpg, webp, gif) are drawn where they are named; anything else is a file to download.
輸入結構描述
{
"type": "object",
"properties": {
"file": {
"type": "object",
"properties": {
"download_url": {
"type": "string",
"description": "where the file can be fetched (https)"
},
"file_id": {
"type": "string",
"description": "the host's id for the file"
},
"mime_type": {
"type": "string",
"description": "image/png, application/pdf, text/csv, …"
},
"file_name": {
"type": "string",
"description": "original filename, used as the label"
}
},
"required": [
"download_url",
"file_id"
],
"additionalProperties": false,
"description": "the file the user gave you, filled in by the client"
},
"project": {
"type": "string",
"description": "keep it in this project instead"
},
"name": {
"type": "string",
"description": "for an upload link: the filename with its extension, which says what it is"
},
"kind": {
"type": "string",
"enum": [
"image",
"file"
],
"description": "for an upload link: `image` (the default) for a picture, `file` for a log, PDF, CSV or zip. The link takes only what it was made for"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"markdown": {
"type": "string",
"description": "the line that points at it"
},
"upload_url": {
"type": "string",
"description": "one-time link that takes the file's bytes"
},
"command": {
"type": "string",
"description": "the curl command to run where the file is"
}
},
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢read_file(project, file)
Read a picture or a small text file kept in a project into this conversation. Other files stay downloads in the hub.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"file": {
"type": "string",
"description": "file id"
}
},
"required": [
"project",
"file"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"name",
"type"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_file(project, file)
Delete one file from a project. It cannot be brought back, so do it only when the person asked for that file to go.
輸入結構描述
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"file": {
"type": "string",
"description": "file id"
}
},
"required": [
"project",
"file"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"removed": {
"type": "boolean"
}
},
"required": [
"removed"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據