AnyHook
A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http anyhook 'https://anyhook.net/mcp'
{
"mcpServers": {
"anyhook": {
"type": "http",
"url": "https://anyhook.net/mcp"
}
}
}
anyhook-mcpclaude mcp add anyhook -e 'ANYHOOK_API_KEY=<your anyhook_api_key>' -e 'ANYHOOK_API_BASE=<ANYHOOK_API_BASE>' -- npx -y anyhook-mcp@0.4.0
{
"mcpServers": {
"anyhook": {
"command": "npx",
"args": [
"-y",
"anyhook-mcp@0.4.0"
],
"env": {
"ANYHOOK_API_KEY": "<your anyhook_api_key>",
"ANYHOOK_API_BASE": "<ANYHOOK_API_BASE>"
}
}
}
}
متغيرات البيئة
ANYHOOK_API_KEYسري Personal API key from anyhook.net/dashboard/settings/api-keys. Starts with ahk_live_. Optional: without it, the anyhook_quickstart tool can self-provision an account, or tools run against an in-memory store for local dev.ANYHOOK_API_BASEOverride the API base URL. Defaults to https://anyhook.net. Used by self-hosted AnyHook installations.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
AnyHook client packages
Source for the npm packages that go with AnyHook, a webhook relay: change one URL and your webhooks get automatic retries, a full event log, and one-click replay.
| Package | npm | What it is |
|---|---|---|
anyhook-mcp | MCP server — lets a coding agent set up and operate webhook infrastructure by itself | |
anyhook-verify | Verify AnyHook-Signature headers on your server (HMAC-SHA256, retry-safe) | |
@anyhook/core | not published | Shared internals (signature logic, provider fixtures), bundled into the two above |
Connect an agent
Already have an AnyHook account? Add https://anyhook.net/mcp to Claude Code,
claude.ai, Codex or VS Code and sign in through the browser, no key to copy.
Steps for each app, Cursor included: https://anyhook.net/mcp.
No account yet? Run the package locally:
{ "mcpServers": { "anyhook": { "command": "npx", "args": ["-y", "anyhook-mcp"] } } }
Its anyhook_quickstart tool makes a live webhook endpoint and key without an
account (7-day TTL, claimable into a free account later). That endpoint is new,
not an account you already have. From there the agent creates apps, reads and
inspects events, replays failures, and mocks or verifies signed payloads.
Prefer plain HTTP? The same bootstrap is one curl:
curl -X POST https://anyhook.net/api/v1/quickstart
Development
pnpm workspace. Node 20+.
pnpm install
pnpm test # vitest across all packages
pnpm build # tsup
The hosted relay itself (ingress, forwarder, dashboard) is a separate closed-source service — this repo is the client tooling. API reference: openapi.json · agent docs: llms.txt · pricing: pricing.md · MCP setup: anyhook.net/mcp
License
Apache-2.0
الأسئلة الشائعة
ما هو AnyHook؟
A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.
كيف أثبّت AnyHook؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http anyhook 'https://anyhook.net/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج AnyHook إلى مفتاح API؟
نعم. يتطلب ANYHOOK_API_KEY، وتضبطها في إعداداته.
هل AnyHook مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.
من يصون AnyHook؟
ينشره gba3124. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.