This MCP server implementation provides a bridge to DataBridge, enabling AI assistants to ingest and retrieve information from a local database. Developed as part of the databridge-mcp project, it offers two main tools: one for ingesting user observations with metadata, and another for retrieving relevant information based on user queries. The server uses FastMCP for efficient request handling and is designed to work with Python 3.11+. It's particularly useful for AI applications requiring persistent storage and retrieval of contextual information, supporting use cases like maintaining conversation history or building knowledge bases from user interactions. The implementation focuses on simplicity and ease of integration, making it suitable for both development and production environments.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Ingest a text document into Morphik. Parameters: content, filename (optional), metadata (optional), apiKey.
Ingest a file from the server's filesystem into Morphik. Parameters: path, metadata (optional), rules (optional), folderName (optional), endUserId (optional), useColpali (optional).
Batch ingest multiple files from the server's filesystem. Parameters: paths, metadata (optional), rules (optional), folderName (optional), endUserId (optional), useColpali (optional).
Retrieve relevant chunks from Morphik based on a query. Parameters: query, filters (optional), k (optional), minScore (optional), apiKey.
Retrieve relevant documents from Morphik based on a query. Parameters: query, filters (optional), k (optional), minScore (optional), apiKey.
Generate a completion using relevant chunks as context. Parameters: query, filters (optional), k (optional), maxTokens (optional), temperature (optional), apiKey.
List documents in Morphik. Parameters: skip (optional), limit (optional), filters (optional), apiKey.
Get a specific document from Morphik by ID. Parameters: documentId, apiKey.
Delete a document from Morphik by ID. Parameters: documentId, apiKey.
List directories that the server is allowed to access. Parameters: none.
List files and subdirectories in a specific directory. Parameters: path.
Search for files matching a pattern in a directory and its subdirectories. Parameters: path, pattern, excludePatterns (optional).
Get detailed information about a file or directory. Parameters: path.