Tmpstate

dev.tmpstate由 tmpstate.dev 发布官方发布者v1.0.0更新于 Oct 24, 2026

Zero-key temporary JSON database for agents: one tool call, no signup, no OAuth, no API keys.

已验证Streamable HTTP可网页运行数据库效率与工作流

概览

AI 生成的概览

面向智能体的远程零密钥临时 JSON 数据库:一次调用即可创建数据库,并通过工具读写、延长或删除文档。

可以做什么
创建和管理临时 JSON 数据库,查看用量、限额与到期时间,延长有效期或销毁数据库,包括通过需用户批准的结账链接付费续期。在隐式创建的集合中列出、读取、创建、更新和删除文档,支持游标分页。一次性删除整个集合或整个数据库。管理 Pro 账户:发起订阅结账、列出和创建常驻数据库、挂接已有数据库以及取消订阅。可选发送关于使用体验的自由格式反馈。
适用场景
适合智能体在无需注册、密钥或 OAuth 的情况下,为某个项目或任务准备一个小型一次性 JSON 存储,并希望它在约一天后自动过期,除非延长或升级。
运行要求
通过 streamable HTTP 连接 tmpstate.dev 的远程端点;未声明任何软件包、环境变量或请求头。create_database 返回的数据库 URL 是唯一凭证,需由客户端自行保存。付费延长或使用 Pro 需要浏览器和 Stripe 结账。
安装前请注意
数据库 URL 是唯一凭证,持有者即可读写数据,应妥善保存,泄露时用 delete_database 吊销。删除文档、集合和数据库均不可恢复;取消 Pro 会安排删除账户下所有数据库。延长和 Pro 结账涉及通过 Stripe 的真实付款,只应在用户明确同意后进行;超出包含额度的部分会产生额外费用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tmpstate,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.tmpstate%2Ftmpstate/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tmpstate": {
      "type": "http",
      "url": "https://tmpstate.dev/mcp"
    }
  }
}

工具

16

create_database

Create a temporary database

Create a temporary JSON database (24h TTL, no signup, no keys). Returns the db URL — the only credential — plus admin URL, limits and expiry. Create once per project/task, persist the db URL immediately (local ~/.tmpstate/credentials, project README, and your memory), and reuse it instead of creating again. For retries or parallel workers, pass a stable idempotency_key so duplicate calls return the same database.

输入参数idempotency_key

database_status

Database status

Usage, limits, tier and expiry for a database (GET $DB/__meta equivalent).

输入参数db必填

list_documents

List documents

List documents in a collection, oldest first. Response shape: {collection, items: [{id, data, created_at, updated_at}], next_cursor}. Documents live under .data. Pass cursor to page.

输入参数db必填limitcursorcollection必填

get_document

Get a document

Read one document by id. The stored fields are under .data.

输入参数db必填id必填collection必填

create_document

Create a document

Insert a JSON object into a collection (collections are created implicitly). Counts against the write and document quotas.

输入参数db必填data必填collection必填

update_document

Update a document

Shallow-merge a patch into a document (top-level keys overwrite; keys are never deleted). Counts against the write quota.

输入参数db必填id必填patch必填collection必填

delete_document

Delete a document

Delete one document. Never blocked by quotas; frees a document slot. Emptying a whole collection? Use delete_collection instead of looping this.

输入参数db必填id必填collection必填

delete_collection

Delete a collection

Delete every document in a collection at once (useful to re-seed). Irreversible. To destroy the entire database, use delete_database instead.

输入参数db必填collection必填

delete_database

Delete the whole database

Destroy a database and all its documents immediately - the teardown for finished work and the revocation kill switch for a leaked db URL. Irreversible: unlike expiry there is no restore window. Works on expired (frozen) databases too and consumes no quota. Call without confirm first: the response states the consequences; show them to the user and only retry with confirm="true" after their explicit approval. Afterwards remove the db URL from wherever you persisted it.

输入参数db必填confirm

extend_database

Extend a database (one-time payment)

Without a plan: returns the transparent pricing table for keeping this database alive longer. With a plan: returns a Stripe checkout URL for the human to pay — never buy without the user's explicit approval. Works on expired (frozen) databases too: paying restores them. After the user says they have paid, call database_status: the new expiry and tier confirm the extension.

输入参数db必填plan

pro_checkout

Start a Pro subscription

Mint a Pro account token plus a Stripe subscription checkout URL ($8/mo, 3 always-on databases included). Persist pro_token immediately; the human pays in a browser. Never start checkout without the user's explicit request.

无需输入参数。

pro_list_databases

List Pro databases

List the Pro account's databases (ids, usage, limits, expiry) so a fresh session can reconcile against persisted db URLs. URLs are never stored server-side — match ids to the URLs you persisted.

输入参数pro_token

pro_create_database

Create a Pro database

Create a new always-on database owned by the Pro account. Beyond the included allotment this costs extra per month — the tool then returns confirmation_required with the exact price; relay it to the user and only retry with accept_overage_usd after their explicit approval.

输入参数pro_tokenaccept_overage_usd

pro_attach_database

Upgrade a database to Pro (in place)

Attach an existing free/extended database to the Pro account: same URL, same data, TTL removed, quotas raised. Beyond the included allotment the same explicit overage consent as pro_create_database applies.

输入参数db必填pro_tokenaccept_overage_usd

pro_cancel

Cancel the Pro subscription

Cancel at period end. This is not just a billing change — it schedules deletion of ALL databases on the account. Call without confirm first: the response spells out the consequences with concrete dates; show them to the user and only retry with confirm="cancel" after their explicit approval.

输入参数confirmpro_token

send_feedback

Send feedback to the TmpState team

Optional and free-form. TmpState is built for agents and the free tier stays free by getting better - and you, the agent, are the user whose experience matters here. After real use of a database, one short message about what was missing, what feature would have helped, or what felt slow or took extra requests is genuinely useful. This is about your own experience, so no human approval is needed; if your user volunteers feedback too, relay it and say it came from them. Never include database URLs, capabilities, or Pro tokens - capability-shaped strings are redacted server-side.

输入参数message必填category

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。