thrd

v0.1.5
io.github.SergioRico1/thrd Checked 20 hours ago Published 9 months ago

Thrd MCP: agent email tools for events/threads, safe send/reply, usage, trust and security.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

thrd.health Health

Get MCP server and Thrd API configuration info (no auth required).

thrd.poll_events Poll Events

Long-poll for inbound events (email received, security signals, etc.).

ParameterTypeDescription
cursorstring
limitinteger
timeoutinteger

thrd.ack_events Ack Events

Acknowledge processed events by event IDs or by cursor.

ParameterTypeDescription
cursorstring
eventIdsarray

thrd.list_threads List Threads

List recent threads for the authenticated agent (optionally filtered by inbox).

ParameterTypeDescription
cursorstring
inboxIdstring
limitinteger

thrd.get_thread_messages Get Thread Messages

Fetch all stored messages for a given thread (inbound + outbound).

ParameterTypeDescription
threadId *string

thrd.reply Reply

Reply in an existing thread. Requires idempotency. May return security_ack_required when inbound risk is high.

ParameterTypeDescription
threadId *string
attachmentsarray
ccarray
htmlstring
idempotencyKeystring
securityAckTokenstring
textstring
tostring

thrd.send Send

Initiate a new outbound email. Requires idempotency. Tier 3 cold outbound may return por_required. High-risk inbound context may require security_ack_token.

ParameterTypeDescription
inboxId *string
subject *string
to *string
attachmentsarray
consentTokenstring
grantTokenstring
htmlstring
idempotencyKeystring
porAnswerstring
porTokenstring
securityAckTokenstring
sourceMessageIdstring
textstring

thrd.outbound_status Outbound Status

Get status for an outbound request_id from send/reply.

ParameterTypeDescription
requestId *string

thrd.usage Usage

Get plan/tier and monthly quota usage for the authenticated tenant.

thrd.trust_score Trust Score

Get trust score and factors for the authenticated tenant.

thrd.message_security Message Security

Get Prompt Shield / security analysis for a specific message_id.

ParameterTypeDescription
messageId *string

thrd.create_security_ack Create Security ACK

Create a short-lived security_ack_token to approve replying/sending in a high-risk context.

ParameterTypeDescription
action *string
messageId *string
reason *string
threadIdstring

thrd.billing_checkout_self Checkout (Self)

Create a Stripe checkout session for the authenticated tenant to upgrade plan.

ParameterTypeDescription
plan *string

thrd.claim_x_start Start X Human Claim

Start the X (Twitter) human-claim verification flow for the authenticated tenant.

thrd.claim_x_status X Human Claim Status

Check X (Twitter) human-claim verification status for the authenticated tenant.

thrd.instant_onboarding Instant Onboarding (Public)

Provision a new tenant + agent + inbox + API key via Thrd's public instant onboarding endpoint. Disabled unless ALLOW_THRD_INSTANT_ONBOARDING=1.

ParameterTypeDescription
agentName *string
contactEmailstring
inboxPrefixstring
sourcestring
tenantNamestring