Manta Developers
GitHub
Menu

@manta-eu/react/screens/integrations

Reference for @manta-eu/react/screens/integrations as it is on main.

Type Aliases

ConnectionRowActions

ConnectionRowActions = ConnectionActions & object

Type Declaration

onReconnect?

optional onReconnect?: () => void

Returns

void


ConnectionRowProps

ConnectionRowProps = ConnectionRowProps & object

Type Declaration

onReconnect?

optional onReconnect?: () => void

Returns

void


McpApprover

McpApprover = object

Properties

name

name: string

userId

userId: string


McpAuthModeName

McpAuthModeName = "bearer-or-headers" | "client-credentials" | "oauth"


McpServerStatus

McpServerStatus = "connected" | "pending" | "reconnect-needed" | "sync-failed"


McpServerSummary

McpServerSummary = object

Properties

actionCount

actionCount: number

approvers

approvers: McpApprover[]

authMode

authMode: McpAuthModeName

awaitingApprovalCount

awaitingApprovalCount: number

callsLast7Days

callsLast7Days: number

id

id: string

lastError

lastError: string | null

lastSyncAttemptAt

lastSyncAttemptAt: string | null

lastSyncedAt

lastSyncedAt: string | null

lastSyncedLabel

lastSyncedLabel: string

name

name: string

namespace

namespace: string

needsReviewCount

needsReviewCount: number

resourceCount

resourceCount: number

status

status: McpServerStatus

unknownOutcomeCount

unknownOutcomeCount: number

url

url: string


McpServersViewProps

McpServersViewProps = object

Properties

canManage

canManage: boolean

onAdd

onAdd: () => void

Returns

void

onReconnect?

optional onReconnect?: (server) => void

Parameters
server

McpServerSummary

Returns

void

onRemove?

optional onRemove?: (server) => void

Parameters
server

McpServerSummary

Returns

void


McpServerTab

McpServerTab = "overview" | "resources" | "used-by" | "calls" | "settings"


McpServerViewProps

McpServerViewProps = object

Properties

onReconnect?

optional onReconnect?: (server) => void

Parameters
server

McpServerSummary

Returns

void

onRemove?

optional onRemove?: (server) => void

Parameters
server

McpServerSummary

Returns

void

onSync?

optional onSync?: () => void

Returns

void

onTabChange

onTabChange: (tab) => void

Parameters
tab

McpServerTab

Returns

void

serverId

serverId: string

syncing?

optional syncing?: boolean

tab

tab: McpServerTab


ProviderGroupProps

ProviderGroupProps<Id> = Omit<ProviderGroupProps<Id>, "getConnectionActions"> & object

Type Parameters

Id

Id extends string = ProviderId

Type Declaration

getConnectionActions?

optional getConnectionActions?: (connection) => ConnectionRowActions

Parameters
connection

ConnectionView

Returns

ConnectionRowActions

showName?

optional showName?: boolean

Functions

ConnectionRow()

ConnectionRow(props): Element

Parameters

props

ConnectionRowProps

Returns

Element


ConnectionRowSkeleton()

ConnectionRowSkeleton(): Element

Returns

Element


McpServerRoute()

McpServerRoute(): Element

Returns

Element


McpServersRoute()

McpServersRoute(): Element

Returns

Element


McpServersView()

McpServersView(props): Element

Parameters

props

McpServersViewProps

Returns

Element


McpServerView()

McpServerView(props): Element

Parameters

props

McpServerViewProps

Returns

Element


ProviderGroup()

ProviderGroup<Id>(props): Element

Type Parameters

Id

Id extends string = ProviderId

Parameters

props

ProviderGroupProps<Id>

Returns

Element


ProviderGroupSkeleton()

ProviderGroupSkeleton(): Element

Returns

Element


useMcpServers()

useMcpServers(): UseQueryResult<McpServerSummary[], unknown>

Returns

UseQueryResult<McpServerSummary[], unknown>