Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Inspect Tidebase agent runs, resolve approval gates, and trigger recovery from your AI assistant.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TIDEBASE_URL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tidebase": {
"command": "npx",
"args": [
"-y",
"@tidebase/mcp"
],
"env": {
"TIDEBASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add tidebase --env TIDEBASE_URL=your-value -- npx -y @tidebase/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tidebase": {
"command": "npx",
"args": [
"-y",
"@tidebase/mcp"
],
"env": {
"TIDEBASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tidebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tidebase/mcp"
],
"env": {
"TIDEBASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TIDEBASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 BlueprintLabIO 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, TF Rooms
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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 room availability, rates and stay quotes for 12 New Leaf motels in Twin Falls, Idaho.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Tidebase
Agent auth and credential brokering for AI agents, with checkpoints, queues, schedules, and approval gates. In your own Postgres.
Quick start · API · Storage contract · Scope
Tidebase gives your AI agents an identity and a vault. When an agent calls an API, the call goes through Tidebase, which injects the credential, so the agent and the model never see the key. You can scope it, audit it, and revoke it.
It also keeps the durable parts: checkpoints, live state, queues, schedules, and approval gates, all in your own Postgres. Your code still runs in your app, worker, or job process; Tidebase does not run it. So "this run died at step 7, is it safe to rerun?" has an answer, and "the agent has my GitHub token in plaintext" stops being true.
Docs: https://tidebase.dev · Community: Discord · For AI assistants: /llms.txt
Agent products usually grow the same operational plumbing:
Tidebase packages that layer around your existing code, plus a credential broker so agents act on real services without holding the keys. It does not run your code (your runtime stays yours), and it is not an LLM proxy or a hosted worker runtime.
Fastest path (no Node needed), prebuilt server image:
docker compose --profile server up -d # Postgres + ghcr.io/blueprintlabio/tidebase on :7373
Then point any SDK at http://localhost:7373 (npm i @tidebase/sdk or pip install tidebase).
Dev setup (server + Studio from source):
Start Postgres:
docker compose up -d postgres
Install dependencies:
pnpm install
Run the server and Studio:
pnpm dev
Run the example workflow:
pnpm example
Force a failure after two completed checkpoints:
FAIL_WRITE=1 pnpm example
Copy the run id from Studio or the API, then resume:
TIDEBASE_RUN_ID=run_xxx pnpm example
The plan and fetch-sources steps are returned from checkpoints. Only write-report executes again.
Give an agent its own identity, vault a third-party secret, and let the agent call the API without ever holding the key. Tidebase makes the outbound call with the secret injected, and you can scope, audit, and revoke it.
import { Tidebase } from '@tidebase/sdk'
const tide = new Tidebase({ baseUrl: 'http://localhost:7373', apiKey: process.env.TIDEBASE_API_KEY })
// 1. Vault a secret behind a pinned upstream. The returned resource never carries the secret. await tide.resources.connect('github', { provider: 'static', baseUrl: 'https://api.github.com', secret: process.env.GITHUB_TOKEN, scopesAllowed: ['repo.read'], })
// 2. Inside a run, request a grant for what the agent needs to do. const auth = tide.auth(runId) const grant = await auth.request({ resource: 'github:repo:acme/app', action: 'repo.read', scopes: ['repo.read'], })
// 3. Make the call through Tidebase. The token is injected upstream; the agent and the LLM never see it. const res = await auth.use(grant.grantId, { method: 'GET', path: '/user' })
Secrets are envelope-encrypted at rest (AES-256-GCM with a KMS-wrapped DEK). baseUrl pins the upstream and scopesAllowed caps any grant, so a leaked grant can't reach an arbitrary host. The proxy blocks private IPs and metadata hosts (SSRF defense), and GET /audit returns grant receipts with no secret material. For OAuth providers you can delegate custody to nango or openbao and Tidebase holds only an opaque connection reference.
Make every AI session in your project use Tidebase correctly:
npx @tidebase/sdk init # writes a Tidebase section into AGENTS.md/CLAUDE.md (idempotent)
Give your assistant direct access to runs, gates, and recovery via MCP:
claude mcp add tidebase -e TIDEBASE_URL=http://localhost:7373 -- npx -y @tidebase/mcp
Or install the Claude Code plugin (skill + MCP server in one):
/plugin marketplace add BlueprintLabIO/tidebase
/plugin install tidebase@tidebase
Agent-readable docs live at tidebase.dev/llms.txt; every docs page also serves a raw .md twin.
Tidebase can now decide when your code runs, while still never executing it:
// durable queue: dedupe, delay, retries with backoff, concurrency caps
await tide.enqueue('generate-report', { queue: 'reports', input: { topic }, dedupeKey: report:${topic}, maxAttempts: 3, deadlineMs: 600_000 })
// pull-mode worker: claims ready runs and executes registered workflows tide.workflow('generate-report', generateReport) await tide.work({ queues: ['reports'] })
// cron (UTC, 5-field), double-fires are structurally impossible await tide.schedules.set('daily-digest', { cron: '0 9 * * *', workflowName: 'daily-digest' })
// authoritative, one-way cancellation, workers observe it at step/gate // boundaries; complete/fail can never resurrect a cancelled run await tide.runs.cancel(runId, { reason: 'customer asked', actor: 'support' })
Push-mode dispatch is also available: configure a queue with an invokeUrl and Tidebase delivers signed run.invoke webhooks to your app instead of waiting for a claim. A queued job IS a run, queued is a lifecycle state, not a second table, so status never drifts.
See docs/production.md for the full lifecycle, replay contract, worker-death recovery model, and deploy discipline (versioned migrations via pnpm migrate, TIDEBASE_AUTO_MIGRATE=0 for expand/contract deploys).
pnpm test
The suite (84 TypeScript tests + 9 Python integration tests, run in CI on every push) uses the same Postgres in an isolated tidebase_test database. It is invariant-driven rather than coverage-driven: every test asserts a durability or safety guarantee through the public API or SDK, against real Postgres, including concurrency probes for the guarantees that only matter under contention.
What it proves:
manual_review, idempotency-keyed and read-only steps are safe_replaySee docs/testing.md for the full invariant map and conventions.
import { Tidebase } from '@tidebase/sdk'
const tide = new Tidebase()
await tide.run('generate-report', { runId }, async (run, input) => { const plan = await run.step('plan', () => makePlan(input))
await run.state.set({ status: 'writing', progress: 0.7 })
return run.step('write-report', () => writeReport(plan)) })
tide.run() fits work shaped like a function. For open-ended execution, a protocol gateway in front of an agent, a REPL, a run that spans many requests, attach to a run as a session instead:
const session = await tide.runs.attach('mcp-session', { input: { agent: 'hermes' } })
// session is a RunContext: step/gate/state/usage/snapshots all work unchanged await session.step('tool-call', { input: args }, () => callTool(args))
await session.complete({ calls: 12 }) // or session.fail(err)
The session holds the run lease with a background heartbeat (heartbeatMs, default 20s). If the process dies, the heartbeat stops, the lease expires, and the reconciler takes over, requeue or recovery webhook, exactly as if a workflow worker had crashed. A session that loses its lease (onLeaseLost) is a zombie: the server fences its writes. Pass runId to resume an existing session's run; completed steps replay from storage.
For a complete worked example, an MCP gateway that wraps any agent's MCP server in checkpointed tool calls and durable approval gates with one config-line change, see examples/mcp-gateway/.
Each step can declare the operational contract Tidebase should record for replay:
await run.step(
'send-email', { input: { userId }, sideEffects: ['email.send'], idempotencyKey: welcome:${userId}, replay: 'auto', checkpointInvariant: 'provider accepted the message id', verifiedBy: 'email provider response' }, () => sendWelcomeEmail(userId) )
Tidebase records that contract with the step and shows it in Studio. Final step failures are classified as:
failed_retryable when SDK retries remain.manual_review when replay is manual, or when side effects exist without an idempotency key.failed for hard failures.This does not make external systems exactly-once. It makes the resume decision explicit instead of hiding it in logs and custom retry flags.
run.state.set() and run.state.patch() still update the current live run state. In v0.2 they also append a version to Tidebase's state history.
await run.state.patch({
status: 'writing', progress: 0.7 })
You can label the current state when it becomes a meaningful review or restore point:
await run.state.save('before-approval', {
reason: 'the user is about to approve sending' })
Snapshots are a convenience API over labeled state versions for external targets such as reports, artifacts, workspaces, documents, or app state:
await run.snapshots.create('draft-v1', {
target: { type: 'report', id: reportId }, state: dr
只显示了开头部分;其余内容请在仓库中阅读