Zektor
概览
作者提供的说明(英文原文)
Managed Postgres and Valkey hosted in Germany. Agents can create a trial database with no signup.
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 数据库与数据集
- 你需要填写:ZEKTOR_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
通过 2/2 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "zektor": { "command": "npx", "args": [ "-y", "zektor", "mcp" ], "env": { "ZEKTOR_TOKEN": "your-value" } } } }只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
退出 Claude 再重新打开
试一试
用 Zektor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Zektor,或回答中出现 Zektor 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Zektor
Zektor 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Zektor 的应用
- 需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
B · 数据库与数据集 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Supabase✓ ChatGPT
- Appwrite MCP✓ ChatGPT
- Pg Aiguide✓ ChatGPT
可连接 Claude Code,但需要先准备
需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add zektor --env ZEKTOR_TOKEN=your-value -- npx -y zektor mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude Code 中输入 /mcp
应能看到 Zektor 在列表中并显示已连接
试一试
用 Zektor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Zektor,或回答中出现 Zektor 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
填写你的密钥
在 Zektor 的设置中,ZEKTOR_TOKEN 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Zektor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Zektor,或回答中出现 Zektor 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Zektor 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
填写你的密钥
在 Zektor 的设置中,ZEKTOR_TOKEN 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Zektor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Zektor,或回答中出现 Zektor 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add zektor --env ZEKTOR_TOKEN=your-value -- npx -y zektor mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"zektor": {
"command": "npx",
"args": [
"-y",
"zektor",
"mcp"
],
"env": {
"ZEKTOR_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"zektor": {
"command": "npx",
"args": [
"-y",
"zektor",
"mcp"
],
"env": {
"ZEKTOR_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"zektor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"zektor",
"mcp"
],
"env": {
"ZEKTOR_TOKEN": "your-value"
}
}
}
}需要你填写的值
ZEKTOR_TOKEN机密 envAccess token from Settings → Access tokens. Without one, the server can still create trial databases.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 m-akcan 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于11天前
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1163 个服务器的 79%
- 发布到注册中心的时间比此分类中其他 1163 个服务器的 60% 更新
- 基础检查结果等于或优于此分类中其他 1163 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Zektor 安全吗?
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:ZEKTOR_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于11天前,最新版本(1.7.1)于34天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
zektor
Command-line client for Zektor.io managed databases and caches.
Beta. The CLI and its MCP server are supported and live, but young. Expect
commands to be added and rough edges filed off as we learn how people use them.
Beta is not a warning about stability of what exists: **1.0.0 settles the
command surface.** Flags, output shapes and exit codes will not change without
a major version, so
--jsonis safe to parse in a script, and tokens you
create now keep working.
Install
npm install -g zektor
Or run it without installing:
npx zektor whoami
Requires Node 18 or newer.
Authenticating
Create a token in the dashboard under Settings → Access tokens, then:
zektor login
The token is stored at ~/.config/zektor/config.json with mode 0600. It is verified against the API before being written, so a mistyped token fails here rather than confusingly on your next command.
--token exists for scripts, but prefer the prompt when you are at a keyboard — an argument lands in your shell history.
In CI
Set ZEKTOR_TOKEN and skip login entirely:
ZEKTOR_TOKEN=zk_… zektor whoami
ZEKTOR_TOKEN always beats the config file. zektor whoami reports which of the two supplied the credential, which is usually how you discover a stray environment variable is overriding the account you logged in as.
Commands
| Command | What it does | ||
|---|---|---|---|
zektor try | A Postgres database for the next hour, no account needed (see below) | ||
zektor login | Store a token for this machine | ||
zektor logout | Forget the stored token. Does not revoke it — the same token may be in use elsewhere. Revoke in Settings to end its access. | ||
zektor whoami | Show the account, API URL, and where the token came from | ||
zektor list | List your instances | ||
zektor show | Show one instance | ||
zektor db create / zektor cache create | Provision a database or cache | ||
zektor delete | Delete an instance. Asks you to type its name; --yes skips that. | ||
zektor connect | Open redis-cli against a cache | ||
zektor scale --tier=… | Move an instance to another plan | ||
| `zektor storage show\ | resize\ | autoscale ` | Postgres storage: see what it costs, grow it, and set automatic growth (see below) |
zektor mcp | Run as an MCP server, so an editor or agent can drive the API (see below) |
Every read command takes --json.
Trying it without an account
psql "$(npx zektor try)"
zektor try prints a connection string on stdout and, on stderr, how long it works and a claim link. The database accepts connections for 60 minutes. Open the claim link within 3 hours, sign up and add a payment method, and the data moves into a database of your own; otherwise it is deleted. Up to 200 MB and 3 connections, no superuser (trusted extensions such as pgcrypto work), and 3 trials per network per day. --json prints all of it as JSON. The same is available without the CLI:
curl -X POST https://api.zektor.io/api/trial
Creating
zektor db create --name=my-db --tier=AKPG-5 --region=nbg1 --engine=postgres@17
--tier, --region and --engine take the names you see in the dashboard and are resolved to ids for you. --tier and --region are required; leave one out or pass a wrong one and the error lists what is valid.
Creating runs in the background. Add --wait to block until the instance is ready; if creating it fails, the command prints why and exits non-zero.
--storage is rejected: storage starts at what the plan includes. Grow it afterwards with zektor storage resize.
Connecting
connect opens redis-cli for a cache. For Postgres it prints the command shape instead — the password is shown once when a role is created or rotated and the server never stores it, so there is no credential for the CLI to fetch. Create or rotate a role in the dashboard first.
Scaling and storage
zektor scale 42 --tier=AKPG-10
zektor storage show 42 zektor storage resize 42 --size=50 zektor storage autoscale 42 --on --limit=100
scale asks you to type the instance name, since it restarts the instance; --yes skips that. A downgrade warns that the smaller plan has less memory than the instance may be using. When the target plan includes less storage than the database is billed for, scale also says what the difference costs, with or without --yes.
scale and storage resize run in the background too, and take --wait: it blocks until the change has finished, and on failure prints the reason and exits non-zero. Without it, a failed scale is easy to miss, since the instance simply stays on its old plan.
Storage is PostgreSQL only — a cache is sized by its plan, so use scale.
- Included. Every plan includes storage: 5 GB on AKPG-5 to AKPG-40, then 10, 20 and 40 GB on AKPG-80, 160 and 320. A new database starts there.
- Growing.
storage resizegrows it any time, up to 1000 GB. It runs online, with no restart, and prints on stderr what the new size costs. - Never shrinks. Storage only grows. Neither you, a plan change nor a restore can make it smaller. The only way to pay for less is to
pg_dumpinto a new database and delete the old one. - Price. €0.15/GB/month net above what the plan includes, in whole GB, prorated by the hour like plans. You pay for the size, not the usage: deleting rows frees room, not money.
storage showprints what is billed now. - Payment. Growing above the plan, or turning on automatic growth, needs a payment method or account credit.
- Automatic growth is opt-in, and needs a maximum above the current size:
storage autoscale 42 --on --limit=100. At 80% full it grows to the larger of +5 GB or 70% full, never above the maximum. Each grow is permanent and billed like a manual one, and you're notified each time. After a failed automatic grow it waits a day. A limit can't be cleared once set, since the API reads an omitted value as "leave unchanged"; set a new number, or turn growth off with--off. - Plan changes. An upgrade to a plan that includes more raises the size to the plan's, free. A downgrade keeps its storage, and the GB above the smaller plan are billed.
- Branches. A branch is billed on its plan, plus what it writes itself above its plan's included storage, while it is a branch. Once promoted, it is billed on its full size, which is the source's size when it was branched (or larger, if grown).
- Legacy databases. Databases created before growable storage can't grow yet. They are moving soon, and are never billed for storage.
Changed in 1.7.0. storage resize now grows storage through /api/instances/{id}/storage/grow and refuses a size that isn't larger than now. storage autoscale still accepts --min and --up-only, and ignores them. The MCP tool resize_storage now requires confirm_name.
MCP server
zektor mcp speaks the Model Context Protocol over stdio, so an editor or agent can list, create and scale instances directly. It uses the token you already logged in with — there is nothing extra to set up.
Add it to your MCP client's config:
{
"mcpServers": { "zektor": { "command": "npx", "args": ["-y", "zektor", "mcp"] } } }
For Claude Code, claude mcp add zektor -- npx -y zektor mcp does the same thing.
Tools
| Tool | |
|---|---|
create_trial_database | only when no token is configured: a free database for an hour, with a claim link to give the user |
whoami, list_instances, get_instance | read-only |
get_action | read-only; how the background work started by create_instance, scale_instance or resize_storage went, by the actionId they return |
list_plans, list_regions | read-only; call these before creating rather than guessing a name |
get_connection | read-only, returns a live password for caches |
get_storage | read-only, PostgreSQL; size, usage and what is billed above the plan |
create_instance | costs money |
scale_instance | changes the bill; scaling down can leave an instance short of memory, and keeps its storage, billing the GB above the smaller plan |
resize_storage | PostgreSQL; grows storage, which can't be undone; GB above the plan are billed |
set_autoscale | PostgreSQL; turns automatic growth on or off, up to a limit |
delete_instance | off by default — see below |
Guardrails
The CLI's protection against destroying the wrong thing is a prompt: it makes you type the instance name at a terminal. An MCP server has no terminal and its caller is a model, so that guard is translated rather than dropped.
- `delete_instance` is not registered unless `ZEKTOR_MCP_ALLOW_DESTRUCTIVE=1` is set. By default the tool does not appear in the list at all, so the worst a confused or injected instruction achieves is spending money, not losing data.
- `scale_instance`, `resize_storage` and `delete_instance` require a `confirm_name` argument that must match the instance's real name. It can only be filled in by having actually looked the instance up, which is the property the typed-name prompt had.
- Every tool carries the protocol's
readOnlyHint/destructiveHintannotations, so a client that asks before running a tool asks about the right ones.
get_connection deserves its own note: for a cache it returns a connection string containing a live password, which means putting that password into the model's context. That is the point of the tool — it is how an agent wires an app up to a new cache — but it is worth knowing before you enable the server somewhere that logs conversations.
Diagnostics
The server writes its API URL, where it found a token, and whether deletion is enabled to stderr at startup; MCP clients collect that as server logs. A server pointed at the wrong API looks exactly like a broken one until you read them.
Output
stdout carries data and nothing else. Progress, warnings and errors go to stderr, so pipes stay clean:
zektor whoami --json | jq -r .email
Failures exit non-zero, so zektor … && next-command stops rather than continuing past an error the shell never saw.
Configuration
| Variable | Purpose |
|---|---|
ZEKTOR_TOKEN | Access token. Overrides the config file. |
ZEKTOR_API_URL | API base URL. Defaults to https://api.zektor.io. |
XDG_CONFIG_HOME | Honoured when set; config lives under $XDG_CONFIG_HOME/zektor/. |
ZEKTOR_MCP_ALLOW_DESTRUCTIVE | Set to 1 to register delete_instance on the MCP server. Unset, the tool does not exist. |
Roadmap
Next, roughly in order of how often they would be reached for:
- Backups — list, trigger, and restore to a point in time
- Roles — create and rotate Postgres credentials, which is also what would let
connectwork for Postgres rather than printing instructions - Logs — tail an instance, the one thing people currently open a browser for
Not planned: admin commands. The admin console is deliberately browser-only.
Development
npm install
npm run gen:api # regenerate types/api.d.ts from the API's OpenAPI document npm run build node dist/index.js whoami
Point the whole thing at a local API with ZEKTOR_API_URL=http://localhost:5098, including the MCP server — ZEKTOR_API_URL=http://localhost:5098 node dist/index.js mcp serves your development backend rather than production.
npm run gen:api writes the API's full OpenAPI types to types/, which is gitignored — it describes every endpoint including the admin surface, and nothing imports it. It is a tool for checking the hand-written interfaces in src/api.ts against the real contract, not a build inpu