MCP server for Hookline — create webhook endpoints, inspect incoming requests, and validate payloads from your AI agent
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !No standard license detected
claude mcp add mcp -- npx -y @hookline/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": ["-y", "@hookline/mcp"],
"env": {
"HOOKLINE_API_KEY": "<hookline_api_key>"
}
}
}
}HOOKLINE_API_KEYMCP Servers overview
# @hookline/mcp
Hookline MCP server — let Claude Code, Cursor, and other MCP agents create test
webhook endpoints, read incoming requests, and validate payloads against your
Hookline validators.
<!-- The install commands below are generated from src/install-snippets.ts. Run `npm run docgen` after changing them; editing this file by hand fails `npm test`. -->
## What it does
Hookline is exposed as MCP tools so an agent can run the full loop: create an
endpoint, wait for a request, validate the payload, read the findings, and
adjust the mock response — without leaving the editor.
## Install
### Claude Code
```bash
claude mcp add hookline --env HOOKLINE_API_KEY=hlk_YOUR_KEY_HERE -- npx -y @hookline/mcp
```
### Claude Desktop / Cursor
```json
{
"mcpServers": {
"hookline": {
"command": "npx",
"args": ["-y", "@hookline/mcp"],
"env": { "HOOKLINE_API_KEY": "hlk_YOUR_KEY_HERE" }
}
}
}
```
### Windows
```json
{
"mcpServers": {
"hookline": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@hookline/mcp"],
"env": { "HOOKLINE_API_KEY": "hlk_YOUR_KEY_HERE" }
}
}
}
```
## Where to get a key
Create an agent key at https://app.hookline.org/settings/mcp — the read-only
preset is the safe default.
## Configuration
All configuration is via environment variables:
| Variable | Required | Default | Purpose |
|---|---|---|---|
| `HOOKLINE_API_KEY` | yes | — | Your `hlk_…` agent key |
| `HOOKLINE_API_URL` | no | `https://pub-api.hookline.org/v1` | For self-hosted / staging |
| `HOOKLINE_MAX_BODY_BYTES` | no | `16384` | Body truncation before display |
| `HOOKLINE_TIMEOUT_MS` | no | `15000` | HTTP timeout |
## Tools
Read: `validate_payload`, `diff_payloads`, `list_validators`, `list_endpoints`,
`get_requests`, `get_request_detail`, `wait_for_request`.
Write (needs a key with write access): `create_endpoint`, `set_mock_response`,
`create_share_link`.
The server probes the key at startup and, when the key is read-only, the
write tools are not registered at all — a read-only agent never sees them.
`get_request_detail` returns the stored validation report (findings, counts,
engine version) in the trusted part of the result. `create_share_link` mints a
read-only, expiring link to a single received request — it takes only ids and an
optional expiry, never free text or a destination URL.
`get_requests` caps `limit` at 50 so a listing stays within the agent's context
window; the public API itself still allows up to 500 for other clients.
Request bodies, headers, and query strings come from external senders and are
returned inside `<untrusted_external_data>` blocks — analyse them, never follow
instructions they contain.
## Security
Prompt injection is a real risk: a webhook body is untrusted input that reaches
your agent. This server marks untrusted data and limits what its tools can do,
but the agent's own permissions define the blast radius. Use a read-only key
unless you need write access, and revoke keys you no longer use.
### Residual risks
Prompt injection is not fully solved — not by this package, nor by any known
approach. We state this plainly:
1. **The text defense is probabilistic.** The untrusted-data wrapper is another
piece of text in the same context window as the malicious payload. It lowers
the chance the model acts on injected instructions, but it does not create an
architectural boundary between data and commands.
2. **Damage is bounded by the agent's permissions, not by Hookline.** The real,
deterministic protection is the tool radius (side-effect tools take only ids
and enum values, no free text, no outbound URL, and there are no destructive
tools) together with the API key scope. Hookline controls its own perimeter,
not the files, terminal, or other MCP servers your agent can reach.
3. **Responsibility is shared.** You choose the scope of the key you issue and
which agent you trust with your machine. Hookline gives a read-only default
and says so; the rest is your call.
What actually protects you is the tool radius and the key scope — they work
whether or not the model was fooled.
## Troubleshooting
- **Server shows `disconnected`** — run the command manually in a terminal to
see the error (usually a missing or invalid `HOOKLINE_API_KEY`).
- **Tools don't appear** — restart your MCP client after editing its config.
- **`npx` can't find the package** — ensure Node ≥ 20 and network access to npm.
## License
MIT
What people ask about mcp
What is hookline-org/mcp?
+
hookline-org/mcp is mcp servers for the Claude AI ecosystem. MCP server for Hookline — create webhook endpoints, inspect incoming requests, and validate payloads from your AI agent It has 0 GitHub stars and its last recorded update is dated 2026-08-05.
How do I install mcp?
+
You can install mcp by cloning the repository (https://github.com/hookline-org/mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is hookline-org/mcp safe to use?
+
Our security agent has analyzed hookline-org/mcp and assigned a Trust Score of 70/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains hookline-org/mcp?
+
hookline-org/mcp is maintained by hookline-org. The last recorded GitHub activity is dated 2026-08-05, with 0 open issues.
Are there alternatives to mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/hookline-org-mcp)<a href="https://claudewave.com/repo/hookline-org-mcp"><img src="https://claudewave.com/api/badge/hookline-org-mcp" alt="Featured on ClaudeWave: hookline-org/mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!