hmcp-gateway 0.0.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/LICENSE +77 -0
  2. package/README.md +135 -9
  3. package/bin/hmcp-gateway.js +20 -0
  4. package/catalog/atlassian.yaml +41 -0
  5. package/catalog/brave-search.yaml +57 -0
  6. package/catalog/context7.yaml +42 -0
  7. package/catalog/fetch.yaml +37 -0
  8. package/catalog/figma.yaml +48 -0
  9. package/catalog/filesystem.yaml +48 -0
  10. package/catalog/git.yaml +48 -0
  11. package/catalog/github.yaml +103 -0
  12. package/catalog/huggingface.yaml +59 -0
  13. package/catalog/linear.yaml +47 -0
  14. package/catalog/memory.yaml +47 -0
  15. package/catalog/notion.yaml +41 -0
  16. package/catalog/playwright.yaml +38 -0
  17. package/catalog/postgres.yaml +66 -0
  18. package/catalog/sentry.yaml +39 -0
  19. package/catalog/sequential-thinking.yaml +29 -0
  20. package/catalog/stripe.yaml +41 -0
  21. package/catalog/supabase.yaml +45 -0
  22. package/catalog/time.yaml +49 -0
  23. package/dist/adopt-cli.d.ts +355 -0
  24. package/dist/adopt-cli.js +1885 -0
  25. package/dist/adopt-emit.d.ts +64 -0
  26. package/dist/adopt-emit.js +248 -0
  27. package/dist/adopt-plan.d.ts +108 -0
  28. package/dist/adopt-plan.js +501 -0
  29. package/dist/catalog.d.ts +140 -0
  30. package/dist/catalog.js +250 -0
  31. package/dist/classify.d.ts +23 -0
  32. package/dist/classify.js +47 -0
  33. package/dist/cli.d.ts +2 -0
  34. package/dist/cli.js +656 -0
  35. package/dist/client-allow.d.ts +42 -0
  36. package/dist/client-allow.js +95 -0
  37. package/dist/client-config.d.ts +263 -0
  38. package/dist/client-config.js +995 -0
  39. package/dist/config-source.d.ts +106 -0
  40. package/dist/config-source.js +156 -0
  41. package/dist/config.d.ts +159 -0
  42. package/dist/config.js +330 -0
  43. package/dist/connect-client.d.ts +51 -0
  44. package/dist/connect-client.js +299 -0
  45. package/dist/contracts.d.ts +251 -0
  46. package/dist/contracts.js +9 -0
  47. package/dist/credential.d.ts +63 -0
  48. package/dist/credential.js +136 -0
  49. package/dist/desktop-extensions.d.ts +53 -0
  50. package/dist/desktop-extensions.js +126 -0
  51. package/dist/draft.d.ts +71 -0
  52. package/dist/draft.js +596 -0
  53. package/dist/exposure-cli.d.ts +28 -0
  54. package/dist/exposure-cli.js +119 -0
  55. package/dist/gateway.d.ts +766 -0
  56. package/dist/gateway.js +2122 -0
  57. package/dist/github-doors.d.ts +162 -0
  58. package/dist/github-doors.js +780 -0
  59. package/dist/guard-install.d.ts +109 -0
  60. package/dist/guard-install.js +396 -0
  61. package/dist/guard.d.ts +265 -0
  62. package/dist/guard.js +975 -0
  63. package/dist/import-client.d.ts +184 -0
  64. package/dist/import-client.js +578 -0
  65. package/dist/index.d.ts +31 -0
  66. package/dist/index.js +31 -0
  67. package/dist/notify.d.ts +44 -0
  68. package/dist/notify.js +93 -0
  69. package/dist/oauth.d.ts +139 -0
  70. package/dist/oauth.js +641 -0
  71. package/dist/observe.d.ts +10 -0
  72. package/dist/observe.js +26 -0
  73. package/dist/open.d.ts +24 -0
  74. package/dist/open.js +31 -0
  75. package/dist/packs.d.ts +119 -0
  76. package/dist/packs.js +131 -0
  77. package/dist/pin-cli.d.ts +28 -0
  78. package/dist/pin-cli.js +103 -0
  79. package/dist/probe-upstream.d.ts +31 -0
  80. package/dist/probe-upstream.js +377 -0
  81. package/dist/registry-map.d.ts +39 -0
  82. package/dist/registry-map.js +390 -0
  83. package/dist/rule-cli.d.ts +51 -0
  84. package/dist/rule-cli.js +412 -0
  85. package/dist/serve-http.d.ts +67 -0
  86. package/dist/serve-http.js +478 -0
  87. package/dist/snippet.d.ts +20 -0
  88. package/dist/snippet.js +826 -0
  89. package/dist/status-cli.d.ts +61 -0
  90. package/dist/status-cli.js +195 -0
  91. package/dist/suggest-cli.d.ts +43 -0
  92. package/dist/suggest-cli.js +279 -0
  93. package/dist/toml-edit.d.ts +43 -0
  94. package/dist/toml-edit.js +363 -0
  95. package/dist/toolname.d.ts +47 -0
  96. package/dist/toolname.js +149 -0
  97. package/dist/upstream-errors.d.ts +54 -0
  98. package/dist/upstream-errors.js +330 -0
  99. package/dist/upstream.d.ts +128 -0
  100. package/dist/upstream.js +413 -0
  101. package/dist/version.d.ts +10 -0
  102. package/dist/version.js +11 -0
  103. package/package.json +51 -6
  104. package/packs/brave-search.yaml +20 -0
  105. package/packs/context7.yaml +13 -0
  106. package/packs/fetch.yaml +14 -0
  107. package/packs/filesystem.yaml +79 -0
  108. package/packs/git.yaml +29 -0
  109. package/packs/github.yaml +47 -0
  110. package/packs/huggingface.yaml +16 -0
  111. package/packs/memory.yaml +23 -0
  112. package/packs/playwright.yaml +41 -0
  113. package/packs/sequential-thinking.yaml +13 -0
  114. package/packs/time.yaml +14 -0
package/LICENSE ADDED
@@ -0,0 +1,77 @@
1
+ Copyright (c) 2026 Aditya Das
2
+
3
+ Required Notice: Copyright (c) 2026 Aditya Das (https://github.com/aoutix/hardened-mcp)
4
+
5
+ hardened-mcp is free to use, including at work, and you may change it for your
6
+ own use. You may not sell it, publish it, share copies of it, or offer it to
7
+ others as a service. That summary is for convenience only: the terms that apply
8
+ are the PolyForm Internal Use License 1.0.0 below, together with the Additional
9
+ Permission that follows.
10
+
11
+ ## Additional Permission
12
+
13
+ In addition to the permitted purposes in the license below, the licensor
14
+ permits use of the software by an individual for personal purposes that are not
15
+ part of any business. This permission is subject to every other term of the
16
+ license below, and it does not allow distributing the software.
17
+
18
+ Third-party components bundled with the software keep their own licenses; see
19
+ THIRD-PARTY-NOTICES.md where one is included.
20
+
21
+ ---
22
+
23
+ # PolyForm Internal Use License 1.0.0
24
+
25
+ <https://polyformproject.org/licenses/internal-use/1.0.0>
26
+
27
+ ## Acceptance
28
+
29
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
30
+
31
+ ## Copyright License
32
+
33
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license), and you may not distribute the software.
34
+
35
+ ## Changes and New Works License
36
+
37
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
38
+
39
+ ## Patent License
40
+
41
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
42
+
43
+ ## Fair Use
44
+
45
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
46
+
47
+ ## Internal Business Use
48
+
49
+ Use of the software for the internal business operations of you and your company is use for a permitted purpose.
50
+
51
+ ## No Other Rights
52
+
53
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
54
+
55
+ ## Patent Defense
56
+
57
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
58
+
59
+ ## Violations
60
+
61
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
62
+
63
+ ## No Liability
64
+
65
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
66
+
67
+ ## Definitions
68
+
69
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
70
+
71
+ **You** refers to the individual or entity agreeing to these terms.
72
+
73
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
74
+
75
+ **Your licenses** are all the licenses granted to you for the software under these terms.
76
+
77
+ **Use** means anything you do with the software requiring one of your licenses.
package/README.md CHANGED
@@ -1,14 +1,140 @@
1
- # hardened-mcp
1
+ # hmcp-gateway
2
2
 
3
3
  A policy gateway for MCP servers you did not write and do not control.
4
4
 
5
- It sits between an AI agent and the servers it calls, and checks every action
6
- before it runs. Reads go through. Anything that writes, sends or deletes is
7
- held until a human approves that exact call. A tool nobody has classified
8
- cannot run at all. Every decision — allowed, refused or held — is written to a
9
- log you can verify afterwards.
5
+ `hmcp-gateway` sits between an agent and its MCP servers. Point the agent at the
6
+ gateway instead of the server and a tool can be switched off, a write can be
7
+ held for a human and bound to its exact arguments, and every decision is
8
+ recorded in a hash-chained log — without touching either side.
10
9
 
11
- You point your agent at the gateway instead of at the servers. Nothing else
12
- changes.
10
+ Most people never run this directly. [`npx hardened-mcp`](https://www.npmjs.com/package/hardened-mcp)
11
+ opens a console that sets up a gateway, adds servers from a ready-made catalog
12
+ (shipped here in `catalog/`, with ready-made rules for them in `packs/`) and
13
+ connects your AI app to it. This package is what that app then runs.
13
14
 
14
- **Not yet released.** This name is reserved.
15
+ ## Adopting the servers you already have
16
+
17
+ ```sh
18
+ npx hmcp-gateway adopt # report what wrapping them would do
19
+ npx hmcp-gateway adopt --apply # write the config and swap the client over
20
+ npx hmcp-gateway adopt --revert # put the original entries back
21
+ ```
22
+
23
+ `adopt` reads the MCP servers your client has configured, shows how each tool
24
+ would be classified and which ones would be refused, generates `gateway.yaml`
25
+ and `policy.yaml`, and replaces those entries with a single gateway entry. It
26
+ writes nothing without `--apply`.
27
+
28
+ ## Running it directly
29
+
30
+ ```sh
31
+ hmcp-gateway serve -c gateway.yaml # stdio
32
+ hmcp-gateway serve -c gateway.yaml --http # Streamable HTTP on 127.0.0.1:7878
33
+ hmcp-gateway tools -c gateway.yaml # what it would expose, and how it classified each tool
34
+ hmcp-gateway scan -c gateway.yaml # scan every upstream's advertised surface
35
+ hmcp-gateway exposure off <tool> # withdraw one tool and refuse every call to it
36
+ ```
37
+
38
+ ## Guarding every tool Claude Code uses
39
+
40
+ The gateway sees only the MCP servers it fronts. Claude Code also has a terminal,
41
+ file edits, web fetches, plugins and claude.ai connectors. The guard is a Claude Code
42
+ hook that checks each of those calls against the same policy before it runs:
43
+
44
+ ```sh
45
+ hmcp-gateway guard install --config ~/.hmcp/gateways/mine/gateway.yaml # all projects
46
+ hmcp-gateway guard install --config gateway.yaml --scope project # .claude/settings.local.json here
47
+ hmcp-gateway guard uninstall # takes out only its own hooks
48
+ ```
49
+
50
+ A project install writes `.claude/settings.local.json`, Claude Code's file for one
51
+ person's own settings, not the `settings.json` a team commits; if the project's
52
+ `.gitignore` does not list it, `install` says so.
53
+
54
+ In policy a Claude Code tool is called `claude-code__<tool>` (`claude-code__Bash`,
55
+ `claude-code__mcp__github__create_issue`), so a rule can match it. Reads (`Read`,
56
+ `Grep`, `WebFetch`…) and Claude Code's own session tools (plan mode, asking you a
57
+ question, its task list) are reads. File edits, scheduled tasks and every `Bash`
58
+ command are writes, and an MCP tool is classified by its name. A call that needs
59
+ approval waits in the console's "Waiting for you"; if nobody answers in time, Claude
60
+ Code is told to try the same call again once it is approved.
61
+
62
+ The toolbox's own tools (`mcp__hmcp__<server>__<tool>`) are left to the gateway, which
63
+ already decides them, but only when the `hmcp` server is in your own `~/.claude.json`
64
+ and is exactly the entry `adopt` or the console writes: `npx -y hmcp-gateway@<version>
65
+ serve -c <absolute path to this gateway.yaml>`, or this build's own `cli.js` run by an
66
+ absolute `node`. If any project (a `.mcp.json` here or in a parent folder, or a
67
+ per-project entry) defines a server called `hmcp`, whatever it says, nothing is
68
+ exempt. Those calls are checked like any other, and the log notes why
69
+ (`guard.lookalike-toolbox`).
70
+
71
+ A call that would switch the guard off is held for you whatever the policy says, in
72
+ observe mode too (`guard.protect-self`). That covers an edit to Claude Code's settings
73
+ files or `~/.claude.json`, or to the guard's config, policy, approvals database, audit
74
+ log or anything in `~/.hmcp`. It also covers a terminal command that names one of
75
+ those or runs `guard uninstall`.
76
+
77
+ A call the policy permits gets no answer from the guard, so Claude Code's own permission
78
+ prompts still apply. Restart Claude Code after installing.
79
+
80
+ **WebFetch can send information out.** Fetching a page counts as reading, so it runs
81
+ without asking, and anything Claude puts in the address goes to that site. The guard
82
+ does not stop that unless a rule names it. To be asked first:
83
+
84
+ ```yaml
85
+ - { id: webfetch-asks, match: "claude-code__WebFetch", decision: approve }
86
+ ```
87
+
88
+ ### If Claude Code refuses every tool
89
+
90
+ A guard that cannot start (its config was moved or broken, or the program it runs was
91
+ deleted) refuses every call, including the terminal and file edits, and its refusal
92
+ says how to switch it off: the exact command for the copy the hook runs. From a terminal
93
+ outside Claude Code, run that command; with a published version it is:
94
+
95
+ ```sh
96
+ npx -y hmcp-gateway@latest guard uninstall --scope user
97
+ npx -y hmcp-gateway@latest guard uninstall --scope project --project-dir /path/to/project
98
+ ```
99
+
100
+ Or open `~/.claude/settings.json` (or the project's `.claude/settings.local.json`) and
101
+ delete the entries under `"hooks"` whose command runs `hmcp-gateway … guard`. Then
102
+ restart Claude Code. `install` refuses to point the hook at anything inside a
103
+ `.claude/worktrees` folder, which Claude Code deletes, for this reason.
104
+
105
+ ### Agent SDK
106
+
107
+ For an agent you run yourself with the Claude Agent SDK, the same check runs in-process
108
+ (the SDK runs hooks even under `bypassPermissions`):
109
+
110
+ ```ts
111
+ import { query } from "@anthropic-ai/claude-agent-sdk";
112
+ import { hmcpGuardHooks } from "hmcp-gateway";
113
+
114
+ // Pinned and absolute, exactly as here: only this form is taken as the toolbox.
115
+ const mcpServers = { hmcp: { command: "npx", args: ["-y", "hmcp-gateway@0.2.0", "serve", "-c", "/srv/agent/gateway.yaml"] } };
116
+ const hooks = hmcpGuardHooks({ config: "/srv/agent/gateway.yaml", mcpServers });
117
+
118
+ for await (const message of query({
119
+ prompt: "Tidy up the release notes",
120
+ options: { hooks, mcpServers }
121
+ })) {
122
+ console.log(message);
123
+ }
124
+ ```
125
+
126
+ Each matcher comes with a `timeout` 30 seconds longer than the approval wait, and
127
+ `onFailure: "block"`. The hook timeout has to stay longer than the wait: if you set
128
+ your own, keep it above the wait (`approvals.wait_seconds`, or 120). If the SDK gives
129
+ up anyway, the guard stops waiting at once and refuses the call, and an approval
130
+ given afterwards is kept for the retry.
131
+
132
+ Full documentation, including the policy schema and what the gateway does and
133
+ does not protect against, is in the [repository README](https://github.com/aoutix/hardened-mcp#readme).
134
+
135
+ ## License
136
+
137
+ Free to use, including at work, and you may change it for your own use. You may not sell it,
138
+ publish it, share copies of it, or offer it to others as a service. The terms are the
139
+ [PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0)
140
+ with an added permission for personal use; see `LICENSE`. © 2026 Aditya Das
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ /*
3
+ * The entry point npm links as `hmcp-gateway`.
4
+ *
5
+ * It is this file, and not dist/cli.js, because npm links a command when it
6
+ * installs and only if the file is already there. dist/ does not exist in a
7
+ * fresh clone until the build has run, so pointing the command at it meant the
8
+ * command was never linked, and `npx hmcp-gateway` went looking on the registry.
9
+ */
10
+ import { existsSync } from "node:fs";
11
+ import { fileURLToPath } from "node:url";
12
+
13
+ const cli = new URL("../dist/cli.js", import.meta.url);
14
+
15
+ if (!existsSync(fileURLToPath(cli))) {
16
+ process.stderr.write("hmcp-gateway has not been built yet. From the repository root, run:\n\n npm run build\n\n");
17
+ process.exit(1);
18
+ }
19
+
20
+ await import(cli.href);
@@ -0,0 +1,41 @@
1
+ # Verified 2026-11-21: https://mcp.atlassian.com/v2/mcp (the README's
2
+ # recommended endpoint) answers Streamable HTTP with a 401 pointing at OAuth
3
+ # metadata; dynamic client registration at auth.atlassian.com/.../dcr/register.
4
+ # No pack.
5
+ id: atlassian
6
+ name: Jira and Confluence (Atlassian)
7
+ category: productivity
8
+ summary: Lets the AI search and read your Jira issues and Confluence pages, and edit them when you say yes.
9
+ description: >-
10
+ After you sign in, the AI can search Jira issues and Confluence pages you
11
+ can see. Once protection is on, creating or editing issues and pages asks you first. Your
12
+ Atlassian administrator may need to allow the connection first.
13
+ publisher: { name: Atlassian, official: true }
14
+ homepage: https://github.com/atlassian/atlassian-mcp-server
15
+ registry_name: com.atlassian/atlassian-mcp-server
16
+ variants:
17
+ - id: hosted
18
+ label: Atlassian's hosted service
19
+ summary: Nothing to install. Sign in with your Atlassian account.
20
+ launch:
21
+ transport: http
22
+ url: https://mcp.atlassian.com/v2/mcp
23
+ oauth: true
24
+ fields: []
25
+ guide:
26
+ - title: Sign in with Atlassian
27
+ body: >-
28
+ Click **Sign in with Jira and Confluence (Atlassian)**. A new tab opens on Atlassian's own page: sign in
29
+ there and click **Accept** to let this computer connect. You never type a
30
+ password here; Atlassian hands over a sign-in that is kept in the locked keys
31
+ file and renewed automatically.
32
+ - title: Pick your site
33
+ body: >-
34
+ If you belong to more than one Atlassian site, choose the one the AI
35
+ should see. If Atlassian says your organisation has not allowed this,
36
+ ask your administrator to allow the Atlassian MCP server.
37
+ link: { label: "Atlassian's setup help", url: "https://support.atlassian.com/atlassian-rovo-mcp-server/docs/getting-started-with-the-atlassian-remote-mcp-server/" }
38
+ - title: Test it and save
39
+ body: Click **Test it**, then **Save and turn on**.
40
+ try_prompt: Find the open Jira issues assigned to me and summarise each in one line.
41
+ keywords: [jira, confluence, atlassian, issues, wiki, tickets]
@@ -0,0 +1,57 @@
1
+ # Verified 2026-11-21: npm @brave/brave-search-mcp-server 2.2.0, run locally
2
+ # with a placeholder key; tool list in fixtures/brave-search.tools.json. Env
3
+ # BRAVE_API_KEY per the README; keys at api-dashboard.search.brave.com.
4
+ id: brave-search
5
+ name: Brave Search
6
+ category: web
7
+ summary: Lets the AI search the web with Brave Search.
8
+ description: >-
9
+ The AI can search the web, news, images and videos through Brave's search
10
+ service. It needs a free Brave Search key. Searches go to Brave; nothing on
11
+ your computer is read.
12
+ publisher: { name: Brave, official: true }
13
+ homepage: https://github.com/brave/brave-search-mcp-server
14
+ registry_name: io.github.brave/brave-search-mcp-server
15
+ requires: [node]
16
+ variants:
17
+ - id: local
18
+ label: On this computer
19
+ launch:
20
+ transport: stdio
21
+ command: npx
22
+ args: ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"]
23
+ env:
24
+ BRAVE_API_KEY: { field: api_key }
25
+ fields: [api_key]
26
+ requires: [node]
27
+ fields:
28
+ - id: api_key
29
+ kind: secret
30
+ label: Your Brave Search key
31
+ help: From the Brave Search API dashboard. It is a long string of letters and numbers.
32
+ required: true
33
+ technical: BRAVE_API_KEY
34
+ validate:
35
+ pattern: "^[A-Za-z0-9_-]{20,}$"
36
+ message: The key is a long run of letters and numbers with no spaces.
37
+ guide:
38
+ - title: Make a Brave Search account
39
+ body: >-
40
+ Click the button below and sign up for the **Brave Search API**. Pick the
41
+ free plan; Brave may ask for a card to prevent abuse even on the free plan.
42
+ link: { label: Open Brave Search API, url: "https://api-dashboard.search.brave.com/" }
43
+ - title: Create a key
44
+ body: >-
45
+ In the dashboard, open **API Keys** and click **Add API key**. Name it
46
+ `hardened-mcp`, then copy the key it shows.
47
+ link: { label: Open the API keys page, url: "https://api-dashboard.search.brave.com/app/keys" }
48
+ - title: Paste it here, test and save
49
+ body: >-
50
+ Paste the key into **Your Brave Search key**, click **Test it**, then
51
+ **Save and turn on**. Searches only read, so they run freely.
52
+ pack: brave-search
53
+ try_prompt: Search the web for this week's biggest science news and give me three headlines.
54
+ keywords: [search, web, brave, news, images]
55
+ # Test it makes one small search, so a wrong key shows up now rather than
56
+ # the first time the AI searches (listing the tools needs no key).
57
+ check: { tool: brave_web_search, args: { query: "hardened-mcp", count: 1 } }
@@ -0,0 +1,42 @@
1
+ # Verified 2026-11-21: https://mcp.context7.com/mcp answers Streamable HTTP
2
+ # without a key; tool list from a real run in fixtures/context7.tools.json.
3
+ # Optional key as "Authorization: Bearer" per the upstash/context7 README.
4
+ id: context7
5
+ name: Context7 (library docs)
6
+ category: developer
7
+ summary: Lets the AI look up current documentation for programming libraries.
8
+ description: >-
9
+ When the AI writes code, it can fetch up-to-date documentation for the
10
+ library it is using instead of guessing from memory. Your questions about a
11
+ library are sent to Context7. A free key is optional and raises the limits.
12
+ publisher: { name: Upstash, official: true }
13
+ homepage: https://github.com/upstash/context7
14
+ registry_name: io.github.upstash/context7
15
+ variants:
16
+ - id: hosted
17
+ label: Context7's hosted service
18
+ summary: Nothing to install.
19
+ launch:
20
+ transport: http
21
+ url: https://mcp.context7.com/mcp
22
+ headers:
23
+ Authorization: { field: api_key, prefix: "Bearer " }
24
+ fields: [api_key]
25
+ fields:
26
+ - id: api_key
27
+ kind: secret
28
+ label: Your Context7 key
29
+ help: Leave empty to start. Add a free key later if you reach the free limit.
30
+ required: false
31
+ technical: Authorization
32
+ guide:
33
+ - title: Decide whether you need a key
34
+ body: >-
35
+ Context7 works without a key. If you use it a lot, make a free key on
36
+ the Context7 dashboard and paste it below.
37
+ link: { label: Open the Context7 dashboard, url: "https://context7.com/dashboard" }
38
+ - title: Test it and save
39
+ body: Click **Test it**, then **Save and turn on**. Lookups only read, so they run freely.
40
+ pack: context7
41
+ try_prompt: Use Context7 to show me how to make a fetch request with a timeout in Node.js.
42
+ keywords: [context7, upstash, docs, documentation, library, code, api]
@@ -0,0 +1,37 @@
1
+ # Verified 2026-11-21: PyPI mcp-server-fetch 2026.11.11, run locally (pip copy
2
+ # of the same version); tool list in fixtures/fetch.tools.json.
3
+ id: fetch
4
+ name: Fetch web pages
5
+ category: web
6
+ summary: Lets the AI open a web page and read it as text.
7
+ description: >-
8
+ The AI can download a web page and read it. Once protection is on, each page it
9
+ wants to open asks you first, because the address it chooses could carry information out of
10
+ your conversation. It cannot log in to websites or fill in forms.
11
+ publisher: { name: Model Context Protocol, official: true }
12
+ homepage: https://github.com/modelcontextprotocol/servers/tree/main/src/fetch
13
+ requires: [uv]
14
+ variants:
15
+ - id: local
16
+ label: On this computer
17
+ launch:
18
+ transport: stdio
19
+ command: uvx
20
+ args: ["mcp-server-fetch"]
21
+ requires: [uv]
22
+ fields: []
23
+ guide:
24
+ - title: Make sure "uv" is installed
25
+ body: >-
26
+ This server runs with a small free helper called **uv**. If this
27
+ computer doesn't have it, the yellow box above shows how to install it.
28
+ No yellow box means uv is already here.
29
+ link: { label: How to install uv, url: "https://docs.astral.sh/uv/getting-started/installation/" }
30
+ - title: Test it and save
31
+ body: >-
32
+ There is nothing to fill in. Click **Test it**, then **Save and turn on**.
33
+ Once protection is on, each page the AI wants to open asks you first;
34
+ you can tell it to remember sites you trust.
35
+ pack: fetch
36
+ try_prompt: Open https://modelcontextprotocol.io and summarise what MCP is in three sentences.
37
+ keywords: [web, fetch, url, page, browse, read]
@@ -0,0 +1,48 @@
1
+ # Verified 2026-11-21: Figma's hosted server (https://mcp.figma.com/mcp)
2
+ # refuses dynamic client registration (403) and only admits clients in
3
+ # Figma's own catalog, so it is not offered. The desktop server is documented
4
+ # at developers.figma.com/docs/figma-mcp-server/local-server-installation:
5
+ # http://127.0.0.1:3845/mcp, Streamable HTTP, Dev or Full seat on a paid plan.
6
+ # Not run (needs the Figma app), so no pack.
7
+ id: figma
8
+ name: Figma (desktop app)
9
+ category: design
10
+ summary: Lets the AI read the design you have open in the Figma desktop app.
11
+ description: >-
12
+ With the Figma desktop app open, the AI can read the frames, styles and
13
+ components of your current design and turn them into code. It cannot change
14
+ your designs. It needs a Dev or Full seat on a paid Figma plan.
15
+ publisher: { name: Figma, official: true }
16
+ homepage: https://developers.figma.com/docs/figma-mcp-server/local-server-installation
17
+ registry_name: com.figma.mcp/mcp
18
+ variants:
19
+ - id: desktop
20
+ label: Figma desktop app on this computer
21
+ summary: Talks to the Figma app running on this computer.
22
+ launch:
23
+ transport: http
24
+ url: http://127.0.0.1:3845/mcp
25
+ fields: []
26
+ guide:
27
+ - title: Install and open the Figma desktop app
28
+ body: >-
29
+ This works with the **Figma desktop app**, not Figma in a web browser.
30
+ Install it if you have not, open it and sign in.
31
+ link: { label: Download Figma, url: "https://www.figma.com/downloads/" }
32
+ - title: Turn on the desktop MCP server
33
+ body: >-
34
+ Open any design file. With nothing selected, switch to **Dev Mode**
35
+ (the toggle in the toolbar, or press Shift+D). In the right sidebar,
36
+ find **MCP server** and click **Enable desktop MCP server**. A message
37
+ at the bottom confirms it is running.
38
+ - title: Allow this computer's own address
39
+ body: >-
40
+ The Figma app listens on an address on this computer (127.0.0.1).
41
+ Saving will ask you to allow connections to this computer's own
42
+ addresses; that is expected here.
43
+ - title: Test it and save
44
+ body: >-
45
+ Keep Figma open and click **Test it**, then **Save and turn on**. The
46
+ AI can only reach Figma while the app is open.
47
+ try_prompt: Describe the frame I have selected in Figma and list its colours.
48
+ keywords: [figma, design, ui, frames, components]
@@ -0,0 +1,48 @@
1
+ # Verified 2026-11-21: npm @modelcontextprotocol/server-filesystem 2.4.0, run
2
+ # locally; tool list in fixtures/filesystem.tools.json.
3
+ id: filesystem
4
+ name: Files on this computer
5
+ category: files
6
+ summary: Lets the AI read and edit files, but only inside the folders you choose.
7
+ description: >-
8
+ The AI can list, read, search and edit files in the folders you pick here.
9
+ Reading runs freely. Once protection is on, changes ask you first; anything
10
+ outside the folders you chose is blocked.
11
+ publisher: { name: Model Context Protocol, official: true }
12
+ homepage: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
13
+ requires: [node]
14
+ variants:
15
+ - id: local
16
+ label: On this computer
17
+ launch:
18
+ transport: stdio
19
+ command: npx
20
+ args: ["-y", "@modelcontextprotocol/server-filesystem", "{{...fields.folders}}"]
21
+ fields: [folders]
22
+ requires: [node]
23
+ fields:
24
+ - id: folders
25
+ kind: folders
26
+ label: Folders the AI may use
27
+ help: Pick one or more folders. Start small, such as one project folder, rather than your whole home folder.
28
+ required: true
29
+ guide:
30
+ - title: Choose the folders
31
+ body: >-
32
+ Click **Choose folders** and pick a folder the AI should be able to work in,
33
+ for example a project folder or a folder of notes. You can add more than
34
+ one. Avoid picking your whole home folder: the AI would then be able to
35
+ read every file you have.
36
+ - title: Test it
37
+ body: >-
38
+ Click **Test it**. You will see the list of things the AI can now do,
39
+ such as "read_file" and "write_file", and which of them will ask you
40
+ first. Nothing is saved yet.
41
+ - title: Save and turn on
42
+ body: >-
43
+ Click **Save and turn on**. Reading runs freely. Once protection is on,
44
+ changes ask you first; anything outside the folders you chose is blocked.
45
+ pack: filesystem
46
+ pack_within_field: folders
47
+ try_prompt: List the files in my folder and tell me what each one is for.
48
+ keywords: [filesystem, file system, files, folders, documents, read, write, disk]
@@ -0,0 +1,48 @@
1
+ # Verified 2026-11-21: PyPI mcp-server-git 2026.11.18, run locally (pip copy
2
+ # of the same version); tool list in fixtures/git.tools.json.
3
+ id: git
4
+ name: Git
5
+ category: developer
6
+ summary: Lets the AI look at a code project's history and changes, and make commits when you say yes.
7
+ description: >-
8
+ Works with one Git repository (a code project folder) on this computer. The
9
+ AI can see what changed, read the history and look at branches without
10
+ asking. Once protection is on, adding, committing, switching branches or
11
+ resetting asks you first.
12
+ It cannot push to GitHub or anywhere else.
13
+ publisher: { name: Model Context Protocol, official: true }
14
+ homepage: https://github.com/modelcontextprotocol/servers/tree/main/src/git
15
+ requires: [uv, git]
16
+ variants:
17
+ - id: local
18
+ label: On this computer
19
+ launch:
20
+ transport: stdio
21
+ command: uvx
22
+ args: ["mcp-server-git", "--repository", "{{fields.repository}}"]
23
+ fields: [repository]
24
+ requires: [uv, git]
25
+ fields:
26
+ - id: repository
27
+ kind: folder
28
+ label: The project folder
29
+ help: The folder that holds your code project (it has a hidden .git folder inside).
30
+ required: true
31
+ guide:
32
+ - title: Make sure "uv" is installed
33
+ body: >-
34
+ This server runs with a small free helper called **uv**. If this
35
+ computer doesn't have it, the yellow box above shows how to install it.
36
+ No yellow box means uv is already here.
37
+ link: { label: How to install uv, url: "https://docs.astral.sh/uv/getting-started/installation/" }
38
+ - title: Pick your project folder
39
+ body: >-
40
+ Click **Choose a folder** and pick the folder of the code project you want
41
+ the AI to look at. It must be a Git project.
42
+ - title: Test it and save
43
+ body: >-
44
+ Click **Test it**, check the list, then **Save and turn on**. Looking at
45
+ changes runs freely; once protection is on, every change asks you first.
46
+ pack: git
47
+ try_prompt: What changed in my project since the last commit?
48
+ keywords: [git, code, commits, diff, history, repository]