Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Send tasks and notifications to people's phones. Answers build a queryable knowledge base.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SP_API_TOKEN, SP_INTEGRATION_TOKEN, SP_KEYS, SP_BASE_URL, SP_MAX_WAIT_SECONDS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.simplepu.sh/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"simplepu": {
"command": "npx",
"args": [
"-y",
"@simplepush/mcp"
],
"env": {
"SP_API_TOKEN": "your-value",
"SP_INTEGRATION_TOKEN": "your-value",
"SP_KEYS": "your-value",
"SP_BASE_URL": "your-value",
"SP_MAX_WAIT_SECONDS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http simplepu https://mcp.simplepu.sh/mcpclaude mcp add simplepu --env SP_API_TOKEN=your-value --env SP_INTEGRATION_TOKEN=your-value --env SP_KEYS=your-value --env SP_BASE_URL=your-value --env SP_MAX_WAIT_SECONDS=your-value -- npx -y @simplepush/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"simplepu": {
"url": "https://mcp.simplepu.sh/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"simplepu": {
"command": "npx",
"args": [
"-y",
"@simplepush/mcp"
],
"env": {
"SP_API_TOKEN": "your-value",
"SP_INTEGRATION_TOKEN": "your-value",
"SP_KEYS": "your-value",
"SP_BASE_URL": "your-value",
"SP_MAX_WAIT_SECONDS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"simplepu": {
"type": "http",
"url": "https://mcp.simplepu.sh/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"simplepu": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@simplepush/mcp"
],
"env": {
"SP_API_TOKEN": "your-value",
"SP_INTEGRATION_TOKEN": "your-value",
"SP_KEYS": "your-value",
"SP_BASE_URL": "your-value",
"SP_MAX_WAIT_SECONDS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.simplepu.sh/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SP_BASE_URL envSP_MAX_WAIT_SECONDS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
服务器要求先登录,才会列出它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 simplepu.sh 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 208 毫秒内响应(HTTP 401)
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SP_API_TOKEN, SP_INTEGRATION_TOKEN, SP_KEYS
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.5.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server for Simplepush. An agent sends tasks and notifications to people's phones and waits for the answers, appends follow-ups, cancels mistakes, and queries the record of everything that came back. Tasks, answers, replies, declines, and ad-hoc submissions stay queryable, so the stream doubles as a knowledge base of the work: what was asked, who answered what, and what is still open.
| Tool | What it does |
|---|---|
send_notification | Push for alerts and heads-ups. Can carry one input (a text input, a choice, or action buttons); returns right after sending unless wait_seconds is set. A copy per recipient by default — the result lists one notification_id per person; shared: true sends one all recipients see. |
send_task | Sends a task and waits for the answers. Takes the full input set (text, choice, actions, slider, photo, voice recording, file, location), a tag, a reply mode, expires_at, Markdown and links. A copy per recipient by default: waits for everyone, reports per-recipient results with the rest pending at the deadline. shared: true sends one task all recipients answer together, first answer wins. Every result carries the append_token. |
append_subtask | Appends a follow-up question or checklist item to a task or group, using the append_token from send_task. Never waits. |
cancel_task | Withdraws a task (tsk_), subtask (sub_) or whole group (grptsk_) by id, with an optional reason and note. |
get_task_answer | Resolves a task_id from an earlier send_task, or a subtask_id from append_subtask. |
get_notification_answer | Resolves what came back on a notification_id from an earlier send_notification with an input. |
query_tasks | One page of tasks as summaries: tag, topic, status, recipients, input kinds, attachment kinds, reply mode, sent time, subtask counts. Filters: status, time window, topic, member, group. |
get_task | One task with all its subtasks: questions, answers, replies, declines, file ids. |
get_group_status | Per-recipient status of a task group (grptsk_): who has answered, who has not. |
query_events | The org's activity history: answers, replies, submissions, declines, cancellations, expiries, with who and when. Last 7 days by default. |
query_submissions | Ad-hoc reports from the field (text, photo, file, voice, location), with who and when. Last 7 days by default. |
search_knowledge | Full-text and location search over everything: tasks and notifications, what people answered and replied, and ad-hoc submissions, across all time. Literal word matching, plus stemming in up to three languages; or a coordinate plus radius (or a polygon of corner points), returning the locations recorded within it, nearest first. Each hit carries the id to read in full (a group send hits once, as its grptsk_ id) and a snippet or a point with its distance. Plaintext records only. |
get_activity | Everything going on for one member or the whole org in one call: open/declined/expired tasks plus the window's answers, replies, declines, cancellations and submissions. The tool for "any problems with X?" and "catch me up". |
download_attachment | Fetches a photo, voice recording or file by scope_id (the tsk_/sub_/sbm_ id it belongs to) and file_id (an answer's inputId, a reply or submission file's id). Images are returned inline. |
The query tools work in both modes: an organization credential (an integration token, or the hosted connector signed in as an organization admin) reads the whole organization, a personal one (an API token, or the hosted connector with a personal API token) reads your personal stream (subscription required on personal accounts). On the hosted transport they need the read scope; download_attachment additionally needs files:read. Encrypted content is decrypted with the keys the server holds; anything it cannot open is left as ciphertext and reported.
A timeout in send_task is not a cancellation. The questions stay live on the phones, and answers are available later via get_task_answer or get_group_status. inputs says how the task is answered: text, single or multi choice, action buttons, slider, photo, voice recording, file, location. send_task waits 90 seconds by default; per-call wait_seconds raises that, up to SP_MAX_WAIT_SECONDS.
The server runs in one of two modes, decided by which credential you set.
Get an API token from the API Token screen in the Simplepush app, then:
{
"mcpServers": { "simplepush": { "command": "npx", "args": ["-y", "@simplepush/mcp"], "env": { "SP_API_TOKEN": "your-token" } } } }
Or with Claude Code:
claude mcp add simplepush --env SP_API_TOKEN=your-token -- npx -y @simplepush/mcp
Messages go to your own devices. Pass a topic to deliver to that topic's holders instead, as a single shared task where the first answer wins.
Create an integration token with the CLI (admin vault unlocked):
sp integration create
claude mcp add simplepush --env SP_INTEGRATION_TOKEN=spi_... -- npx -y @simplepush/mcp
Org mode unlocks full targeting: every send takes exactly one of topic, member (name or usr_ id), or broadcast. Only the tools the token's scopes cover are listed: a token minted with read files:read exposes the query and download tools and none of the send tools, which keeps the tool schemas a read-only agent carries per request to a minimum. If the org has encryption enabled, the token's second half unwraps the org master keys at startup and all sends are end-to-end encrypted; answers are decrypted the same way.
If both credentials are set, the integration token wins and a note goes to stderr. MCP clients spawn stdio servers with your shell environment attached, so an exported SP_API_TOKEN from unrelated CLI work rides along; setting SP_INTEGRATION_TOKEN is always deliberate.
| Variable | Default | Meaning |
|---|---|---|
SP_API_TOKEN | one credential required | Personal API token from the app. |
SP_INTEGRATION_TOKEN | one credential required | Org integration token from sp integration create. |
SP_KEYS | unset | Personal encryption keys, see below. |
SP_BASE_URL | https://api.simplepu.sh | API origin. Point at http://localhost:8000 for local development. |
SP_MAX_WAIT_SECONDS | 900 | Ceiling on how long send_task may block. Per-call wait_seconds is clamped to it. |
SP_POLL_INTERVAL_MS | 2000 | Gap between answer polls while blocking. |
SP_SCOPES | unset | Space- or comma-separated scope codes (send, read, files:read); only the tools they cover are listed. Narrows an integration token's own scopes; the only way to trim the listing for a personal API token, which the backend always treats as full access. |
Org mode encrypts automatically when the org has encryption enabled, as described above.
Personal sends are plaintext unless you provide keys. Encrypted and plaintext tasks are distinguishable at a glance in the app: encrypted ones carry the lock icon.
Keys are exported from the Simplepush app: Copy Key for Integrations on the Encryption screen for the Personal Password key, and the copy action next to a topic on the Topics screen for topic keys.
SP_KEYS is a comma-separated list. A bare base64 key is the Personal Password key, used for self-sends. topic=key binds a key to one topic:
SP_KEYS="AbC...=" # default key only
SP_KEYS="alerts=AbC...=,deploys=XyZ...=" # two topic keys SP_KEYS="AbC...=,alerts=XyZ...=" # both
With a matching key, sends to that target are encrypted and answers are decrypted. An answer the server holds no key for comes back with undecryptable: true rather than silently wrong.
Keys only. There is no SP_PASSWORD.
simplepush-mcp-http serves the same tools over Streamable HTTP as an OAuth resource server. No ambient credential: each request carries its own access token, verified by introspection against the authorization server and audience-checked against SP_CANONICAL_URI. Discovery metadata is served at /.well-known/oauth-protected-resource; the MCP endpoint is /mcp. GET /status is a public summary for uptime monitoring: 200 when the authorization server and the API both answer, 503 otherwise, with the same shape as the backend's /v1/status. Tools are scope-gated: send for send_notification, send_task, append_subtask and cancel_task, read for the answer and query tools, files:read for download_attachment. A grant lists only the tools its scopes cover; a direct call for anything else is refused with a challenge naming the missing scope.
Hosted mode is personal OAuth grants only. Integration tokens are not accepted there by design, and hosted sends are plaintext: a server that could decrypt for you would not be end-to-end.
| Variable | Default | Meaning |
|---|---|---|
SP_INTROSPECTION_SECRET | required | Bearer for the AS introspection endpoint. Must match the backend's oauth.introspectionSecret. |
SP_CANONICAL_URI | required | Public URL clients reach this server at, e.g. https://mcp.simplepu.sh/mcp. Tokens are audience-bound to it. |
SP_OAUTH_ISSUER | https://api.simplepu.sh | Origin of the authorization server, as clients see it. |
SP_AUTH_SERVER_URL | SP_OAUTH_ISSUER | Where this server reaches the authorization server for token introspection. Set it when the backend is closer on an internal address. |
SP_BASE_URL | https://api.simplepu.sh | API origin this server calls. |
SP_MCP_PORT | 8787 | Listen port. |
npm install
npm run build npm run typecheck
Smoke-test against a local backend without an MCP client:
npx @modelcontextprotocol/inspector --cli node dist/index.mjs \
-e SP_API_TOKEN=testtoken5678 -e SP_BASE_URL=http://localhost:8000 \ --method tools/list
Note that the Inspector does not forward your shell environment to the spawned server. Pass credentials with -e, not by exporting them.