
upkeep-mcp
io.github.tiagocalado86由 GitHub 账号 tiagocalado86 发布v0.6.1更新于 Nov 3, 2026
Website maintenance checks: domains, SSL, uptime, technical SEO and accessibility
概览
基于公开信息检查网站运维状况:域名到期、SSL、可用性、技术 SEO 与无障碍,并可生成整站组合报告。
- 可以做什么
- 检查域名:注册到期时间、注册商、DNS 记录、DNSSEC 签名与各权威服务器是否一致
- 检查 SSL 证书:到期、签发者、证书链有效性、SAN 覆盖、TLS 版本与 OCSP 吊销状态
- 探测可用性:HTTP 状态码、响应时间、重定向链、是否升级 HTTPS 及安全响应头
- 审计单个页面的 SEO:标题、meta、标题结构、canonical、robots.txt、站点地图与失效内链
- 爬取整站以发现重复标题、失效链接和遗留 noindex,并在无头浏览器中运行 axe-core 无障碍审计
- 对一组站点批量执行全部检查,输出按紧急程度排序的单一报告
- 适用场景
- 适合长期代管多个客户网站、需要每周快速判断哪些站点需要处理的人:域名或证书即将到期、宕机、SEO 退化与无障碍问题。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 22 或更高版本,无需 API 密钥或账号。无障碍审计还需用 Playwright 安装一次 Chromium;未安装时该工具会提示,其他检查照常可用。组合报告读取 sites.json 文件,或直接内联传入站点列表。
安装
在 SourceWeft 中
- 打开 控制台中的 upkeep-mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
upkeep-mcp
An MCP server for the recurring checks behind ongoing website maintenance: domains, SSL certificates, uptime, technical SEO and accessibility — all from publicly available information.
Built for people who look after a portfolio of client sites on a retainer, not just a single domain. The goal is to answer one question quickly: what needs attention this week?
Status
Early development, built in public phase by phase. Everything that needs no browser is implemented and useful today.
It also exposes the portfolio://sites resource (the site list, for a client to
read without spending a tool call) and the quarterly_report prompt (turns a
portfolio run into the report a client actually reads).
Published on npm, so it installs with one command — see Installation. A public instance is also running, for anyone who would rather point a client at a URL than run anything — see The hosted instance.
What it looks like
Note what the second one does: the chain verifies. Node performs no revocation lookup of its own, so that certificate completes a handshake and reports as trusted. Only asking its issuer finds the problem.
Every tool also returns structured data alongside the text, so results can be
sorted, filtered and fed into a report. Full input and output for each tool is in
examples/, and a whole portfolio session — the weekly triage, a
drill-down, and what the comparison against the previous run will and will not
claim — is in examples/conversation.md.
The tools
domain_check
Input: domain — a bare domain, a full URL, or an internationalised name. A
subdomain is reduced to its registrable domain, since that is what a registration
belongs to.
Returns the expiry date and days remaining, the registrar and its IANA ID,
registry statuses, A/AAAA/NS/MX/TXT/CAA records, whether the apex and www
resolve, whether the delegation is signed with DNSSEC, and what the domain's SPF
and DMARC records say about who may send email as it.
Email authentication is read from the domain's own DNS — the SPF record at the
apex, the DMARC record at _dmarc. A record that is absent is reported as
information, because it is a standing improvement rather than something that
broke this week. A record that is present and wrong is a warning, because it
fails right now: two SPF records make receivers skip SPF entirely, and +all
authorises the whole internet to send as the domain.
DKIM is deliberately not reported. A DKIM key lives at <selector>._domainkey,
and a selector cannot be discovered — only guessed, one DNS query per guess.
That is subdomain enumeration, which this project does not do, so a domain with
no DKIM and one whose selector was not guessed are left indistinguishable rather
than the second being reported as the first.
Each of the domain's own nameservers is then asked about the zone directly,
over TCP port 53 with recursion off, which is the one question a recursive
resolver cannot answer: it replies with whatever one server told it and does not
say which. That finds a server left in the delegation after a migration — it
answers REFUSED, or its own hostname stopped resolving, and every resolver
query landing there is slow or fails — and it finds nameservers holding
different versions of the zone, which is the "it works for me but not for my
colleague" outage.
What is a fault and what is only unestablished are graded apart. Resolvers ask
over UDP first and this server can only use TCP, so a nameserver that refuses
TCP is not a broken one: sapo.pt's four all refuse it and the domain resolves
perfectly. Different serials are info too — github.com runs two providers
that do not transfer between them, so four of its nameservers report
1656468023 and four report 1, and nothing is wrong. A hostname that does not
resolve, or an answer without authority for the zone, is broken for everybody
and is a warning. Pass checkNameservers: false to skip the whole thing —
portfolio_report does, because a portfolio would pay this per site and a
deployment that cannot open port 53 would grade every site at once as
unestablished.
docs/adr/0020 records why
it speaks DNS by hand and what it deliberately does not check.
ssl_check
Input: domain, optional port (443 by default).
Returns expiry and days remaining, issuer, whether the chain verifies and why not when it does not, which hostnames the certificate covers and via which SAN entry, the negotiated TLS version and cipher, and whether the certificate has been revoked. Expired, self-signed and untrusted certificates are inspected and reported rather than refused — those are the ones worth finding.
Revocation is checked over OCSP. The response a server staples to the handshake
is preferred, because it costs no request at all; when there is none, the
responder named in the certificate is asked directly. An answer is only believed
once its signature verifies against the issuing authority, and only once its
CertID is shown to be about the certificate that was actually served — a server
serving a revoked certificate alongside a valid response for a different one is
otherwise the easy way to fake a clean result.
Many healthy certificates cannot be checked at all: since 2025 the two largest
issuers, Let's Encrypt and Google Trust Services, publish no OCSP responder and
distribute revocation by CRL. That is reported as an unavailableReason and
produces no finding, because it is a decision of the certificate authority
and nothing the site owner can act on. A responder that was asked and would not
answer is different, and gets one unknown.
uptime_check
Input: url — a full URL, or a bare domain, which is tried over HTTPS.
Returns the status code, response time, every hop of the redirect chain, whether plain HTTP is upgraded to HTTPS, the HSTS policy, and the security headers worth reporting on.
seo_audit
Input: url — the page to audit, plus optional checkLinks (true by default)
and maxLinks (25 by default).
Returns title and meta description with their lengths, the heading structure,
canonical, lang, viewport, Open Graph, hreflang alternates, the images with
no alt attribute, the state of robots.txt and the sitemap, and which
internal links are broken.
A gzipped sitemap is unpacked before it is read. Whether it is gzipped is decided
by the first two bytes rather than by the file name or the content type, because
plenty of files called .xml.gz are not, and plenty that are get labelled
text/xml.
The sitemap is then checked against the rules of the protocol, because a file
that answers 200 and parses is not the same as a file that works: a root
element with no sitemaps.org namespace is dropped whole, an entry on another
host is discarded, and one unescaped & makes the document ill-formed XML and
costs every entry after it. Each broken rule is reported once with the number of
entries that break it and one example, so a mistake repeated across fifty
thousand URLs reads as one thing to fix. A rule that only costs a hint — a
<lastmod> that is not a W3C Datetime, a <changefreq> outside its seven
values — is graded info; one that costs the entry or the file is a warning.
robots.txt is read before anything else is requested and is obeyed — for
the page itself and for every internal link. A page this crawler is not allowed
to read is reported as such and is never fetched, and an unreadable robots.txt
is treated as forbidding everything, as RFC 9309 requires.
site_crawl
Input: url — the page to start from — plus optional maxPages (25 by default,
100 at most) and maxDepth (3 by default).
Walks the site breadth-first from that page and reports what one page cannot tell you about itself: which pages share a title, and therefore compete with each other for the same search result; which share a meta description; which internal links are broken and, crucially, which page links to them; which pages still ask not to be indexed after a rebuild; and how much of the site was reachable at all.
It stays on the origin you start it on — https://example.com and
https://www.example.com are different origins, and a crawl that wandered
between them would report one site's pages as duplicates of the other's. A link
that redirects off the site is counted and left alone: robots.txt was read for
this origin and does not speak for anybody else.
Three budgets bound it: pages, depth, and a two-minute deadline. Whichever one
ended the crawl is reported along with how many URLs were found and not visited,
because a report that does not say it saw a quarter of the site is worse than no
report. robots.txt is read first and obeyed for every URL before it is
requested; an unreadable one refuses the crawl outright, per RFC 9309.
It is deliberately not part of portfolio_report. Twenty-five pages per site
across a portfolio is a different order of cost, and
docs/adr/0021 — which
docs/adr/0010
predicted — records why it is a tool of its own rather than a depth parameter
on seo_audit.
portfolio_report
Input: sites inline, or file (defaults to sites.json), plus optional
checks and tags.
Runs every check across the whole portfolio with bounded concurrency and returns one report ordered by what needs action first: what is down, what expires soonest, what regressed since the last run. A site that cannot be checked becomes a finding, never a failure of the whole report.
Comparing across restarts. By default the previous run lives in this server process and nowhere else, so a client that restarts daily gets a comparison that never spans more than a day — and a quarter-over-quarter report cannot be produced from it at all. Add one line to the portfolio file:
and the run is written there instead, beside the portfolio file itself. The next
report compares against it however many restarts later, up to ninety days. The
file names your clients and says which were broken, so it is created readable by
your account alone and replaced on every run; without that line nothing is
written at all.
docs/adr/0018 records the reasoning.
Each site can set maxLinks — how many internal links the seo check may
request, 0 for none. It is the setting that decides what a run costs: measured
over twenty sites, the portfolio takes about eight seconds without seo and
around forty with it, because link checking is one request per link paced at
half a second per host.
The portfolio file format is documented in
sites.example.json. Copy it to sites.json — which is
gitignored, so a real client list never gets committed. file is resolved
against the directory the client started the server in, so give the full path
when that directory is not yours.
accessibility_audit
Input: url, plus optional standard (wcag2aa by default; also wcag2a,
wcag21aa, wcag22aa, best-practice).
Opens the page in a headless browser and runs axe-core over it. Returns the rules that failed, how many elements failed each, CSS selectors for the first few, and how many rules axe could not decide on its own.
This is the only tool that needs a browser, and it is optional: nothing is
downloaded when you install this project. Run npx playwright install chromium
once if you want it. Without it the tool says so and names that command, and
every other check carries on.
Automated rules find roughly a third of accessibility problems. A page with no violations passed the machine-checkable part, which is not the same as being usable — which is why the count of undecided rules is reported alongside.
Installation
Requires Node.js 22 or newer. Nothing else: installing downloads no browser,
and every check works without one except accessibility_audit.
Claude Code
Claude Desktop
Add the server to claude_desktop_config.json:
Restart the client and ask it to run the health tool. It answers with the
server version, the Node.js version and how long the process has been up.
A desktop client starts a server in a directory of its own choosing, usually
/. That matters for one thing only: portfolio_report and the
portfolio://sites resource look for sites.json there. Pass sites inline,
or give portfolio_report the full path — file: "/Users/you/sites.json".
From source
For development, or to run a branch:
The hosted instance
For anyone who cannot or would rather not run a server, there is a public one:
Point any MCP client that takes a remote server URL at it — in Claude, as a custom connector. Opening the host in a browser gives a plain page saying what it is.
It is a demo. No authentication, no availability promise, no support, and it
may be switched off without notice. npx -y upkeep-mcp is the supported way to
run this, and it is what you want if these checks matter to your work.
Every tool works there, accessibility_audit included — the image ships a
browser, and every request that browser makes goes through the same rules as the
rest of the server. Someone who cannot run a server themselves should not get a
weaker tool than someone who can.
One thing genuinely differs, and it is a property of running in public rather
than a compromise: it contacts only public addresses, and only three ports —
443, 80 when checking whether plain HTTP upgrades, and 53 for the nameservers a
domain itself publishes. So it refuses to check anything on your own network,
localhost included. Use the stdio server for those.
Running your own over HTTP
The transport is the same one the hosted instance uses:
The HTTP entrypoint is not the stdio one with a socket attached: a stranger is
not the person who started the process, so it applies the address and port rules
above and admits traffic through a per-caller rate limit.
docs/deploying.md covers running it on Google Cloud Run,
and docs/adr/0012 explains the guard
and what it does not close.
Security & privacy
This server never asks for, accepts or stores credentials. It reads only information that any person with a browser or a DNS resolver could read.
- No API keys, tokens or passwords — for any service, ever.
- No intrusive behaviour: no port scanning, no subdomain brute-forcing, no vulnerability probing. It inspects public configuration; it is not an offensive tool.
robots.txtis respected on any page crawl, with per-host rate limiting and an identifiableUser-Agentcarrying a contact URL.- No persistent sensitive state. Caching is in memory only, with a TTL. There is
no database. The one file this server ever writes is a portfolio run snapshot,
and only when a portfolio file names a
historypath for it. - The only third parties contacted are the ones that hold the answer: the
registry's own RDAP server, IANA's RDAP bootstrap file, and
cloudflare-dns.comfor the one questionnode:dnscannot ask (whether a DNSSEC delegation is signed).SECURITY.mdlists them and what each one learns.
Limitations
Stated plainly, because a tool that hides what it cannot do is worse than one that does less.
- Certificate revocation lists are not downloaded. Revocation is checked over
OCSP, and only over OCSP. A CRL is a file of every serial an authority has ever
revoked — megabytes, fetched to answer one question about one certificate — so
a certificate whose issuer publishes no responder is reported as unchecked,
with the reason, rather than being judged from a file this tool declined to
read. Since 2025 that covers Let's Encrypt and Google Trust Services, which is
a large share of the web. See
docs/adr/0017. - An OCSP answer is a point in time, not a subscription. Responders pre-sign
about a week ahead, so
goodmeans "not revoked as ofthisUpdate", and a certificate revoked an hour ago may still read as good until the authority publishes its next answer.producedAt,thisUpdateandnextUpdateare all reported so the age of the answer is visible rather than implied. - Some registries publish no expiry date.
.de,.nl,.no,.auand.fido not publish one over any protocol. The result names the registry and says so, instead of showing an indefinite "unknown". Registration data comes from RDAP only; there is no WHOIS fallback, anddocs/adr/0004explains why. - DNSSEC is not validated. The tool reports whether a delegation is signed and where it learned that. It never claims to have validated a chain.
- The parent's delegation is not compared with the zone's own. "The nameservers at the registrar are not the nameservers in the zone" is the other classic delegation fault, and answering it means querying the parent zone's servers for a referral — a second hop and a different feature. What is checked is whether the zone's own nameservers agree with each other.
- Response time includes connection setup. It is wall clock to the first response headers, covering DNS, TCP and TLS, so it is not a measure of server processing time.
seo_auditaudits one page, not a site. It requests the page's internal links to find broken ones, but it does not crawl: there is no second level. Auditing a site means calling it for the pages that matter.- The sitemap is checked against the protocol's rules, not against its XSD.
It establishes that the document exists, declares
<urlset>or<sitemapindex>, how many<loc>entries it holds, and whether it arrived gzipped — asitemap.xml.gzis unpacked before it is read, capped at 16 MiB so that a decompression bomb is refused rather than unpacked. It then checks the rules that decide whether a consumer keeps an entry: the namespace,<loc>present, absolute, escaped, within 2048 characters and on the sitemap's own host,<lastmod>a W3C Datetime,<changefreq>and<priority>within their ranges, and the 50,000-entry limit. There is no XML parser and no schema validator here, so four rules are deliberately left unchecked — the 50 MB size limit, an index listing another index, duplicate entries, and whether a<lastmod>is true.docs/adr/0019lists them and says why. The rules are checked against what was read, so a sitemap past the read limit is judged on the entries before the cut and the report says it was truncated — nodejs.org's stray entries on another host sit past it, and are not reported. - A page nested thousands of levels deep is refused, not audited. HTML
parsing costs roughly the square of the nesting depth, so a document built to
be absurd would block the server for minutes.
seo_auditmeasures the depth first and reports the refusal. - Accessibility is only checked as far as a machine can. Automated rules find roughly a third of real problems. The tool reports what axe could not decide rather than counting it as a pass, but no green result here is an accessibility statement.
- Nothing here judges how a page ranks.
seo_auditreports what is in the HTML. Rankings depend on things no public endpoint exposes. - "What changed since last time" lasts as long as the server process, unless
you ask for otherwise. By default the previous run is held in memory and
never written anywhere, so a restarted server — which for a desktop MCP client
is a daily event — has nothing to compare against, and says so rather than
implying nothing changed. Adding a
historypath to the portfolio file makes the comparison survive a restart, for up to ninety days; nothing is written without it. Only sites both runs measured the same way are compared, so a quick uptime-only pass never invents regressions in the run after it.docs/adr/0011anddocs/adr/0018explain the trade. - Only the previous run is kept, never a series. Each run replaces the last. A trend over quarters is a different feature with a different storage question, and it has not been asked for.
- Certificates and domains are judged on different clocks. A registration is a warning inside 30 days; a certificate only inside 14. ACME clients renew with 30 days left, so warning that early would fire on nearly every healthy site.
Documentation
CONTRIBUTING.md— development setup, and how to add a tooldocs/architecture.md— how a request flows, and how it is tested without a networkdocs/prior-art.md— the MCP servers that already do parts of this, what they do better, and the gap this one fillsdocs/deploying.md— running the HTTP instance, and what is different about itdocs/adr/— one short record per structural decision, including why the browser is optionalSECURITY.md— threat model and reporting policyCHANGELOG.md
License
MIT — see LICENSE.
来源:README.md,提交 366f8f0
工具
0版本历史
1- v0.6.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分