qdrant_mcpserver
A dual-protocol server for Qdrant knowledge graph operations, supporting both FastAPI and FastMCP protocols.
The Qdrant MCP Server is designed to facilitate knowledge graph operations using Qdrant, a vector database, through two different server protocols: FastAPI and FastMCP. The server is structured to allow easy switching between these protocols via a command-line interface, ensuring flexibility and adaptability to different use cases. The project is organized into several key components, including configuration settings, Qdrant client operations, and separate implementations for FastAPI and FastMCP. The server supports essential operations such as node upsert, search, and deletion, and provides health check endpoints. It is built with maintainability in mind, using Poetry for dependency management and Pydantic for configuration validation. The server is production-ready, with comprehensive documentation and instructions for installation, usage, and deployment.
Features
- {'name': 'Flexible Server Selection', 'description': 'CLI argument chooses between FastAPI and FastMCP, with shared configuration and consistent endpoints.'}
- {'name': 'Comprehensive Documentation', 'description': 'Includes clear file structure explanation, installation and usage instructions, and environment variable reference.'}
- {'name': 'Production-Ready', 'description': 'Utilizes Poetry for dependency management and provides build and deployment instructions.'}
- {'name': 'Maintainable Structure', 'description': 'Features separation of concerns with shared core functionality and clear development practices.'}
Usage with Different Platforms
Running the Server
bash
# Run FastMCP server (default)
poetry run python -m qdrant_mcpserver.main
# Run FastAPI server
poetry run python -m qdrant_mcpserver.main --server-type fastapi
Code Formatting
bash
# Formats code according to Black's style guide (PEP 8 compliant)
poetry run black .
poetry run isort .
Testing
bash
# Run all tests
poetry run pytest -v
# Run with coverage report
poetry run pytest --cov=qdrant_mcpserver --cov-report=term-missing
Type Checking
bash
poetry run mypy .
Deployment
bash
# Build production package
poetry build
# Install system-wide
pip install dist/*.whl
# Run as service
python -m qdrant_mcpserver.main --server-type fastmcp
Related MCP Servers
View all knowledge_and_memory servers →git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
Knowledge Graph Memory Server
by modelcontextprotocol
A basic implementation of persistent memory using a local knowledge graph, allowing Claude to remember information about the user across chats.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.
rust-docs-mcp-server
by Govcraft
The Rust Docs MCP Server provides an up-to-date knowledge source for specific Rust crates, enhancing the accuracy of AI coding assistants by allowing them to query current documentation.
mindmap-mcp-server
by YuChenSSR
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
algorand-mcp
by GoPlausible
This is a Model Context Protocol (MCP) implementation for Algorand blockchain interactions, providing a server package for blockchain interactions and a client package for wallet management and transaction signing.
basic-memory
by basicmachines-co
Basic Memory is a tool that allows users to build a persistent knowledge base through natural conversations with LLMs, storing information in Markdown files.