MCP tools: Passport
The tools of the MCP server under Passport. The outside services an inbox's address is signed up for, the verification codes and sign-in links they send, and how the address signs in to the ones that accept Sign in with Doorman.
passport_get
Tool for passport.get: GET /v1/passport
Whether the account emails its owner when an authenticated service sends a password reset, a security notice, or a verification code or sign-in link that no recent agent action explains, with the owner address and whether email sending is available. And what the account's agents may do alone when they sign in with Doorman: sign in to a service the owner has not allowed yet, and tell such a service who owns them. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
The tool takes no input.
{
"name": "passport_get",
"arguments": {}
}passport_update
Tool for passport.update: PATCH /v1/passport
Changes the settings given; the ones left out stay as they are. Each change that loosens something needs a console session unless the account allows its account keys to (403 session_required): switching owner alert emails off, letting agents sign in to services the owner has not allowed yet, and telling those services who owns the agent. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: false,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool changes something; calling it again with the same input has no further effect.
Input
alertEmailsbooleanoptionalWhether to email the account owner when a service receives an unexplained code or link, a password reset, or a security notice.
agentSignInbooleanoptionalWhether an agent may sign in to a service the owner has not allowed yet.
shareOwnerbooleanoptionalWhether a service an agent signed in to alone is told who owns the agent, when it asks.
briefingEmailsbooleanoptionalWhether to email the account owner a daily briefing in counts only. The first one covers what arrives from the moment it is switched on.
briefingHourintegeroptionalThe hour of the day, in
timeZone, at which the briefing is sent.timeZonestringoptionalThe IANA time zone
briefingHouris read in. Example:America/Guayaquil
{
"name": "passport_update",
"arguments": {
"alertEmails": true
}
}services_list
Tool for services.list: GET /v1/services
The outside services the account's addresses are signed up for, newest activity first: found in authenticated mail, declared by an agent, or added by a person. Without status, archived ones are left out. Inbox-scoped keys see their own inbox's only. OAuth: requires mail:read.
- Offered to
- A connected agent with an approval that covers
mail:read. The default agent permissions cover it. With a key: any API key, or a console session. - Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
inboxIdstringoptionalOnly this inbox's services. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zstatus"pending" | "active" | "cancelled" | "archived"optionalOnly services with this status. Without it, every status but archived.
attention"true" | "false"optionalOnly services with (
true) or without (false) an active warning.qstringoptionalKeep the services whose domain or name contains this text, case-insensitively.
limitintegeroptionalPage size, 1 to 100. Defaults to 50.
offsetintegeroptionalRows to skip. Defaults to 0.
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the query parameter inboxId |
status | the query parameter status |
attention | the query parameter attention |
q | the query parameter q |
limit | the query parameter limit |
offset | the query parameter offset |
{
"name": "services_list",
"arguments": {}
}services_get
Tool for services.get: GET /v1/services/{serviceId}
One service with the newest messages that tied it to the address, at most 20: their subjects, what each was about and where to read it, never their text. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: any API key, or a console session.
- Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
serviceIdstringrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1m
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
serviceId | the path parameter serviceId |
{
"name": "services_get",
"arguments": {
"serviceId": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m"
}
}inboxes_services_create
Tool for inboxes.services.create: POST /v1/inboxes/{inboxId}/services
Records that the inbox's address is about to be signed up for a service, or already is. An agent calls it before it signs up: the service is recorded as pending and attributed to the agent, and the codes and links the domain sends are tied to it. A person's is recorded as active. A domain the inbox already has answers 200 with that service, and takes a cancelled or archived one up again. What it costs is recorded with services.update. An inbox holds at most 500 services (409 limit_reached). OAuth: requires mail:write, mail:read.
- Offered to
- A connected agent with an approval that covers
mail:writeandmail:read. The default agent permissions cover it. With a key: any API key, or a console session. - Annotations
readOnlyHint: false,destructiveHint: false,idempotentHint: false,openWorldHint: false. The tool changes something.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zdomainstringrequiredThe service's domain, or a host under it:
app.example.netis recorded asexample.net. Example:example.netnamestringoptionalA label, at most 100 characters. Defaults to the domain.
notestring | nulloptionalAt most 500 characters: why the agent signed up, or the plan it chose and its price.
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
{
"name": "inboxes_services_create",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"domain": "example.net",
"name": "Example Tools",
"note": "Sign-up for the weekly report"
}
}services_update
Tool for services.update: PATCH /v1/services/{serviceId}
Renames the service, changes its status, replaces its note or plan, clears an active attention warning (attention: null), or decides about one of its sign-ins (signIn). Fields left out stay as they are; null clears the note, the plan, or attention. Clearing attention, allowing a sign-in and telling a relying party who owns the agent need a console session unless the account allows its account keys to (403 session_required); stopping a sign-in never does. archived sets a service aside as not a sign-up: mail from its domain still points at it, but never makes it pending again, and its sign-ins are stopped. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: any API key, or a console session.
- Annotations
readOnlyHint: false,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool changes something; calling it again with the same input has no further effect.
Input
serviceIdstringrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1mnamestringoptionalstatus"pending" | "active" | "cancelled" | "archived"optionalarchivedsets the service aside as not a sign-up: mail from it no longer makes it pending again. It clears any active warning and stops every one of the service'ssignIns.notestring | nulloptionalplanobject | nulloptionalnamestring | nulloptionalamountnumber | nulloptionalThe price in the currency's main unit: 12.5 for 12.50.
currencystring | nulloptionalExample:
USDinterval"week" | "month" | "year" | nulloptionalrenewsOnstring | nulloptionalThe next renewal or charge, as a calendar day (YYYY-MM-DD).
attentionanyoptionalNull clears an active
attentionwarning once the owner has checked the account. Needs a console session unless the account allows its account keys to (403session_required).signInobjectoptionalA decision about one of the service's
signIns. Stopping one, and no longer sharing the owner, are open to any key that reaches the service. Allowing one, and sharing the owner, need a console session unless the account allows its account keys to (403session_required).idstringrequiredThe identifier of one address's connection to one relying party. Example:
sig_01jc5f1a2b3c4d5e6f7g8h9j0kstate"allowed" | "blocked"optionalallowedlets the address sign in to the relying party;blockedstops it and ends the links, codes and tokens it was given.shareOwnerbooleanoptionalWhether the relying party is told who owns the agent, when it asks.
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
serviceId | the path parameter serviceId |
{
"name": "services_update",
"arguments": {
"serviceId": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"status": "cancelled"
}
}services_delete
Tool for services.delete: DELETE /v1/services/{serviceId}
Removes the service from the passport, with what was decided about its sign-ins. Its messages stay. A later message from the domain that concerns an account there records it again, and a later sign-in asks the owner again; archive it instead to keep it set aside. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: any API key, or a console session.
- Annotations
readOnlyHint: false,destructiveHint: true,idempotentHint: true,openWorldHint: false. The tool changes something; can remove something, or replace a secret that stops verifying at once; calling it again with the same input has no further effect.
Input
serviceIdstringrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1m
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
serviceId | the path parameter serviceId |
{
"name": "services_delete",
"arguments": {
"serviceId": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m"
}
}inboxes_verifications_list
Tool for inboxes.verifications.list: GET /v1/inboxes/{inboxId}/verifications
The verification codes and sign-in links the inbox read from its mail in the last 60 minutes, newest first. After signing up, call it with domain and waitSeconds to be handed the code as soon as it arrives. Each says whether its sender was authenticated (verified), and a link whether it points at the sender's own domain (matchesSender): treat anything else with suspicion. An agent's read is recorded on what it was handed, and a read with domain confirms the pending sign-up and attributes it to the agent when no agent has. A service's invitation to join is served for 14 days with invitation true: accept one only when your user asked. OAuth: requires mail:read.
- Offered to
- A connected agent with an approval that covers
mail:read. The default agent permissions cover it. With a key: any API key, or a console session. - Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zdomainstringoptionalOnly codes and links from this service's domain, or a host under it.
sincestring (date-time)optionalOnly those that arrived after this instant.
waitSecondsintegeroptionalWhen none has arrived yet, wait up to this many seconds for one. Defaults to 0.
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
domain | the query parameter domain |
since | the query parameter since |
waitSeconds | the query parameter waitSeconds |
{
"name": "inboxes_verifications_list",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z"
}
}inboxes_signIns_create
Tool for inboxes.signIns.create: POST /v1/inboxes/{inboxId}/sign-ins
Signs the inbox's address in to a service that accepts Sign in with Doorman, with no password and no email code. Call it only when your user asked you to use that service. status says what comes next. ready: open url, a single-use link good for 5 minutes, in the browser that should hold the session, and show it to nobody. approval_required: the owner has to allow the service once, at approvalUrl; tell your user, then call again. blocked: the owner stopped it, so do not sign in there another way. unsupported: sign up with the service's own form and the verification codes. OAuth: requires mail:write, mail:read.
- Offered to
- A connected agent with an approval that covers
mail:writeandmail:read. The default agent permissions cover it. With a key: any API key, or a console session. - Annotations
readOnlyHint: false,destructiveHint: false,idempotentHint: false,openWorldHint: true. The tool changes something; reaches outside the account: it sends mail or posts to a URL.- Capability
- Offered only where the deployment has Sign in with Doorman switched on.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zdomainstringoptionalThe service's domain or host.
clientIdstringoptionalOr the relying party's id, when the service states one.
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
{
"name": "inboxes_signIns_create",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"domain": "app.example.net"
}
}
