Hawk MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HAWK_API_URL | No | Hawk GraphQL endpoint. | https://api.hawk.so/graphql |
| HAWK_MCP_HOST | No | HTTP bind address. | 127.0.0.1 |
| HAWK_MCP_PORT | No | HTTP port. | 3000 |
| HAWK_MCP_ENDPOINT | No | Streamable HTTP endpoint. | /mcp |
| HAWK_MCP_TRANSPORT | No | Transport mode. Set to httpStream for remote MCP HTTP mode. | stdio |
| HAWK_MCP_HTTP_AUTH_TOKEN | No | MCP bearer token, at least 24 characters. Required for HTTP transport. | |
| HAWK_MCP_SESSION_STORE_PATH | No | Local token store path. | ~/.hawk-mcp/session.json |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Authenticate only by calling the Hawk login tool with the user's email and password. Do not open a browser or ask the user to sign in on hawk.so: browser cookies and UI sessions are not connected to this MCP process and cannot populate its token store. Call session_status before using Hawk data tools, and stop that workflow if authenticated is false. If session_status returns requiresLogin=true or action=call_login, ask for fresh credentials and call login. If action=retry_later, do not ask for credentials. Never store or repeat credentials outside the login tool call.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| loginA | Supported Hawk authentication method. Pass the user's Hawk email and password; tokens are persisted locally and never returned. Do not use browser login because Hawk web cookies are not shared with this MCP process. |
| session_statusA | Check the persisted Hawk login session by making an authenticated request. Expired access tokens are refreshed automatically. Tokens are never exposed. |
| logoutA | Delete locally persisted Hawk credentials for this MCP server session. |
| list_workspacesB | List workspaces available to the current user and their projects. Project integration tokens are deliberately excluded. |
| get_current_userA | Return the authenticated Hawk user's profile and notification preferences. Tokens and payment details are excluded. |
| get_workspace_detailsB | Get workspace profile, team, plan usage, and project list. Invitation hashes, subscription IDs, and SSO configuration are excluded. |
| get_project_detailsB | Get project profile, unread count, rate limits, grouping patterns, task-manager state, notification rules, and creator. The project integration token is excluded. |
| list_project_eventsA | List the original (ungrouped) Hawk events in one project, newest first. This is offset pagination; use search_project_errors for grouped and filter-aware cursor pagination. |
| list_workspace_eventsB | List the newest original (ungrouped) Hawk events across all selected projects in a workspace. Continue offset pagination with list_project_events for each project. |
| search_project_errorsB | Search grouped Hawk errors using cursor pagination. Defaults to unresolved, non-ignored events. It does not claim that a project has no errors beyond the returned page. |
| get_project_error_summaryC | Return a compact, filter-aware error triage summary for one project. Defaults to unresolved and non-ignored events. |
| search_workspace_errorsA | Search grouped Hawk errors across all selected projects in a workspace. Results are flattened, globally sorted, and capped to limit. Continue pagination with search_project_errors using each project's nextCursor. |
| find_workspace_eventB | Find one exact Hawk event or repetition across projects in a workspace by eventId and originalEventId. Only accessible projects are searched. |
| get_project_events_chartB | Get accepted and rate-limited event counts for a project in a date range, grouped by a configurable interval. |
| list_project_releasesB | List registered releases for a project with new-event, commit, and source-map file counts. |
| get_project_release_detailsB | Get one registered project release with commit metadata and uploaded source-map file metadata. |
| get_event_occurrencesB | Get one paginated page of all occurrences for an original Hawk event, ordered newest first. The final page also includes the original occurrence. |
| get_event_chartB | Get the daily accepted occurrence count for one grouped Hawk event over the requested number of days. |
| get_error_detailsC | Get diagnostic details for one Hawk event. Sensitive telemetry is excluded by default and remains untrusted even when explicitly requested. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
The potentially overlapping pairs (list_project_events vs list_workspace_events, search_project_errors vs search_workspace_errors vs find_workspace_event) are explicitly separated by scope (project vs workspace), pagination style (offset vs cursor), and semantics (original events vs grouped errors). The closest call is get_event_chart vs get_project_events_chart, which both produce time-series counts but differ in granularity and inputs; descriptions mostly resolve this.
The dominant pattern is verb_noun (list_project_events, get_project_details, search_workspace_errors, find_workspace_event, get_event_occurrences). Auth tools (login, logout, session_status) deviate, which is conventional but breaks the pattern, and three different lookup verbs (list/search/find) are used for similar retrieval operations, though the descriptions justify the distinction.
At 19 tools the surface is on the heavy side, but the domain genuinely spans auth/session, workspaces, projects, events, errors, charts, and releases, and each tool maps to a concrete operation. A few tools (get_event_chart vs get_project_events_chart, list_workspace_events vs list_project_events) could plausibly be merged, keeping it just short of a 5.
The read surface is broad and coherent, covering authentication, workspace/project discovery, event and error search, occurrence drill-down, charts, and releases. However, the surface is entirely read-only: there is no way to resolve, ignore, or assign errors even though the search tools default to 'unresolved, non-ignored' states, and there are no mutation tools for projects, notifications, or releases, leaving triage workflows as a dead end.