veyra-webhooks
veyra-webhooks
AIエージェント向けのWebhookリレーMCPツールです。ターゲットURLの登録、HTTP経由でのペイロード送信、送信履歴の閲覧が可能です。読み取りは常に無料です。書き込み操作にはVeyraのコミットモード認証が必要です。
概要
veyra-webhooksを使用すると、AIエージェントは登録されたWebhookエンドポイントを通じて外部サービスとやり取りできます。履歴は監査のためにSQLiteに保存されます。ペイロードの送信および登録の管理には、Veyraコミットモードが必要です。
インストール
npm install
npm run buildデータは ~/.veyra-webhooks/data.db に保存され、初回実行時に自動的に作成されます。
MCP設定 (Claude Desktop)
{
"mcpServers": {
"veyra-webhooks": {
"command": "node",
"args": ["/absolute/path/to/veyra-webhooks/dist/index.js"]
}
}
}ツール
ツール | 入力 | クラス | 価格 |
|
| — | 無料 |
|
| — | 無料 |
|
| A | €0.005 |
|
| B | €0.02 |
|
| B | €0.02 |
例
読み取り (トークン不要)
// List all registered webhooks
{ "tool": "list_webhooks", "arguments": {} }
// View send history
{ "tool": "get_history", "arguments": { "webhook_id": "1712345678-abc1234", "limit": 20 } }書き込み (Veyraトークンが必要)
// Register a webhook
{
"tool": "register_webhook",
"arguments": {
"name": "Slack Notifications",
"url": "https://hooks.slack.com/services/...",
"headers": "{\"Authorization\": \"Bearer token123\"}",
"veyra_token": "vt_..."
}
}
// Send a payload (actually fires an HTTP request)
{
"tool": "send_webhook",
"arguments": {
"webhook_id": "1712345678-abc1234",
"payload": "{\"text\": \"Deployment complete\"}",
"method": "POST",
"veyra_token": "vt_..."
}
}
// Delete a webhook (also clears its history)
{
"tool": "delete_webhook",
"arguments": {
"webhook_id": "1712345678-abc1234",
"veyra_token": "vt_..."
}
}トークンが不足している場合のエラーレスポンス
{
"error": "VeyraCommitRequired",
"message": "Write operations require Veyra commit mode.",
"currentMode": "open",
"requiredMode": "commit",
"authorize_endpoint": "https://api.veyra.to/v1/authorize-action",
"docs_url": "https://veyra.to"
}Veyraの仕組み
Veyraは、AIエージェント向けのコミットモード認証レイヤーです。エージェントが書き込みを試みるとき:
エージェントが
veyra_tokenなしでツールを呼び出す →authorize_endpointを含むVeyraCommitRequiredを受け取ります。エージェント/ユーザーが認証エンドポイントを呼び出し、トークンを取得します。
エージェントが
veyra_tokenを設定して再試行します。veyra-webhooksはアクションを実行する前に@veyrahq/sdk-nodeを介してトークンを検証します。
詳細なドキュメントについては veyra.to を参照してください。
ライセンス
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aquariosan/veyra-webhooks'
If you have feedback or need assistance with the MCP directory API, please join our Discord server