hmcp-gateway 0.0.2 → 0.1.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.
- package/LICENSE +77 -0
- package/README.md +41 -9
- package/bin/hmcp-gateway.js +20 -0
- package/catalog/atlassian.yaml +41 -0
- package/catalog/brave-search.yaml +57 -0
- package/catalog/context7.yaml +42 -0
- package/catalog/fetch.yaml +37 -0
- package/catalog/figma.yaml +48 -0
- package/catalog/filesystem.yaml +48 -0
- package/catalog/git.yaml +48 -0
- package/catalog/github.yaml +103 -0
- package/catalog/huggingface.yaml +59 -0
- package/catalog/linear.yaml +47 -0
- package/catalog/memory.yaml +47 -0
- package/catalog/notion.yaml +41 -0
- package/catalog/playwright.yaml +38 -0
- package/catalog/postgres.yaml +66 -0
- package/catalog/sentry.yaml +39 -0
- package/catalog/sequential-thinking.yaml +29 -0
- package/catalog/stripe.yaml +41 -0
- package/catalog/supabase.yaml +45 -0
- package/catalog/time.yaml +49 -0
- package/dist/adopt-cli.d.ts +351 -0
- package/dist/adopt-cli.js +1857 -0
- package/dist/adopt-emit.d.ts +64 -0
- package/dist/adopt-emit.js +248 -0
- package/dist/adopt-plan.d.ts +108 -0
- package/dist/adopt-plan.js +386 -0
- package/dist/catalog.d.ts +140 -0
- package/dist/catalog.js +250 -0
- package/dist/classify.d.ts +23 -0
- package/dist/classify.js +47 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +535 -0
- package/dist/client-allow.d.ts +42 -0
- package/dist/client-allow.js +95 -0
- package/dist/client-config.d.ts +200 -0
- package/dist/client-config.js +784 -0
- package/dist/config-source.d.ts +106 -0
- package/dist/config-source.js +156 -0
- package/dist/config.d.ts +159 -0
- package/dist/config.js +330 -0
- package/dist/connect-client.d.ts +49 -0
- package/dist/connect-client.js +249 -0
- package/dist/contracts.d.ts +251 -0
- package/dist/contracts.js +9 -0
- package/dist/credential.d.ts +63 -0
- package/dist/credential.js +136 -0
- package/dist/draft.d.ts +71 -0
- package/dist/draft.js +596 -0
- package/dist/exposure-cli.d.ts +28 -0
- package/dist/exposure-cli.js +119 -0
- package/dist/gateway.d.ts +756 -0
- package/dist/gateway.js +2106 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +26 -0
- package/dist/notify.d.ts +44 -0
- package/dist/notify.js +93 -0
- package/dist/oauth.d.ts +139 -0
- package/dist/oauth.js +641 -0
- package/dist/observe.d.ts +10 -0
- package/dist/observe.js +26 -0
- package/dist/open.d.ts +24 -0
- package/dist/open.js +31 -0
- package/dist/packs.d.ts +119 -0
- package/dist/packs.js +131 -0
- package/dist/pin-cli.d.ts +28 -0
- package/dist/pin-cli.js +103 -0
- package/dist/probe-upstream.d.ts +31 -0
- package/dist/probe-upstream.js +377 -0
- package/dist/registry-map.d.ts +39 -0
- package/dist/registry-map.js +390 -0
- package/dist/rule-cli.d.ts +51 -0
- package/dist/rule-cli.js +412 -0
- package/dist/serve-http.d.ts +67 -0
- package/dist/serve-http.js +478 -0
- package/dist/snippet.d.ts +20 -0
- package/dist/snippet.js +826 -0
- package/dist/status-cli.d.ts +61 -0
- package/dist/status-cli.js +195 -0
- package/dist/suggest-cli.d.ts +43 -0
- package/dist/suggest-cli.js +279 -0
- package/dist/toolname.d.ts +47 -0
- package/dist/toolname.js +149 -0
- package/dist/upstream-errors.d.ts +54 -0
- package/dist/upstream-errors.js +330 -0
- package/dist/upstream.d.ts +128 -0
- package/dist/upstream.js +413 -0
- package/dist/version.d.ts +10 -0
- package/dist/version.js +11 -0
- package/package.json +50 -6
- package/packs/brave-search.yaml +20 -0
- package/packs/context7.yaml +13 -0
- package/packs/fetch.yaml +14 -0
- package/packs/filesystem.yaml +79 -0
- package/packs/git.yaml +29 -0
- package/packs/github.yaml +47 -0
- package/packs/huggingface.yaml +16 -0
- package/packs/memory.yaml +23 -0
- package/packs/playwright.yaml +41 -0
- package/packs/sequential-thinking.yaml +13 -0
- 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,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# hmcp-gateway
|
|
2
2
|
|
|
3
3
|
A policy gateway for MCP servers you did not write and do not control.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
held
|
|
8
|
-
|
|
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
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
+
Full documentation, including the policy schema and what the gateway does and
|
|
39
|
+
does not protect against, is in the [repository README](https://github.com/aoutix/hardened-mcp#readme).
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
Free to use, including at work, and you may change it for your own use. You may not sell it,
|
|
44
|
+
publish it, share copies of it, or offer it to others as a service. The terms are the
|
|
45
|
+
[PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0)
|
|
46
|
+
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]
|
package/catalog/git.yaml
ADDED
|
@@ -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]
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Verified 2026-11-21 against github/github-mcp-server README and
|
|
2
|
+
# docs/remote-server.md: image ghcr.io/github/github-mcp-server (env
|
|
3
|
+
# GITHUB_PERSONAL_ACCESS_TOKEN, GITHUB_READ_ONLY); hosted
|
|
4
|
+
# https://api.githubcopilot.com/mcp/ answers Streamable HTTP with a 401 and
|
|
5
|
+
# OAuth metadata, but github.com offers no dynamic client registration, so the
|
|
6
|
+
# hosted variant uses the same personal token as a Bearer header (documented).
|
|
7
|
+
# `/readonly` restricts the hosted toolset to reading. No pack: no run with a
|
|
8
|
+
# real token was possible, so the tool names are not verified.
|
|
9
|
+
id: github
|
|
10
|
+
name: GitHub
|
|
11
|
+
category: developer
|
|
12
|
+
summary: Lets the AI read your GitHub code, issues and pull requests, and make changes when you say yes.
|
|
13
|
+
description: >-
|
|
14
|
+
The AI can look through repositories, issues and pull requests that your key
|
|
15
|
+
allows. The key you create below decides what it can reach: start with
|
|
16
|
+
read-only access to a few repositories. Once protection is on, anything that
|
|
17
|
+
changes GitHub asks you first. Your key is kept in the locked keys file, never in a settings
|
|
18
|
+
file.
|
|
19
|
+
publisher: { name: GitHub, official: true }
|
|
20
|
+
homepage: https://github.com/github/github-mcp-server
|
|
21
|
+
registry_name: io.github.github/github-mcp-server
|
|
22
|
+
variants:
|
|
23
|
+
- id: hosted
|
|
24
|
+
label: GitHub's hosted service
|
|
25
|
+
summary: Nothing to install. Your computer talks to GitHub directly.
|
|
26
|
+
launch:
|
|
27
|
+
transport: http
|
|
28
|
+
url: "https://api.githubcopilot.com/mcp/{{fields.access}}"
|
|
29
|
+
headers:
|
|
30
|
+
Authorization: { field: token, prefix: "Bearer " }
|
|
31
|
+
fields: [token, access]
|
|
32
|
+
- id: local
|
|
33
|
+
label: On this computer (Docker)
|
|
34
|
+
summary: Runs GitHub's server in Docker on this computer.
|
|
35
|
+
launch:
|
|
36
|
+
transport: stdio
|
|
37
|
+
command: docker
|
|
38
|
+
args: ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "-e", "GITHUB_READ_ONLY", "ghcr.io/github/github-mcp-server"]
|
|
39
|
+
env:
|
|
40
|
+
GITHUB_PERSONAL_ACCESS_TOKEN: { field: token }
|
|
41
|
+
GITHUB_READ_ONLY: "{{fields.read_only}}"
|
|
42
|
+
fields: [token, read_only]
|
|
43
|
+
requires: [docker]
|
|
44
|
+
fields:
|
|
45
|
+
- id: token
|
|
46
|
+
kind: secret
|
|
47
|
+
label: Your GitHub key
|
|
48
|
+
help: A fine-grained personal access token. It starts with github_pat_.
|
|
49
|
+
placeholder: github_pat_...
|
|
50
|
+
required: true
|
|
51
|
+
technical: GITHUB_PERSONAL_ACCESS_TOKEN
|
|
52
|
+
validate:
|
|
53
|
+
pattern: "^(github_pat_[A-Za-z0-9_]{20,}|ghp_[A-Za-z0-9]{30,})$"
|
|
54
|
+
message: A GitHub key starts with github_pat_ (or ghp_ for an older kind) and has no spaces.
|
|
55
|
+
- id: access
|
|
56
|
+
kind: choice
|
|
57
|
+
label: What the AI may do
|
|
58
|
+
default: readonly
|
|
59
|
+
choices:
|
|
60
|
+
- { value: readonly, label: "Only look (recommended to start)" }
|
|
61
|
+
- { value: "", label: "Look and make changes (each change asks you first)" }
|
|
62
|
+
- id: read_only
|
|
63
|
+
kind: toggle
|
|
64
|
+
label: Only let the AI look, not change anything
|
|
65
|
+
default: true
|
|
66
|
+
technical: GITHUB_READ_ONLY
|
|
67
|
+
guide:
|
|
68
|
+
- title: Open GitHub's key page
|
|
69
|
+
body: >-
|
|
70
|
+
Click the button below. GitHub opens the page for a new
|
|
71
|
+
**fine-grained personal access token**. Sign in if it asks.
|
|
72
|
+
link: { label: "Open GitHub's key page", url: "https://github.com/settings/personal-access-tokens/new" }
|
|
73
|
+
- title: Name it and set when it ends
|
|
74
|
+
body: >-
|
|
75
|
+
In **Token name**, type something you will recognise, such as
|
|
76
|
+
`hardened-mcp`. Under **Expiration**, pick 90 days or less: a key that
|
|
77
|
+
ends is safer, and you can make a new one later.
|
|
78
|
+
- title: Choose which repositories
|
|
79
|
+
body: >-
|
|
80
|
+
Under **Repository access**, choose **Only select repositories** and pick
|
|
81
|
+
the ones the AI should see. Choosing **All repositories** works too, but
|
|
82
|
+
gives the AI far more to look at.
|
|
83
|
+
- title: Set the permissions
|
|
84
|
+
body: >-
|
|
85
|
+
Under **Permissions**, click **Add permissions** (on older forms, open
|
|
86
|
+
**Repository permissions**) and set **Contents**, **Issues** and
|
|
87
|
+
**Pull requests** to **Read-only**.
|
|
88
|
+
(**Metadata** is set to read-only for you.) Leave everything else as
|
|
89
|
+
**No access**. If you later want the AI to open issues or pull requests,
|
|
90
|
+
come back and change those to **Read and write**.
|
|
91
|
+
- title: Create and copy the key
|
|
92
|
+
body: >-
|
|
93
|
+
Scroll down and click **Generate token**. GitHub shows the key once: it
|
|
94
|
+
starts with `github_pat_`. Click the copy button next to it and paste it
|
|
95
|
+
into **Your GitHub key** here. It goes straight into the locked keys file.
|
|
96
|
+
- title: Test it and save
|
|
97
|
+
body: >-
|
|
98
|
+
Click **Test it**. If GitHub refuses the key, you will see **The key was
|
|
99
|
+
not accepted**: check you copied all of it, then press **Replace the key**
|
|
100
|
+
and paste it again.
|
|
101
|
+
When it works, click **Save and turn on**.
|
|
102
|
+
try_prompt: List my five most recently updated repositories and their open issues.
|
|
103
|
+
keywords: [github, git, code, repository, issues, pull requests, pr]
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Verified 2026-11-21: https://huggingface.co/mcp answers Streamable HTTP
|
|
2
|
+
# without signing in (tool list in fixtures/huggingface.tools.json) and
|
|
3
|
+
# offers dynamic client registration at https://huggingface.co/oauth/register.
|
|
4
|
+
# A Bearer token header is also documented (evalstate/hf-mcp-server README).
|
|
5
|
+
id: huggingface
|
|
6
|
+
name: Hugging Face
|
|
7
|
+
category: knowledge
|
|
8
|
+
summary: Lets the AI search Hugging Face for AI models, datasets and demo apps.
|
|
9
|
+
description: >-
|
|
10
|
+
The AI can search and read about models, datasets and Spaces on Hugging
|
|
11
|
+
Face. Signing in adds the tools you choose in your Hugging Face settings.
|
|
12
|
+
publisher: { name: Hugging Face, official: true }
|
|
13
|
+
homepage: https://huggingface.co/settings/mcp
|
|
14
|
+
registry_name: co.huggingface/hf-mcp-server
|
|
15
|
+
variants:
|
|
16
|
+
- id: hosted
|
|
17
|
+
label: Sign in with Hugging Face
|
|
18
|
+
summary: Nothing to install.
|
|
19
|
+
launch:
|
|
20
|
+
transport: http
|
|
21
|
+
url: https://huggingface.co/mcp
|
|
22
|
+
oauth: true
|
|
23
|
+
- id: token
|
|
24
|
+
label: Use a Hugging Face key
|
|
25
|
+
summary: For when signing in does not work, or to use without an account.
|
|
26
|
+
launch:
|
|
27
|
+
transport: http
|
|
28
|
+
url: https://huggingface.co/mcp
|
|
29
|
+
headers:
|
|
30
|
+
Authorization: { field: token, prefix: "Bearer " }
|
|
31
|
+
fields: [token]
|
|
32
|
+
fields:
|
|
33
|
+
- id: token
|
|
34
|
+
kind: secret
|
|
35
|
+
label: Your Hugging Face key
|
|
36
|
+
help: A read-only access token. It starts with hf_. Leave empty to use without an account.
|
|
37
|
+
placeholder: hf_...
|
|
38
|
+
required: false
|
|
39
|
+
technical: Authorization
|
|
40
|
+
validate:
|
|
41
|
+
pattern: "^hf_[A-Za-z0-9]{20,}$"
|
|
42
|
+
message: A Hugging Face key starts with hf_ and has no spaces.
|
|
43
|
+
guide:
|
|
44
|
+
- title: Sign in, or make a read-only key
|
|
45
|
+
body: >-
|
|
46
|
+
The simplest way is **Sign in with Hugging Face**. If you prefer a key,
|
|
47
|
+
open the tokens page, click **New token**, choose **Read**, name
|
|
48
|
+
it `hardened-mcp` and copy the key (it starts with `hf_`).
|
|
49
|
+
link: { label: "Open Hugging Face's tokens page", url: "https://huggingface.co/settings/tokens" }
|
|
50
|
+
- title: Choose the tools (optional)
|
|
51
|
+
body: >-
|
|
52
|
+
On Hugging Face's MCP settings page you can pick which extra tools the
|
|
53
|
+
AI gets once signed in.
|
|
54
|
+
link: { label: Open MCP settings, url: "https://huggingface.co/settings/mcp" }
|
|
55
|
+
- title: Test it and save
|
|
56
|
+
body: Click **Test it**, then **Save and turn on**.
|
|
57
|
+
pack: huggingface
|
|
58
|
+
try_prompt: Find the three most downloaded text-to-speech models on Hugging Face.
|
|
59
|
+
keywords: [hugging face, huggingface, hf, models, datasets, ai, ml, spaces]
|