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.
- package/LICENSE +77 -0
- package/README.md +135 -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 +355 -0
- package/dist/adopt-cli.js +1885 -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 +501 -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 +656 -0
- package/dist/client-allow.d.ts +42 -0
- package/dist/client-allow.js +95 -0
- package/dist/client-config.d.ts +263 -0
- package/dist/client-config.js +995 -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 +51 -0
- package/dist/connect-client.js +299 -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/desktop-extensions.d.ts +53 -0
- package/dist/desktop-extensions.js +126 -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 +766 -0
- package/dist/gateway.js +2122 -0
- package/dist/github-doors.d.ts +162 -0
- package/dist/github-doors.js +780 -0
- package/dist/guard-install.d.ts +109 -0
- package/dist/guard-install.js +396 -0
- package/dist/guard.d.ts +265 -0
- package/dist/guard.js +975 -0
- package/dist/import-client.d.ts +184 -0
- package/dist/import-client.js +578 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +31 -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/toml-edit.d.ts +43 -0
- package/dist/toml-edit.js +363 -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 +51 -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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# The GitHub MCP server.
|
|
2
|
+
#
|
|
3
|
+
# Reads are allowed, everything that changes a repository waits for a person,
|
|
4
|
+
# and nothing here is classified as a read on the strength of its name alone.
|
|
5
|
+
# Exact tool names only; `adopt` writes the ones that matched and reports the
|
|
6
|
+
# rest.
|
|
7
|
+
#
|
|
8
|
+
# A tool this pack does not name is not thereby allowed: it falls to the
|
|
9
|
+
# posture and to `on_unclassified`, which holds it for a human.
|
|
10
|
+
name: github
|
|
11
|
+
label: GitHub MCP server
|
|
12
|
+
detect:
|
|
13
|
+
- "@modelcontextprotocol/server-github"
|
|
14
|
+
- github-mcp-server
|
|
15
|
+
- server-github
|
|
16
|
+
|
|
17
|
+
tools:
|
|
18
|
+
get_file_contents: { effect: read, decision: allow }
|
|
19
|
+
search_repositories: { effect: read, decision: allow }
|
|
20
|
+
search_code: { effect: read, decision: allow }
|
|
21
|
+
search_issues: { effect: read, decision: allow }
|
|
22
|
+
search_users: { effect: read, decision: allow }
|
|
23
|
+
list_commits: { effect: read, decision: allow }
|
|
24
|
+
list_issues: { effect: read, decision: allow }
|
|
25
|
+
list_pull_requests: { effect: read, decision: allow }
|
|
26
|
+
get_issue: { effect: read, decision: allow }
|
|
27
|
+
get_pull_request: { effect: read, decision: allow }
|
|
28
|
+
get_pull_request_files: { effect: read, decision: allow }
|
|
29
|
+
get_pull_request_status: { effect: read, decision: allow }
|
|
30
|
+
get_pull_request_comments: { effect: read, decision: allow }
|
|
31
|
+
get_pull_request_reviews: { effect: read, decision: allow }
|
|
32
|
+
get_me: { effect: read, decision: allow }
|
|
33
|
+
|
|
34
|
+
create_or_update_file: { effect: write, decision: approve }
|
|
35
|
+
push_files: { effect: write, decision: approve }
|
|
36
|
+
create_issue: { effect: write, decision: approve }
|
|
37
|
+
add_issue_comment: { effect: write, decision: approve }
|
|
38
|
+
update_issue: { effect: write, decision: approve }
|
|
39
|
+
create_pull_request: { effect: write, decision: approve }
|
|
40
|
+
create_pull_request_review: { effect: write, decision: approve }
|
|
41
|
+
update_pull_request_branch: { effect: write, decision: approve }
|
|
42
|
+
create_branch: { effect: write, decision: approve }
|
|
43
|
+
create_repository: { effect: write, decision: approve }
|
|
44
|
+
fork_repository: { effect: write, decision: approve }
|
|
45
|
+
|
|
46
|
+
# Merging is not a write that can be taken back by writing again.
|
|
47
|
+
merge_pull_request: { effect: destructive, decision: approve }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Hugging Face's hosted MCP server.
|
|
2
|
+
#
|
|
3
|
+
# Tool names from a real run against https://huggingface.co/mcp without
|
|
4
|
+
# signing in: catalog/fixtures/huggingface.tools.json. Signed in, the server
|
|
5
|
+
# offers more tools (chosen in the person's Hugging Face settings); those are
|
|
6
|
+
# not named here and so wait for a person until classified.
|
|
7
|
+
name: huggingface
|
|
8
|
+
label: Hugging Face MCP server
|
|
9
|
+
detect:
|
|
10
|
+
- huggingface.co/mcp
|
|
11
|
+
|
|
12
|
+
tools:
|
|
13
|
+
hub_repo_search: { effect: read, decision: allow }
|
|
14
|
+
hub_repo_details: { effect: read, decision: allow }
|
|
15
|
+
hf_fs: { effect: read, decision: allow }
|
|
16
|
+
hf_whoami: { effect: read, decision: allow }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# The reference memory MCP server (@modelcontextprotocol/server-memory).
|
|
2
|
+
#
|
|
3
|
+
# Tool names from a real run: catalog/fixtures/memory.tools.json. The memory
|
|
4
|
+
# is a file on this computer, so remembering runs freely; forgetting waits
|
|
5
|
+
# for a person because it cannot be taken back.
|
|
6
|
+
name: memory
|
|
7
|
+
label: Memory MCP server
|
|
8
|
+
detect:
|
|
9
|
+
- "@modelcontextprotocol/server-memory"
|
|
10
|
+
- mcp/memory
|
|
11
|
+
|
|
12
|
+
tools:
|
|
13
|
+
read_graph: { effect: read, decision: allow }
|
|
14
|
+
search_nodes: { effect: read, decision: allow }
|
|
15
|
+
open_nodes: { effect: read, decision: allow }
|
|
16
|
+
|
|
17
|
+
create_entities: { effect: write, decision: approve }
|
|
18
|
+
create_relations: { effect: write, decision: approve }
|
|
19
|
+
add_observations: { effect: write, decision: approve }
|
|
20
|
+
|
|
21
|
+
delete_entities: { effect: destructive, decision: approve }
|
|
22
|
+
delete_observations: { effect: destructive, decision: approve }
|
|
23
|
+
delete_relations: { effect: destructive, decision: approve }
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Microsoft's Playwright MCP server (@playwright/mcp).
|
|
2
|
+
#
|
|
3
|
+
# Tool names from a real run: catalog/fixtures/playwright.tools.json. Looking
|
|
4
|
+
# at the page runs freely. Anything that acts on a page -- clicking, typing,
|
|
5
|
+
# going somewhere -- waits for a person, because a browser can be signed in
|
|
6
|
+
# to things and a click can buy, send or delete. Running code in the page and
|
|
7
|
+
# uploading a file from this computer are the strongest of those.
|
|
8
|
+
name: playwright
|
|
9
|
+
label: Playwright MCP server
|
|
10
|
+
detect:
|
|
11
|
+
- "@playwright/mcp"
|
|
12
|
+
- mcr.microsoft.com/playwright/mcp
|
|
13
|
+
|
|
14
|
+
tools:
|
|
15
|
+
browser_snapshot: { effect: read, decision: allow }
|
|
16
|
+
browser_take_screenshot: { effect: read, decision: allow }
|
|
17
|
+
browser_console_messages: { effect: read, decision: allow }
|
|
18
|
+
browser_network_requests: { effect: read, decision: allow }
|
|
19
|
+
browser_network_request: { effect: read, decision: allow }
|
|
20
|
+
browser_find: { effect: read, decision: allow }
|
|
21
|
+
browser_wait_for: { effect: read, decision: allow }
|
|
22
|
+
|
|
23
|
+
browser_navigate: { effect: write, decision: approve }
|
|
24
|
+
browser_navigate_back: { effect: write, decision: approve }
|
|
25
|
+
browser_click: { effect: write, decision: approve }
|
|
26
|
+
browser_type: { effect: write, decision: approve }
|
|
27
|
+
browser_press_key: { effect: write, decision: approve }
|
|
28
|
+
browser_fill_form: { effect: write, decision: approve }
|
|
29
|
+
browser_select_option: { effect: write, decision: approve }
|
|
30
|
+
browser_hover: { effect: write, decision: approve }
|
|
31
|
+
browser_drag: { effect: write, decision: approve }
|
|
32
|
+
browser_drop: { effect: write, decision: approve }
|
|
33
|
+
browser_handle_dialog: { effect: write, decision: approve }
|
|
34
|
+
browser_tabs: { effect: write, decision: approve }
|
|
35
|
+
browser_resize: { effect: write, decision: approve }
|
|
36
|
+
browser_emulate_media: { effect: write, decision: approve }
|
|
37
|
+
browser_close: { effect: write, decision: approve }
|
|
38
|
+
|
|
39
|
+
browser_evaluate: { effect: destructive, decision: approve }
|
|
40
|
+
browser_run_code_unsafe: { effect: destructive, decision: approve }
|
|
41
|
+
browser_file_upload: { effect: destructive, decision: approve }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# The reference sequential thinking MCP server.
|
|
2
|
+
#
|
|
3
|
+
# Tool name from a real run: catalog/fixtures/sequential-thinking.tools.json.
|
|
4
|
+
# It only records the AI's own reasoning steps in memory: no files, no
|
|
5
|
+
# network.
|
|
6
|
+
name: sequential-thinking
|
|
7
|
+
label: Sequential Thinking MCP server
|
|
8
|
+
detect:
|
|
9
|
+
- "@modelcontextprotocol/server-sequential-thinking"
|
|
10
|
+
- mcp/sequentialthinking
|
|
11
|
+
|
|
12
|
+
tools:
|
|
13
|
+
sequentialthinking: { effect: read, decision: allow }
|
package/packs/time.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# The reference time MCP server (mcp-server-time).
|
|
2
|
+
#
|
|
3
|
+
# Tool names from a real run: catalog/fixtures/time.tools.json. Nothing here
|
|
4
|
+
# touches a file or the network.
|
|
5
|
+
name: time
|
|
6
|
+
label: Time MCP server
|
|
7
|
+
detect:
|
|
8
|
+
- mcp-server-time
|
|
9
|
+
- mcp/time
|
|
10
|
+
|
|
11
|
+
tools:
|
|
12
|
+
get_current_time: { effect: read, decision: allow }
|
|
13
|
+
convert_time: { effect: read, decision: allow }
|
|
14
|
+
get_time_ago: { effect: read, decision: allow }
|