@personaai/reactv0.10.0

PersonaMcpConnection — @personaai/react

Generated field table for PersonaMcpConnection — do not edit

Generated from sdk/react/dist/typedoc.json — do not edit.

PersonaMcpConnection

One authType: 'oauth', authMode: 'user' MCP an Agent has attached, and whether the current end user has connected it yet. authorizeUrl is only present when connected is false — navigate the browser there (a same-tab redirect is fine; it's a real OAuth authorization URL) to start the consent flow.

Source: hooks/useMcpConnections.ts:13

Interface

FieldTypeDescription
mcpIdstring— _ hooks/useMcpConnections.ts:14_
namestring— _ hooks/useMcpConnections.ts:15_
descriptionstring— _ hooks/useMcpConnections.ts:16_
connectedboolean— _ hooks/useMcpConnections.ts:17_
authorizeUrlstring | null— _ hooks/useMcpConnections.ts:18_