Account & users

whoami, invite_user and list_users — who this connection acts as, and who else can act on the customer.

A connection is bound to one person acting for one customer. These tools tell you which, and let an owner or admin bring other people in.

whoami

Show the user and customer this connection is authenticated as, the role held there, and any other customers the same person belongs to.

Takes no parameters.

Roles are owner, admin and member. A credential is bound to a single customer, so if the response lists others, reaching them means connecting a client to /mcp again and picking that organization when signing in — there is no tool that switches customer mid-session.

invite_user

Add another person to your customer. They get access by connecting their own MCP client and signing in with this email address; no credential is created or shared here. An address that already uses agenthost for another customer simply gains access to yours as well, with the role you give it.

ParameterTypeDescription
emailstring, requiredThe new user's email address.
namestring, requiredDisplay name. Ignored if agenthost already knows this address.
role"admin" or "member"Role on your customer. Defaults to member.

Requires the owner or admin role.

This is account access, not app access

invite_user hands someone control of the agenthost account — projects, deploys, the lot. To let someone merely open a deployed app, use share_app instead.

list_users

List everyone with access to your customer and the role each holds here. People who also work for other customers keep that private — only their role on yours is shown.

Takes no parameters.