Skip to main content
Glama
vectara

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.
ParametersJSON Schema
NameRequiredDescriptionDefault
api_keyNo
corpus_keysNo
generation_preset_nameNovectara-summary-table-md-query-ext-jan-2025-gpt-4o
lexical_interpolationNo
max_used_search_resultsNo
n_sentences_afterNo
n_sentences_beforeNo
queryYes
response_languageNoeng

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the tool's function (RAG query with response generation) and mentions required parameters, but lacks details on authentication needs (though 'api_key' is implied), rate limits, error handling, or what happens if corpus keys are invalid. It adds some context but falls short of comprehensive behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear opening sentence, followed by an 'Args:' section detailing parameters and a 'Returns:' section. It is appropriately sized for a complex tool with many parameters, though some sentences could be more concise (e.g., the parameter explanations are verbose but necessary).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (9 parameters, no annotations, no output schema), the description is partially complete. It covers the purpose, parameters, and return statement, but lacks information on output format, error cases, or dependencies. Without an output schema, more detail on the response structure would improve completeness for such a multifaceted tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema, which has 0% description coverage. It explains each parameter's purpose, required status, and default values (e.g., 'query: str, The user query to run - required'), compensating fully for the schema's lack of descriptions. This is essential given the 9 parameters with only 1 required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Run a RAG query using Vectara') and resources ('returning search results with a generated response'). It distinguishes from the sibling tool 'search_vectara' by emphasizing the generation of a response alongside search results, which suggests 'search_vectara' might only return raw search results without generation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool (for RAG queries with Vectara) and includes guidance on required parameters like asking the user for corpus keys. However, it does not explicitly state when NOT to use it or mention alternatives like 'search_vectara' for non-generation searches, which would be needed for a perfect score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.
ParametersJSON Schema
NameRequiredDescriptionDefault
api_keyNo
corpus_keysNo
lexical_interpolationNo
n_sentences_afterNo
n_sentences_beforeNo
queryYes

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It discloses that the tool performs a semantic search and returns matching results, but lacks details on behavioral traits like authentication needs (though 'api_key' is a parameter), rate limits, error handling, or what 'without generation' entails operationally. The description doesn't contradict annotations (none provided), but offers minimal behavioral context beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear purpose statement followed by 'Args:' and 'Returns:' sections. It's appropriately sized, with each sentence adding value (e.g., explaining parameters and returns). However, it could be more front-loaded by integrating key parameter details into the initial statement, and some phrasing is slightly verbose (e.g., 'Please ask the user to provide').

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 6 parameters, 0% schema coverage, no annotations, and no output schema, the description is moderately complete. It covers parameter semantics well but lacks behavioral transparency (e.g., auth, limits) and detailed return value explanation beyond 'including the matching search results.' For a search tool with multiple parameters and no structured support, more context on outputs and behavior would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds significant meaning beyond the schema by explaining all 6 parameters: purpose (e.g., 'query' is 'The user query to run'), requirements (e.g., 'corpus_keys' and 'api_key' are 'required'), defaults (e.g., 'n_sentences_before' default is 2), and user guidance (e.g., 'Please ask the user to provide one or more corpus keys'). This fully documents parameter semantics not covered by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Run a semantic search query using Vectara, without generation.' It specifies the verb ('search'), resource ('Vectara'), and distinguishes it from sibling 'ask_vectara' by noting 'without generation.' However, it doesn't explicitly contrast with the sibling tool beyond this implicit distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context by stating 'without generation,' suggesting this is for pure search versus generative queries. It mentions 'Please ask the user to provide one or more corpus keys' for the 'corpus_keys' parameter, offering some guidance. However, it lacks explicit when-to-use versus 'ask_vectara' or other alternatives, and no exclusions are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updatesv1.0.0
    • First observedask_vectara
    • First observedsearch_vectara

TDQS

A3.6/5.0
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
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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).
    28
    37
    MIT
  • F
    license
    Not graded
    quality
    C
    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.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vectara/vectara-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server