# Hangar MCP server

Agent View of the PolicyLayer registry record for Hangar: identity, probed posture, risk grade, and all 11 tools classified. HTML page: https://policylayer.com/tools/2tl-hangar-mcp

## Facts

- Server id: `@2tl/hangar-mcp`
- Install: `npx -y @2tl/hangar-mcp`
- Homepage: https://www.npmjs.com/package/@2tl/hangar-mcp
- Registry record: grade F, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 11 (9 with introspected schema)
- Tool categories present: Destructive, Execute, Read, Write
- Context-window cost: 2522 tokens per request — https://policylayer.com/token-cost/2tl-hangar-mcp
- Tags: 2tl hangar mcp, admin, automation
- Record last modified: 2026-10-15T19:56:22.755Z

## Tools (11)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `hangar_whoami` | Destructive | Critical | https://policylayer.com/tools/2tl-hangar-mcp/hangar-whoami.md |
| `hangar_job_runs` | Execute | High | https://policylayer.com/tools/2tl-hangar-mcp/hangar-job-runs.md |
| `hangar_check_project` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-check-project.md |
| `hangar_get_data_keys` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-get-data-keys.md |
| `hangar_list_jobs` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-list-jobs.md |
| `hangar_list_projects` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-list-projects.md |
| `hangar_production_handoff` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-production-handoff.md |
| `hangar_release_status` | Read | Low | https://policylayer.com/tools/2tl-hangar-mcp/hangar-release-status.md |
| `hangar_activate_preview` | Write | Medium | https://policylayer.com/tools/2tl-hangar-mcp/hangar-activate-preview.md |
| `hangar_create_project` | Write | Medium | https://policylayer.com/tools/2tl-hangar-mcp/hangar-create-project.md |
| `hangar_publish` | Write | Medium | https://policylayer.com/tools/2tl-hangar-mcp/hangar-publish.md |

## Tool descriptions

- `hangar_whoami` — Check the automation key: its name, workspace, expiry, how many projects it has created out of its limit, and how many projects it reaches. Production activation, rollback, pause/resume and deploy cancel/retry are console-only for every …
- `hangar_job_runs` — Read-only. Recent runs of one job (name), or of every job when name is omitted (5 each), newest first: status, trigger, times, failure reason. / 잡 실행 기록(읽기 전용).
- `hangar_check_project` — Check an app directory before publishing, offline: hangar.json validity, the build output directory and entrypoint, tables without row-level security in migrations, and job bundle problems. With init: true, creates hangar.json when it is…
- `hangar_get_data_keys` — Read the public data-layer keys for one environment: apiUrl (pass to createClient) and the anon key. Only these two — the service_role key is never available here. Preview and production have different databases and different keys: a pro…
- `hangar_list_jobs` — Read-only. The scheduled script jobs of the release serving in one environment (hangar.json "jobs"): schedule, time zone, next run, last result, and the daily runtime budget. / 예약 잡 목록(읽기 전용).
- `hangar_list_projects` — List the projects this key reaches (the ones it created plus any granted to it): slug, name, and preview/production URLs. Other projects in the workspace are invisible to the key. / 이 키가 닿는 프로젝트 목록과 URL.
- `hangar_production_handoff` — Does NOT activate anything. Prepares the hand-off of a PRODUCTION release to the human: the exact console URL and what to click. Call it after hangar_publish with environment "production", and show its message to the user. / production 활…
- `hangar_release_status` — Read one environment's release state: the desired release and revision, the release actually serving, and the in-flight deployment if any. / 환경의 현재 대상·서빙 중 릴리스·진행 중 배포.
- `hangar_activate_preview` — Switch the PREVIEW site to a release published to preview, then wait (up to ~3 minutes) until it is actually serving. Returns the preview URL. Preview only: there is no production activation here. / preview 를 이 릴리스로 전환하고 서빙될 때까지 기다립니다.
- `hangar_create_project` — Create a project (or reuse it if this key already reaches one with that slug). With data: true, also enable the Postgres data layer in PREVIEW and wait until it is ready (can take a few minutes; if it times out, call again — it continues…
- `hangar_publish` — Upload the already-built output of projectDir as a new immutable release in one environment. Does NOT activate it and never builds: build first (e.g. npm run build). Publishing the same build again returns the same release. For environme…

## Related servers

- UnClick (1662 tools) — https://policylayer.com/tools/io-github-malamutemayhem-unclick-mcp-server.md
- Apibase (1384 tools) — https://policylayer.com/tools/io-github-whiteknightonhorse-apibase.md
- Genesis (1127 tools) — https://policylayer.com/tools/onesi-genesis-mcp.md
- Delx Mcp A2a (1068 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-mcp-a2a.md
- ScorpTech x402 API (1012 tools) — https://policylayer.com/tools/com-it-scorptech-x402.md
- MCP Framework Personal (912 tools) — https://policylayer.com/tools/inggerman-mcps.md
- Hermoso (896 tools) — https://policylayer.com/tools/hermoso.md
- Nodebench (824 tools) — https://policylayer.com/tools/io-github-homenshum-nodebench.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=2tl-hangar-mcp · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/2tl-hangar-mcp
