Repository navigation
MCP and Webhooks
ao3575911 edited this page Oct 30, 2026
·
1 revision
langsuite mcp (alias j) serves tools to agents over MCP on stdio.
| Tool | Same as |
|---|---|
similar |
langsuite similar |
ask |
langsuite ask |
lang_show |
langsuite lang show |
query |
langsuite query |
rank |
langsuite rank |
Client config:
{ "mcpServers": { "langsuite": { "command": "langsuite", "args": ["mcp"] } } }langsuite webhook add https://example.com/hook --event finding.saved # secret shown once
langsuite webhook list # secrets hidden
langsuite webhook test # signed digest.ready test event
langsuite webhook remove <id>| Property | Value |
|---|---|
| Events |
finding.saved, digest.ready
|
| Body |
{"data": …, "event": "…"} (sorted keys) |
| Header | Langsuite-Signature: t=<ts>,v1=<hex> |
| Signature | HMAC-SHA256 of <ts>.<body> with your secret |
| Delivery | HTTPS only, 3 tries with backoff |
| Targets | Private, loopback and link-local addresses refused (LANGSUITE_WEBHOOK_ALLOW_PRIVATE=1 exists for tests only) |
Receivers should check the signature and reject timestamps older than 5 minutes. With langsuite installed, use langsuite.core.webhooks.verify(secret, body, header); or in plain Python:
import hashlib, hmac, time
def ok(secret: str, body: bytes, header: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
mac = hmac.new(secret.encode(), f"{parts['t']}.".encode() + body, hashlib.sha256).hexdigest()
fresh = abs(time.time() - int(parts["t"])) <= 300
return fresh and hmac.compare_digest(mac, parts["v1"])langsuite 1.0.0 RC · Repository · Docs site · @langsuite_bot · Discussions · Report an issue · Code MIT
Use
Concepts
- Knowledge Base and Sources
- Similarity and Methodology
- Verify and Snippets
- Official Docs Q&A
- Workspaces and Findings
Platform
Help