Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Let your agent ask a person and continue with their answer.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SESS_API_KEY, SESS_API_ORIGIN, SESS_MCP_PROFILE, SESS_MCP_STATE_DIR, SESS_EXPECTED_WORKSPACE_ID, SESS_RECEIPT_ISSUER, SESS_MCP_MAX_WAIT_MS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.sess.si/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sess": {
"command": "npx",
"args": [
"-y",
"@sess.si/mcp"
],
"env": {
"SESS_API_KEY": "your-value",
"SESS_API_ORIGIN": "your-value",
"SESS_MCP_PROFILE": "your-value",
"SESS_MCP_STATE_DIR": "your-value",
"SESS_EXPECTED_WORKSPACE_ID": "your-value",
"SESS_RECEIPT_ISSUER": "your-value",
"SESS_MCP_MAX_WAIT_MS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http sess https://mcp.sess.si/mcpclaude mcp add sess --env SESS_API_KEY=your-value --env SESS_API_ORIGIN=your-value --env SESS_MCP_PROFILE=your-value --env SESS_MCP_STATE_DIR=your-value --env SESS_EXPECTED_WORKSPACE_ID=your-value --env SESS_RECEIPT_ISSUER=your-value --env SESS_MCP_MAX_WAIT_MS=your-value -- npx -y @sess.si/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sess": {
"url": "https://mcp.sess.si/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sess": {
"command": "npx",
"args": [
"-y",
"@sess.si/mcp"
],
"env": {
"SESS_API_KEY": "your-value",
"SESS_API_ORIGIN": "your-value",
"SESS_MCP_PROFILE": "your-value",
"SESS_MCP_STATE_DIR": "your-value",
"SESS_EXPECTED_WORKSPACE_ID": "your-value",
"SESS_RECEIPT_ISSUER": "your-value",
"SESS_MCP_MAX_WAIT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sess": {
"type": "http",
"url": "https://mcp.sess.si/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sess": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sess.si/mcp"
],
"env": {
"SESS_API_KEY": "your-value",
"SESS_API_ORIGIN": "your-value",
"SESS_MCP_PROFILE": "your-value",
"SESS_MCP_STATE_DIR": "your-value",
"SESS_EXPECTED_WORKSPACE_ID": "your-value",
"SESS_RECEIPT_ISSUER": "your-value",
"SESS_MCP_MAX_WAIT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.sess.si/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SESS_API_ORIGIN envSESS_MCP_PROFILE envSESS_MCP_STATE_DIR envSESS_EXPECTED_WORKSPACE_ID envSESS_RECEIPT_ISSUER envSESS_MCP_MAX_WAIT_MS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
服务器要求先登录,才会列出它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 sess.si 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 136 毫秒内响应(HTTP 401)
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SESS_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.1.1)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 御府和田玉 在售作品查询
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Live in-stock Hetian jade from Yufu, Shanghai: prices, monthly price guide, book a viewing.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Ask a person a question from your server and continue with their verified answer.
Create and run a small agent:
npm create @sess.si/agent@latest my-agent
What you'll see: a Sess link. Answer two questions on your phone and your plan prints in the terminal with a verified receipt.
Install the SDK in your own server project:
npm install --save-exact @sess.si/sdk@0.1.1
Use a developer API key from the Sess developer portal. Keep it on the server. The hosted no-signup demo is a separate trial flow; a Sess link or trial credential is not an owner API key. You need no LLM, agent framework, Docker or Sess source checkout.
import { Sess } from '@sess.si/sdk';
const sess = new Sess({ apiKey: process.env.SESS_API_KEY }); const question = await sess.ask({ question: 'Approve the synthetic refund?', fields: [ { name: 'approved', label: 'Approve it', type: 'boolean' }, { name: 'amount', label: 'Refund amount', type: 'number', minimum: 0 }, ], }); console.log(Send this Sess link to the person: ${question.link}); const { approved, amount } = await question.answer(); // verified; the Session is now complete if (approved) console.log(Refund of ${amount.toFixed(2)} approved.);
sess.ask() checks the question locally, creates the Session once and returns its Sess link before anything waits. The link is a bearer capability: deliver it only to the person, never to logs or analytics. answer() waits for the person (ten minutes by default), verifies the signed receipt against the exact question, checks that the answer is still the current step, completes the Session and returns the values typed from your fields. Completion closes the Session: the link no longer accepts answers. Field types are text, number, integer, boolean, choice and multi_choice (API reference).
If the wait times out (wait_ended, code WAIT_TIMEOUT) or you abort it, nothing changes remotely: call answer() again on the same handle. An error with outcome: "unknown" means completion is not confirmed; calling answer() again replays the same completion. The handle lives in memory only. To resume after a restart, persist sessionId and revision and continue with the API below (Integration).
If Sess refuses a call, the error says what happened and what to do. A key Sess does not accept prints: "Sess did not accept your API key. Check SESS_API_KEY and the portal you made it on." The message comes first; the code and request ID follow it:
try {
const question = await sess.ask({ question: 'Approve the synthetic refund?', fields: [{ name: 'approved', label: 'Approve it', type: 'boolean' }], }); console.log(Send this Sess link to the person: ${question.link}); } catch (error) { console.error(error.message); // what happened and what to do const request = error.requestId ? , request ${error.requestId} : ''; console.error(Details: ${error.code ?? error.kind}${request}); process.exitCode = 1; }
A person reads the page on a phone, so Sess keeps every piece of it short. Lengths count characters (Unicode code points), and Sess never truncates:
| What | Style | At most |
|---|---|---|
Title (question) | A question or a task, about 40 | 80 |
Button (submit_label) | A verb, 1–3 words | 24 |
| Field label, option | Short | 60 |
Help (field description) | One hint | 160 |
| Description under the title | One or two sentences | 280 |
| Heading | Short | 60 |
| Record caption | A few words | 200 |
| Record key / string value | As written | 40 / 200 |
Text (details) | Plain text | 4,000 |
There are at most 5 buttons. A value over its limit fails with a SessError that names it: field is a JSON pointer such as /question, limit is the most it may have and length is what it has. The message says how to fix it: "The title can be at most 80 characters. Keep it to a short heading, about 40." for the title, and for anything else, for example "/fields/0/label is 72 characters; the limit is 60. Shorten it to at most 60 characters." Nothing was created (outcome is not_sent or rejected), so shorten the value and ask again:
import { Sess, SessError } from '@sess.si/sdk';
declare function shorten(text: string, max: number): Promise ; // e.g. your model rewrites it
const sess = new Sess({ apiKey: process.env.SESS_API_KEY }); const fields = [{ name: 'approved', label: 'Approve it', type: 'boolean' }] as const; async function askShort(question: string) { try { return await sess.ask({ question, fields }); } catch (error) { if (!(error instanceof SessError) || error.field !== '/question' || error.limit === undefined) throw error; return sess.ask({ question: await shorten(question, error.limit), fields }); } }
Release status: 0.1.1 is the current release, served under the latest dist-tag. Its API is that of 0.1.0, the first stable release. next stays at the last release candidate, 0.1.0-rc.10. The changelog describes each version; npm view @sess.si/sdk dist-tags shows what the registry serves now.
Sess takes no payment: the person approves a bill on a Sess page, and moving the money stays with you and your payment processor.
import { Sess, invoice } from '@sess.si/sdk';
const sess = new Sess({ apiKey: process.env.SESS_API_KEY }); const created = await sess.sessions.create({ interaction: invoice({ currency: 'CAD', // whole cents: 420000 is $4,200.00 reference: 'INV-2041', rows: [{ name: 'Design retainer, October', amount: 420000 }], lines: [{ label: 'GST 5%', amount: 21000, role: 'tax' }], }), }); console.log(Send this Sess link to the person: ${created.data.human_url});
Three things you will meet first:
SessError names it by its pointer, such as /interaction/source/components/1/rows/0/name, with limit and length.money(1250, 'USD') is $12.50; money(12.5, 'USD') throws, because Sess never rounds or converts.{
"error": { "code": "INVALID_SCHEMA", "field": "/interaction/source/components/0/totals/0/amount", "expected": 441250, "actual": 451248 } }
invoice(), receipt(), quote(), refund() and purchaseOrder() each return an ordinary interactive Surface for sess.sessions.create({ interaction }): the bill as an items card, the document's reference under a plain name, and the buttons the person needs (Approve and Decline; Continue on a receipt; Accept on a quote). refund() states positive amounts under "Refund total". A row quantity lets the person change it and adds a Request changes button; your agent replies with a new revision and updated amounts. items() builds just the card, and lintText() finds a Markdown table in text, which the person would see as pipes. See the API reference.
What Sess does not do: take or move payment, convert currencies, compute tax or prices, show your logo or branding, or let another site frame the page (frame-ancestors 'none').
import { Sess } from '@sess.si/sdk';
const sess = new Sess({ apiKey: process.env.SESS_API_KEY }); const created = await sess.sessions.create({ interaction: { mode: 'interactive', title: 'Review a synthetic invoice', source: { kind: 'sess_surface', components: [ { type: 'record', label: 'INV-001', fields: { amount: 120 } }, { type: 'field', name: 'amount', label: 'Correct amount', required: true, schema: { type: 'number', minimum: 0 }, value: 120, }, ], }, actions: [{ id: 'submit', label: 'Submit review', intent: 'submit' }], }, });
// Privately deliver created.data.human_url through your application's handoff. // It is a bearer capability: do not put it in ordinary logs or analytics. const answer = await sess.sessions.waitForResponse(created.data.id, { revision: created.data.revision, }); const verified = await sess.receipts.verifyResponse({ sessionId: created.data.id, response: answer.response, }); const amount = verified.response.data.amount; if (typeof amount !== 'number' || !Number.isFinite(amount)) { throw new Error('Expected an accepted numeric amount'); }
Verification checks that the receipt was issued for your workspace. Sess names your workspace on authenticated responses (the Sess-Workspace-Id header), so you set nothing. If a runtime does not send it, set expectedWorkspaceId from trusted deployment settings; otherwise verification fails with VERIFICATION_CONTEXT_MISSING. The SDK never takes the workspace from the unverified receipt.
The quickstart function includes a private delivery callback. Three-round continuation persists mutation intent and checks that an answer is still the current expected business step before publishing or completing. Its store and worker lease are application-owned. See Integration.
A decision bundle is one accepted decision that its owner chose to share: the signed receipt, the exact Surface and input, and the issuer's public keys. Check it on your own computer, with keys you trust (never the keys inside the bundle):
npx -p @sess.si/sdk@0.1.1 sess verify bundle.json --issuer https://api.sess.si --keys sess-receipt-keys.json
The sess command first ships in 0.1.0-rc.5; any later version, 0.1.1 included, has it.
You'll see Valid decision bundle. and what was accepted, when, on which revision; or Invalid and the first reason. Exit status is 0 valid, 1 invalid, 2 usage error; add --json for the full result. Nothing is sent anywhere. In code, use verifyDecisionBundle from @sess.si/sdk/receipts (Security). Formats: receipt-v1 and bundle-v1.
When the person is at a laptop and would answer on their phone, draw the link as a QR code, locally, with no network call:
import { printQr, qr } from '@sess.si/sdk/qr';
const link = 'https://sess.si/s/synthetic-link'; // the link sess.ask() returned console.log(link); printQr(link); // prints "Scan to answer on your phone" and the code, on an interactive terminal only const svg = qr(link, { format: 'svg' }); // also 'png' (bytes) and 'terminal' (text)
Use it where a person sees a screen but not their phone: a desktop chat window, a dashboard, a kiosk, print. Skip it in SMS, or when the person is already on their phone. Sess never shows or sends the code; your agent chooses. printQr prints nothing without a TTY, in CI (CI set), in production (NODE_ENV=production)
只显示了开头部分;其余内容请在仓库中阅读