About Hoop
Hoop is an MCP server published by hoophq in the Browser category: open-source enforcement at runtime that masks sensitive data and blocks destructive commands from AI agents. You change one thing: your agent's port. Conduid read 57 tools from its source: access_control_get, access_control_list, access_control_set, access_control_unset, access_request_rules_create, access_request_rules_delete and 51 more. No package is published for it, so it installs from a source checkout.
The repository has 871 stars and 68 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is 1.329.1 (27 Nov 2026). It follows 1.329.0 (27 Nov 2026), and the 5 most recent releases go back to 1.326.0 (26 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include databases, grpc, proxy and security.
Install
git clone https://github.com/hoophq/hoopTools (57)
access_control_getGet the list of user groups allowed to access a given connection via the access_control pluginaccess_control_listList all connections currently bound to the access_control plugin with their allowed user groupsaccess_control_setCanonical way to restrict which user groups can access a connection — matches the webapp 'Access Control' page. Use this for 'give group X access to connection Y' requests. Enables the access_control plugin if needed and REPLACES any existing group list for this connection. Admins and auditors always bypass the restriction. For approval / just-in-time workflows (require approval before access), use access_request_rules_create instead. Do NOT set the deprecated reviewers field on the connection itself.access_control_unsetRemove the access_control binding for a connection. After this call, the connection is no longer group-restricted (all users can see/access it).access_request_rules_createCreate an approval / just-in-time access workflow rule for one or more connections — matches the webapp 'Access Request' page. Use this when access requires approval, one-time or time-bound. For simple 'this group can access this connection' visibility (no approval), use access_control_set or access_control_create_group instead. Do NOT set the deprecated reviewers field on the connection itself. Requires admin access.access_request_rules_deleteDelete an access request rule by name. Requires admin access. This action is irreversibleaccess_request_rules_getGet a single access request rule by nameaccess_request_rules_listList all access request rules for the organization with optional paginationaccess_request_rules_updateUpdate an existing access request rule by name. Requires admin accessapprovals_executeExecute a query that was blocked on an approved one-time request. Runs the originally submitted query (no drift from what the approver approved). Only the session owner or an admin/auditor can execute; the approval request must be in status=APPROVED. Returns the same envelope shape as exec: completed, or status=running after a 50s timeout (poll sessions_get).approvals_getGet a single approval request by its ID or session IDapprovals_listList the approval requests (access requests) you made or your groups can decide. Admins and auditors get all of themapprovals_updateUpdate an approval request status (approve, reject, or revoke). Requires membership in an approver groupapprovals_waitLong-poll an approval request until it reaches a terminal status (APPROVED, REJECTED, REVOKED, EXECUTED) or the timeout elapses. Use after exec returns status=pending_approval. The response shape mirrors approvals_get and adds timed_out (true when the timeout was reached without a terminal status — call again to keep waiting) and waited_seconds.attributes_createCreate a new attribute, optionally associating it with connections, rules, and access-control groups in the same call. Requires admin access.attributes_deleteDelete an attribute by name. Requires admin access. This action is irreversible and removes all of the attribute's associations.attributes_getGet a single attribute by name, including all of its associations (connections, rules, access-control groups).attributes_listList attributes for the organization. Attributes are tags that group connections, access-request/guardrail/data-masking rules, and access-control groups. Supports optional pagination (page/page_size) and substring search on name.attributes_updateUpdate an attribute's description and/or its associations. Requires admin access. Each association field uses preserve-on-omit semantics: omit a field to leave it unchanged, pass an empty array to clear all entries for that field. To partially modify a list (add or remove a single entry), call attributes_get first, mutate the list, then pass the full updated list back.connection_columnsList columns of a specific table on a Hoop database connection, with types. Returns the raw query output.connection_databasesList databases available on a Hoop database connection (Postgres, MySQL, MSSQL, MongoDB). Returns the raw query output; agents can parse database names from it.connection_tablesList tables in a given database on a Hoop database connection. Returns the raw query output.connections_createCreate a new connection. Requires admin access. Required envs by subtype (keys must use the 'envvar:' prefix, values base64-encoded): postgres/mysql/mssql -> HOST, USER, PASS, PORT, DB; oracledb -> HOST, USER, PASS, PORT, SID; mongodb -> CONNECTION_STRING (or HOST, USER, PASS); tcp -> HOST, PORT; httpproxy -> REMOTE_URL; ssh -> HOST, USER, and PASS or AUTHORIZED_SERVER_KEYS. For known database subtypes the gateway auto-fills the runtime command — leave 'command' empty unless overriding.connections_deleteDelete a connection by name. Requires admin access. This action is irreversibleconnections_getGet a single connection by its name or IDconnections_listList all connections accessible to the authenticated user, with optional filters by agent, type, subtype, tag_selector, or search queryconnections_updateUpdate an existing connection by name. Requires admin access. Only provided fields are updateddatamasking_rules_createCreate a new data masking rule with entity type detection configurationdatamasking_rules_deleteDelete a data masking rule by ID. This action is irreversibledatamasking_rules_getGet a single data masking rule by its IDdatamasking_rules_listList all data masking rules configured for the organizationdatamasking_rules_updateUpdate an existing data masking rule by IDdelete_everythingdangerousexecRun a one-shot command or query against a Hoop connection on behalf of the authenticated user. Mirrors `hoop exec`. Returns one of three envelopes: `status=completed` with output, `status=pending_approval` with a review_id (call approvals_wait to long-poll; once APPROVED call approvals_execute), or `status=running` with a session_id (after a 50s timeout; poll sessions_get). Authorization, data masking, guardrails, and approval gates are enforced by the gateway — this tool does not bypass any of them.guardrails_createCreate a new guardrail rule with input/output configurations and connection associationsguardrails_deleteDelete a guardrail rule by ID. This action is irreversibleguardrails_getGet a single guardrail rule by its ID or nameguardrails_listList all guardrail rules configured for the organizationguardrails_updateUpdate an existing guardrail rule by IDme_getGet the authenticated user's profile: email, name, user_id, org_id, the groups they belong to, and whether they are an admin or auditor. Useful as a first call to confirm which identity the MCP session is acting as.runbook_rules_createCreate a new runbook rule with user groups, connections, and allowed runbooksrunbook_rules_deleteDelete a runbook rule by ID. This action is irreversiblerunbook_rules_getGet a single runbook rule by its IDrunbook_rules_listList all runbook rules configured for the organizationrunbook_rules_updateUpdate an existing runbook rule by IDserverinfo_getGet gateway server information including version, auth method, license info, and feature flagssessions_getGet session details and metadata by ID. Returns metadata only, not session content or binary datasessions_get_analysisGet Hoop's AI analysis for a session: risk level, title, explanation, recommended action. Returns status=unavailable when the session has no analysis yet (e.g. still in progress).sessions_get_contentGet the input script and stdout/stderr output of a session. Only the session owner or an admin/auditor can read another user's session content.sessions_listsessions_wait_analysisLong-poll until Hoop's AI analysis for a session is available, or the timeout elapses. AI analysis is generated asynchronously after a session ends, so a session that just completed may take a moment. Response shape mirrors sessions_get_analysis and adds timed_out and waited_seconds. Timeout is not an error.usergroups_createCreate a user group, optionally binding it to connections and/or existing attributes in the same call. For 'create group X with access to connection Y' requests, pass `connections` to grant access via the access_control plugin (matches the webapp 'Create new access control group' form). For approval / just-in-time workflows on a connection, use access_request_rules_create instead. To bind an EXISTING group to connections, use access_control_set.usergroups_deleteDelete a user group by name. Cannot delete the admin group. This action is irreversibleusergroups_listList all user groups in the organizationusers_getGet a single user by their email addressusers_listList all users in the organizationwhoamiwho is running meSecurity checks
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 5 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.3K words, fetched 3 days ago. The original in the repository is authoritative.
Read full README