GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Deploy repositories or local folders to private Pocketnook URLs from any MCP client.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
POCKETNOOK_TOKEN, POCKETNOOK_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"pocketnook": {
"command": "npx",
"args": [
"-y",
"@pocketnook/mcp"
],
"env": {
"POCKETNOOK_TOKEN": "your-value",
"POCKETNOOK_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add pocketnook --env POCKETNOOK_TOKEN=your-value --env POCKETNOOK_URL=your-value -- npx -y @pocketnook/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pocketnook": {
"command": "npx",
"args": [
"-y",
"@pocketnook/mcp"
],
"env": {
"POCKETNOOK_TOKEN": "your-value",
"POCKETNOOK_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pocketnook": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pocketnook/mcp"
],
"env": {
"POCKETNOOK_TOKEN": "your-value",
"POCKETNOOK_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
POCKETNOOK_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 shotintoeternity 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:POCKETNOOK_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Deploy a repository to a private URL without leaving the agent that wrote it.
> deploy this somewhere private
owner/studio-board is deployed: https://pocketnook.dev/s/nook-…/ It is private — only you can open it until you share it. (static, 42 files)
The deploy step belongs inside the tool where the software is being written, which is both the distribution and the product.
1. Get a token. Sign in at pocketnook.dev, open Agent access on the home page, and create one. It is shown once.
2. Add the server.
claude mcp add pocketnook \
--env POCKETNOOK_TOKEN=pnka_… \ -- npx -y @pocketnook/mcp
Or, from a checkout of this repository, point at the entry directly:
claude mcp add pocketnook \
--env POCKETNOOK_TOKEN=pnka_… \ -- node /absolute/path/to/apps/mcp/bin/pocketnook-mcp.mjs
The server has no dependencies and runs on Node 22.18 or newer — the floor package.json declares, so an older Node warns rather than silently half-works. Any MCP client works; the commands above are Claude Code's.
3. Optionally add the skill, which teaches the agent the things the tool descriptions cannot say on their own — that a deploy builds what is pushed rather than what is on disk, and that sharing does not notify anyone:
cp -r skills/pocketnook ~/.claude/skills/
This repository is also a Claude Code plugin: the skill above and the MCP server, wired together, with the token read from your environment.
claude plugin marketplace add shotintoeternity/pocketnook-mcp
claude plugin install pocketnook@pocketnook-mcp
Then check it: claude plugin details pocketnook@pocketnook-mcp should report one skill and one MCP server.
That check is worth running, because the obvious one does not cover it. claude plugin validate reads plugin.json and the skills, and does not read `.mcp.json` at all — it reports ✔ Validation passed on a plugin whose .mcp.json is not even parseable JSON. details is what counts the components, and it reports MCP servers (0) for exactly that plugin.
The marketplace manifest and the plugin manifest are both here, in one repository, because a plugin-only repository is not installable: plugin marketplace add fails with *Marketplace file not found*, and plugin install answers *not found in any configured marketplace*. .claude-plugin/marketplace.json lists this repository's root as its one plugin.
| Variable | Meaning |
|---|---|
POCKETNOOK_TOKEN | An agent token. Required. |
POCKETNOOK_URL | Base URL, if not https://pocketnook.dev. |
| Tool | What it does |
|---|---|
deploy | Deploy a GitHub repository — the tip of its default branch — and return its private URL. |
deploy_directory | Deploy a directory from this machine as it is on disk. No repository needed. |
list_nooks | Everything this account has deployed, with URLs and status. |
nook_logs | Build output — the first thing to read when a deploy went wrong. |
stop_nook | Take a nook offline, keeping its URL, grants, and secrets. |
deploy builds what GitHub has. deploy_directory uploads what is on the disk, including uncommitted work, and needs no repository at all. It exists because the person an agent is writing for may never make a push.
They are not merged into one tool with a heuristic, because the heuristic has two silent failure modes: guess towards the repository and an afternoon of work is quietly not deployed; guess towards the directory and half-finished local edits go live. Neither announces itself, which is what makes the guess unaffordable: a wrong answer that stays quiet is worse than a question.
There is no delete tool. Deleting a nook destroys its grants and secrets and cannot be undone, so it stays a decision made on a page that can say so; stop is the recoverable version of the same intent. There is nothing for managing tokens either — the gateway refuses a token on /api/tokens entirely, so an agent cannot extend its own credential or revoke the one being used to stop it.
`share_nook` and `set_nook_secret` were removed on 2026-08-01. They shipped here on 2026-07-27 and then a design decision made both routes session-only — *a token deploys, a session administers.* They did not become ill-advised, they became impossible: sessionOnly in the gateway answers any bearer token with 401. A tool that can never succeed is worse than no tool, because an agent reads the refusal as transient and retries it. Setting a secret, sharing a nook and deleting one all happen in the browser now, and the server's MCP instructions say so, so a model sends its person there rather than inventing a workaround such as committing the secret into the project.
An agent token acts as the account that minted it, on that account's own nooks. Three limits are enforced by pocketnook's gateway, and tested there — they are properties of the server, not of this client, so a modified copy of this code cannot widen them:
/s/:id/ reads the session cookie and nothing else. A token is one more way to deploy and no new way to read.Tokens are stored as a SHA-256 hash, expire after 90 days, and can be revoked from the same panel that created them.
list_nooks or pocketnook.dev/home rather than deploying again./s/:id/, so an app that requests /logo.png escapes its own prefix. Apps that use relative paths (for example Vite's base: './') are unaffected.~ would upload SSH keys and cloud credentials along with the project. Uploads are capped at 32 MB by the gateway; node_modules, .git and build caches are left out.--- begin build output --- markers that say whose text it is. That is a mitigation, not a fix: an instruction written into a build log is ordinary text and no escaping removes it. The markers give the model the context to discount it.npm test # node --test, no dependencies
To drive the protocol by hand:
printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node bin/pocketnook-mcp.mjs