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»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http anyhook 'https://anyhook.net/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "anyhook": {
            "type": "http",
            "url": "https://anyhook.net/mcp"
        }
    }
}
NPM package anyhook-mcp
Claude Code
claude 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
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "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_BASE Override the API base URL. Defaults to https://anyhook.net. Used by self-hosted AnyHook installations.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. AnyHook client packages
  2. Connect an agent
  3. Development
  4. License

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.

PackagenpmWhat it is
anyhook-mcpMCP server — lets a coding agent set up and operate webhook infrastructure by itself
anyhook-verifyVerify AnyHook-Signature headers on your server (HMAC-SHA256, retry-safe)
@anyhook/corenot publishedShared 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 الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.