Vectra MCP Server

Vectra MCP Server

By dangvu0502 GitHub

An MCP server providing tools to manage and query a Vectra knowledge base, enabling integration with MCP clients via a backend API.

vectra mcp
Overview

what is Vectra MCP Server?

Vectra MCP Server is a Model Context Protocol (MCP) server designed for managing and querying a Vectra knowledge base, facilitating integration with MCP-compatible clients through a backend API.

how to use Vectra MCP Server?

To use the Vectra MCP Server, install the dependencies, build the server, and run it. You can then interact with the server using various tools provided for managing collections and querying the knowledge base.

key features of Vectra MCP Server?

  • Create and manage Vectra collections.
  • Embed texts and files into Vectra collections.
  • Query collections using hybrid search capabilities.
  • List and delete files within collections.
  • Fetch specific nodes from the underlying ArangoDB database.

use cases of Vectra MCP Server?

  1. Managing a knowledge base for AI applications.
  2. Integrating with other MCP-compatible clients for data retrieval.
  3. Performing complex queries on a structured knowledge base.

FAQ from Vectra MCP Server?

  • What programming language is Vectra MCP Server built with?

Vectra MCP Server is built using TypeScript.

  • Is there a license for using Vectra MCP Server?

Yes, it is licensed under the AGPL-3.0 license.

  • How can I contribute to the Vectra MCP Server?

You can contribute by submitting issues or pull requests on the GitHub repository.

Content

Vectra MCP Server

A Model Context Protocol (MCP) server for interacting with a Vectra knowledge base.

This TypeScript-based MCP server provides tools to manage and query a Vectra instance, enabling integration with MCP-compatible clients. It interacts with a backend Vectra API (presumably running separately).

Features

Tools

This server exposes the following tools for interacting with Vectra:

  • create_collection: Create a new Vectra collection.
    • Input: name (string, required), description (string, optional)
  • list_collections: List existing Vectra collections.
    • Input: None
  • embed_texts: Embeds multiple text items in batch into Vectra.
    • Input: items (array of objects with text (required) and optional metadata), collectionId (string, optional)
  • embed_files: Reads multiple local files and embeds their content into Vectra.
    • Input: sources (array of local file paths, required), collectionId (string, optional), metadata (object, optional - applies to all items)
  • add_file_to_collection: Add an already embedded file (referenced by its ID) to a specific Vectra collection.
    • Input: collectionId (string, required), fileId (string, required)
  • list_files_in_collection: List files within a specific Vectra collection.
    • Input: collectionId (string, required)
  • query_collection: Query the knowledge base within a specific Vectra collection.
    • Note: This tool always uses hybrid search (vector + keyword) and enables graph search enhancement by default.
    • Input: collectionId (string, required), queryText (string, required), limit (number, optional), maxDistance (number, optional), graphDepth (number, optional), graphRelationshipTypes (array of strings, optional), includeMetadataFilters (array of objects, optional), excludeMetadataFilters (array of objects, optional)
  • delete_file: Delete a file and its associated embeddings from Vectra.
    • Input: fileId (string, required)
  • get_arangodb_node: Fetch a specific node directly from the underlying ArangoDB database by its key.
    • Input: nodeKey (string, required - e.g., chunk_xyz or doc_abc)

(Refer to src/tools.ts for detailed input schemas)

Development

Install dependencies:

npm install

Build the server:

npm run build

Run the server (listens on stdio):

node build/index.js

For development with auto-rebuild:

npm run watch
No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details