Skip to main content
Glama
Vectara MCP server

Vectara MCP server

Official
by vectara

Vectara MCP 서버

GitHub Repo 별점PyPI 버전특허

🔌 Claude Desktop 및 기타 MCP 클라이언트와 호환됩니다!

Vectara MCP는 모든 MCP 클라이언트와도 호환됩니다.

MCP(Model Context Protocol)는 AI 시스템이 다양한 데이터 소스 및 도구와 원활하게 상호 작용할 수 있도록 하는 개방형 표준으로, 안전한 양방향 연결을 용이하게 합니다.

Vectara-MCP는 MCP 프로토콜을 통해 Vectara의 신뢰할 수 있는 RAG 플랫폼을 기반으로, 환각 현상이 감소된 빠르고 안정적인 RAG에 대한 접근을 모든 에이전트 애플리케이션에 제공합니다.

설치

PyPI에서 직접 패키지를 설치할 수 있습니다.

지엑스피1

Related MCP server: mcp-rag-server

사용 가능한 도구

  • ask_vectara: Vectara를 사용하여 RAG 쿼리를 실행하고 생성된 응답과 함께 검색 결과를 반환합니다.

    인수:

    • 쿼리: str, 실행할 사용자 쿼리 - 필수.

    • corpus_keys: list[str], 검색에 사용할 Vectara 코퍼스 키 목록 - 필수. 사용자에게 하나 이상의 코퍼스 키를 제공하도록 요청하세요.

    • api_key: str, Vectara API 키 - 필수.

    • n_sentences_before: int, 컨텍스트에 포함할 답변 앞의 문장 수 - 선택 사항, 기본값은 2입니다.

    • n_sentences_after: int, 컨텍스트에 포함할 답변 이후의 문장 수 - 선택 사항, 기본값은 2입니다.

    • lexical_interpolation: float, 사용할 어휘 보간의 양 - 선택 사항, 기본값은 0.005입니다.

    • max_used_search_results: int, 사용할 검색 결과의 최대 개수 - 선택 사항, 기본값은 10입니다.

    • generation_preset_name: str, 사용할 세대 사전 설정의 이름입니다. 선택 사항이며 기본값은 "vectara-summary-table-md-query-ext-jan-2025-gpt-4o"입니다.

    • response_language: str, 응답 언어 - 선택 사항, 기본값은 "eng"입니다.

    보고:

    • 생성된 답변과 검색 결과를 포함한 Vectara의 응답입니다.

  • search_vectara: 생성 없이 Vectara를 사용하여 의미 검색 쿼리를 실행합니다.

    인수:

    • 쿼리: str, 실행할 사용자 쿼리 - 필수.

    • corpus_keys: list[str], 검색에 사용할 Vectara 코퍼스 키 목록 - 필수. 사용자에게 하나 이상의 코퍼스 키를 제공하도록 요청하세요.

    • api_key: str, Vectara API 키 - 필수.

    • n_sentences_before: int, 컨텍스트에 포함할 답변 앞의 문장 수 - 선택 사항, 기본값은 2입니다.

    • n_sentences_after: int, 컨텍스트에 포함할 답변 이후의 문장 수 - 선택 사항, 기본값은 2입니다.

    • lexical_interpolation: float, 사용할 어휘 보간의 양 - 선택 사항, 기본값은 0.005입니다.

    보고:

    • 일치하는 검색 결과를 포함한 Vectara의 응답입니다.

Claude Desktop을 사용한 구성

claude_desktop_config.json에 다음을 추가합니다.

{
  "mcpServers": {
    "Vectara": {
      "command": "uv",
      "args": [
        "tool",
        "run",
        "vectara-mcp"
      ]
    }
  }
}

Claude 데스크톱 앱에서의 사용

설치가 완료되고 Claude 데스크톱 앱 구성이 완료되면 Vectara-mcp 서버를 확인하려면 Claude 데스크톱 앱을 완전히 닫았다가 다시 열어야 합니다. 앱 왼쪽 하단에 사용 가능한 MCP 도구를 나타내는 망치 아이콘이 표시되며, 이 망치 아이콘을 클릭하면 Vectara-search 및 Vectara-extract 도구에 대한 자세한 내용을 볼 수 있습니다.

이제 Claude는 ask-vectara 및 search-vectara 도구를 포함하여 Vectara-mcp 서버에 완전히 접근할 수 있습니다. 도구를 처음 발급할 때 Claude는 Vectara API 키와 코퍼스 키(여러 코퍼스를 사용하려는 경우 키)를 요청합니다. 이 키들을 설정하면 바로 사용할 수 있습니다. 다음은 저희 웹사이트 의 정보가 포함된 Vectara 코퍼스를 사용하여 시도해 볼 수 있는 몇 가지 예시입니다.

Vectara RAG 예시

  1. Vectara 코퍼스 쿼리 :

ask-vectara Who is Amr Awadallah?
  1. Vectara 코퍼스 검색 :

search-vectara events in NYC?

감사의 말 ✨

Available Tools

2 tools
ask_vectaraA
Run a RAG query using Vectara, returning search results with a generated response.

Args:
    query: str, The user query to run - required.
    corpus_keys: list[str], List of Vectara corpus keys to use for the search - required. Please ask the user to provide one or more corpus keys. 
    api_key: str, The Vectara API key - required.
    n_sentences_before: int, Number of sentences before the answer to include in the context - optional, default is 2.
    n_sentences_after: int, Number of sentences after the answer to include in the context - optional, default is 2.
    lexical_interpolation: float, The amount of lexical interpolation to use - optional, default is 0.005.
    max_used_search_results: int, The maximum number of search results to use - optional, default is 10.
    generation_preset_name: str, The name of the generation preset to use - optional, default is "vectara-summary-table-md-query-ext-jan-2025-gpt-4o".
    response_language: str, The language of the response - optional, default is "eng".

Returns:
    The response from Vectara, including the generated answer and the search results.

Inputs: query (required), api_key, corpus_keys, generation_preset_name, +5 more.

search_vectaraA
Run a semantic search query using Vectara, without generation.

Args:
    query: str, The user query to run - required.
    corpus_keys: list[str], List of Vectara corpus keys to use for the search - required. Please ask the user to provide one or more corpus keys. 
    api_key: str, The Vectara API key - required.
    n_sentences_before: int, Number of sentences before the answer to include in the context - optional, default is 2.
    n_sentences_after: int, Number of sentences after the answer to include in the context - optional, default is 2.
    lexical_interpolation: float, The amount of lexical interpolation to use - optional, default is 0.005.

Returns:
    The response from Vectara, including the matching search results.

Inputs: query (required), api_key, corpus_keys, lexical_interpolation, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

    TDQS

    A3.6/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: ask_vectara performs RAG queries with generated responses, while search_vectara performs semantic search without generation. Their descriptions explicitly differentiate between these functions, leaving no room for confusion or overlap in intended use.

    Naming Consistency5/5

    Both tools follow a perfect verb_noun pattern with 'vectara' as the consistent noun component. The naming is completely uniform across the tool set, using snake_case consistently without any deviations or mixed conventions.

    Tool Count2/5

    With only 2 tools, this server feels significantly under-scoped for a Vectara integration. A comprehensive MCP server for a search/RAG platform would typically include tools for corpus management, document operations, configuration settings, and additional query types beyond just these two basic search functions.

    Completeness2/5

    The tool surface is severely incomplete for a Vectara integration. While it covers basic querying, it lacks essential operations like creating/updating/deleting corpora, managing documents within corpora, configuring search parameters, handling authentication more robustly, or providing administrative functions. This creates significant gaps that will limit agent capabilities.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Local MCP server that provides semantic search (RAG) over code repositories, enabling AI clients like Claude and Gemini to access project context without manual re-upload.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).
      29 npm
      36
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that exposes document retrieval as tools (semantic search and source listing) for any LLM, using a vector index built from DocPilot's ingestion pipeline.
      -