MCPcopy Create free account

hub / github.com/braincrew-lab/langconnect-client / functions

Functions383 in github.com/braincrew-lab/langconnect-client

↓ 125 callersMethodjson
(self)
tests/conftest.py:43
↓ 97 callersFunctioncn
(...inputs: ClassValue[])
next-connect-ui/src/lib/utils.ts:4
↓ 82 callersMethodget
Fetch a single chunk by its UUID, verifying collection ownership.
langconnect/database/collections.py:451
↓ 59 callersMethodpost
(self, *args, **kwargs)
tests/conftest.py:57
↓ 31 callersFunctionget_async_test_client
Get an async client.
tests/unit_tests/fixtures.py:31
↓ 16 callersMethoddelete
Delete embeddings by file id or individual document id. Args: file_id: Deletes all chunks from a specific file docume
langconnect/database/collections.py:301
↓ 14 callersFunctionprocess_document
Process an uploaded file into LangChain documents.
langconnect/services/document_processor.py:38
↓ 13 callersMethodparse
(self, text: str)
mcpserver/mcp_server.py:90
↓ 13 callersFunctionuseTranslation
()
next-connect-ui/src/hooks/use-translation.ts:18
↓ 12 callersFunctionget_db_connection
Acquire a connection from the pool and release it when done.
langconnect/database/connection.py:46
↓ 12 callersFunctionserverFetchAPI
(endpoint: string, options: FetchOptions = {})
next-connect-ui/src/lib/api.ts:62
↓ 8 callersMethodrequest
(self, method: str, endpoint: str, **kwargs)
mcpserver/mcp_sse_server.py:198
↓ 8 callersMethodrequest
(self, method: str, endpoint: str, **kwargs)
mcpserver/mcp_server.py:107
↓ 6 callersFunctionget_vectorstore
Initializes and returns a PGVector store for a specific collection, using an existing engine or creating one from connection parameters.
langconnect/database/connection.py:69
↓ 5 callersMethodraise_for_status
(self)
tests/conftest.py:40
↓ 5 callersFunctionregister
(params: RegisterParams)
next-connect-ui/src/hooks/use-auth.ts:52
↓ 5 callersFunctionuseSidebar
()
next-connect-ui/src/components/ui/sidebar.tsx:47
↓ 4 callersMethod_get_details_or_raise
Get collection details if it exists, otherwise raise an error.
langconnect/database/collections.py:287
↓ 4 callersFunctiongetAuthSession
()
next-connect-ui/src/lib/auth-utils.ts:6
↓ 4 callersFunctionuseFormField
()
next-connect-ui/src/components/ui/form.tsx:45
↓ 3 callersFunctionrefreshAccessToken
(token: any)
next-connect-ui/src/lib/auth.ts:8
↓ 3 callersFunctionuseAuth
()
next-connect-ui/src/hooks/use-auth.ts:34
↓ 2 callersMethodcreate
Create a new collection. Args: collection_name: The name of the new collection. metadata: Optional metadata for the c
langconnect/database/collections.py:118
↓ 2 callersFunctiondocuments_create
Processes and indexes (adds) new document files with optional metadata. Args: user: Authenticated user collection_id: UUID of the
langconnect/api/documents.py:58
↓ 2 callersFunctionfetchAPI
(endpoint: string, options: FetchOptions = {})
next-connect-ui/src/lib/api.ts:20
↓ 2 callersFunctiongetCurrentEndpoint
()
next-connect-ui/src/app/(protected)/api-tester/page.tsx:130
↓ 2 callersMethodlist
List all document chunks in this collection.
langconnect/database/collections.py:406
↓ 2 callersFunctionsignOut
(message)
next-connect-ui/src/lib/auth.ts:137
↓ 2 callersFunctiontest_token
Test if the token works by calling the collections endpoint.
mcpserver/mcp_sse_server.py:69
↓ 2 callersFunctiontogglePopover
(docId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/documents/page.tsx:246
↓ 2 callersFunctiontogglePopover
(collectionId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/collections/page.tsx:82
↓ 2 callersFunctiontoggleSourcePopover
(sourceId: string, isOpen: boolean)
next-connect-ui/src/app/(protected)/documents/page.tsx:258
↓ 2 callersMethodupdate
Update collection metadata. Four cases: 1) metadata only → merge in metadata, keep old JSON->'name' 2) metadata + n
langconnect/database/collections.py:162
↓ 2 callersFunctionuseLanguage
()
next-connect-ui/src/providers/language-provider.tsx:46
↓ 1 callersFunctionbuildRequestBody
(endpoint: APIEndpoint)
next-connect-ui/src/app/(protected)/api-tester/page.tsx:169
↓ 1 callersFunctionbuildRequestUrl
(endpoint: APIEndpoint)
next-connect-ui/src/app/(protected)/api-tester/page.tsx:156
↓ 1 callersFunctioncreateFormSchema
(t: (key: string) => string)
next-connect-ui/src/components/modals/create-collection-modal.tsx:29
↓ 1 callersFunctioncreate_mcp_json
Create a Model Context Protocol (MCP) server configuration JSON file. This function generates a configuration file that defines how the MCP serve
mcpserver/create_mcp_json.py:151
↓ 1 callersMethoddelete_many
Delete multiple documents by a list of document IDs or file IDs.
langconnect/database/collections.py:360
↓ 1 callersFunctionensure_valid_token
Ensure we have a valid token, prompting for login if necessary.
mcpserver/mcp_sse_server.py:152
↓ 1 callersFunctiongenerateBreadcrumb
()
next-connect-ui/src/components/layout/app-header.tsx:37
↓ 1 callersMethodget
Fetch a single collection by UUID, ensuring the user owns it.
langconnect/database/collections.py:89
↓ 1 callersFunctiongetNestedValue
(obj: any, path: string)
next-connect-ui/src/hooks/use-translation.ts:8
↓ 1 callersFunctionget_access_token
Get Supabase access token through user authentication.
mcpserver/create_mcp_json.py:98
↓ 1 callersFunctionget_access_token
Get Supabase access token through user authentication.
mcpserver/mcp_sse_server.py:119
↓ 1 callersFunctionget_current_user
Authenticate a user by validating their JWT token against Supabase. This function verifies the provided JWT token by making a request to Supabase
langconnect/auth.py:46
↓ 1 callersFunctionget_db_pool
Get the pg connection pool.
langconnect/database/connection.py:21
↓ 1 callersFunctionget_embeddings
Get the embeddings instance based on the environment.
langconnect/config.py:18
↓ 1 callersFunctionget_env_variables
Load environment variables and return required variables as a dictionary. Returns: dict: Dictionary containing environment variables
mcpserver/create_mcp_json.py:131
↓ 1 callersFunctionget_vectorstore_engine
Creates and returns a sync SQLAlchemy engine for PostgreSQL.
langconnect/database/connection.py:53
↓ 1 callersFunctionhandleSearch
()
next-connect-ui/src/app/(protected)/search/page.tsx:88
↓ 1 callersFunctioninterpolate
(text: string, values: Record<string, any>)
next-connect-ui/src/hooks/use-translation.ts:12
↓ 1 callersFunctionlogin
(params: LoginParams)
next-connect-ui/src/hooks/use-auth.ts:109
↓ 1 callersFunctionlogout
()
next-connect-ui/src/hooks/use-auth.ts:158
↓ 1 callersFunctionmain
Entry point for the MCP server
mcpserver/mcp_server.py:494
↓ 1 callersFunctionmain
()
mcpserver/get_access_token.py:60
↓ 1 callersFunctionremoveFile
(index: number)
next-connect-ui/src/components/modals/upload-document-modal.tsx:102
↓ 1 callersFunctionrequireAuth
()
next-connect-ui/src/lib/auth-utils.ts:11
↓ 1 callersFunctionrequireGuest
()
next-connect-ui/src/lib/auth-utils.ts:22
↓ 1 callersFunctionreset_db
Hacky code to initialize the database. This needs to be fixed.
tests/unit_tests/fixtures.py:11
↓ 1 callersMethodsearch
Run a search in the collection. Args: query: The search query string limit: Maximum number of results to return
langconnect/database/collections.py:478
↓ 1 callersFunctionsetLanguage
(newLanguage: Language)
next-connect-ui/src/providers/language-provider.tsx:30
↓ 1 callersMethodsetup
Set up method should run any necessary initialization code. For example, it could run SQL migrations to create the necessary tables.
langconnect/database/collections.py:44
↓ 1 callersFunctionsign_in
Sign in to Supabase and get access token.
mcpserver/create_mcp_json.py:26
↓ 1 callersFunctionsign_in
Sign in to Supabase and get access token.
mcpserver/mcp_sse_server.py:48
↓ 1 callersFunctionsign_in
Sign in to Supabase and get access token.
mcpserver/get_access_token.py:27
↓ 1 callersFunctiontest_token
Test if the token works by calling the collections endpoint.
mcpserver/create_mcp_json.py:48
↓ 1 callersFunctiontest_token
Test if the token works by calling the collections endpoint.
mcpserver/get_access_token.py:49
↓ 1 callersFunctiontoggleChunkSelection
(chunk_id: string)
next-connect-ui/src/app/(protected)/documents/page.tsx:238
↓ 1 callersFunctiontoggleDocumentSelection
(file_id: string)
next-connect-ui/src/app/(protected)/documents/page.tsx:230
↓ 1 callersFunctiontoggleResultExpansion
(index: number)
next-connect-ui/src/app/(protected)/search/page.tsx:153
↓ 1 callersFunctiontoggleSelection
(uuid: string)
next-connect-ui/src/app/(protected)/collections/page.tsx:136
↓ 1 callersFunctionupdate_env_file
Update the .env file with the new access token.
mcpserver/create_mcp_json.py:59
↓ 1 callersFunctionupdate_env_file
Update the .env file with the new access token.
mcpserver/mcp_sse_server.py:80
↓ 1 callersMethodupdate_token
Update the authorization token.
mcpserver/mcp_sse_server.py:190
↓ 1 callersFunctionuploadFormData
(endpoint: string, formData: FormData)
next-connect-ui/src/lib/api.ts:75
↓ 1 callersMethodupsert
Add one or more documents to the collection.
langconnect/database/collections.py:294
↓ 1 callersFunctionuseIsMobile
()
next-connect-ui/src/hooks/use-mobile.ts:5
FunctionAPITesterPage
()
next-connect-ui/src/app/(protected)/api-tester/page.tsx:109
FunctionAlertDialog
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>)
next-connect-ui/src/components/ui/alert-dialog.tsx:9
FunctionAlertDialogAction
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>)
next-connect-ui/src/components/ui/alert-dialog.tsx:121
FunctionAlertDialogCancel
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>)
next-connect-ui/src/components/ui/alert-dialog.tsx:133
FunctionAlertDialogContent
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>)
next-connect-ui/src/components/ui/alert-dialog.tsx:47
FunctionAlertDialogDescription
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>)
next-connect-ui/src/components/ui/alert-dialog.tsx:108
FunctionAlertDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
next-connect-ui/src/components/ui/alert-dialog.tsx:79
FunctionAlertDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
next-connect-ui/src/components/ui/alert-dialog.tsx:66
FunctionAlertDialogOverlay
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>)
next-connect-ui/src/components/ui/alert-dialog.tsx:31
FunctionAlertDialogPortal
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>)
next-connect-ui/src/components/ui/alert-dialog.tsx:23
FunctionAlertDialogTitle
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>)
next-connect-ui/src/components/ui/alert-dialog.tsx:95
FunctionAlertDialogTrigger
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>)
next-connect-ui/src/components/ui/alert-dialog.tsx:15
FunctionAppHeader
()
next-connect-ui/src/components/layout/app-header.tsx:19
FunctionAppSidebar
()
next-connect-ui/src/components/layout/app-sidebar.tsx:34
FunctionAuthLayout
({ children, }: { children: React.ReactNode })
next-connect-ui/src/app/(auth)/layout.tsx:3
FunctionAuthProvider
({ children }: AuthProviderProps)
next-connect-ui/src/providers/auth-provider.tsx:10
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
next-connect-ui/src/components/ui/avatar.tsx:8
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
next-connect-ui/src/components/ui/avatar.tsx:37
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
next-connect-ui/src/components/ui/avatar.tsx:24
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
next-connect-ui/src/components/ui/badge.tsx:28
FunctionBreadcrumb
({ ...props }: React.ComponentProps<"nav">)
next-connect-ui/src/components/ui/breadcrumb.tsx:7
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
next-connect-ui/src/components/ui/breadcrumb.tsx:83
next →1–100 of 383, ranked by callers