Vectara MCP Server

A Model Context Protocol (MCP) server that provides tools from Vectara

Local serverstdioPython

What is the Vectara MCP Server?

A Model Context Protocol (MCP) server that provides tools from Vectara

What the server does

The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
setup_vectara_api_key**
api_keystr, Your Vectara API key - required.
clear_vectara_api_key**
ask_vectara**
querystr, The user query to run - required.
corpus_keyslist[str], List of Vectara corpus keys to use for the search - required.
n_sentences_beforeint, Number of sentences before the answer to include in the context - optional, default is 2.
n_sentences_afterint, Number of sentences after the answer to include in the context - optional, default is 2.
lexical_interpolationfloat, The amount of lexical interpolation to use - optional, default is 0.005.
max_used_search_resultsint, The maximum number of search results to use - optional, default is 10.
generation_preset_namestr, The name of the generation preset to use - optional, default is "vectara-summary-table-md-query-ext-jan-2025-gpt-4o".
response_languagestr, The language of the response - optional, default is "eng".
search_vectara**
correct_hallucinations**

How to install the Vectara MCP Server

{
  "mcpServers": {
    "Vectara": {
      "command": "python",
      "args": ["-m", "vectara_mcp", "--stdio"],
      "env": {
        "VECTARA_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
VECTARA_API_KEYCredential the server authenticates with.Yes
VECTARA_AUTHORIZED_TOKENSCredential the server authenticates with.Yes
VECTARA_ALLOWED_ORIGINSConfiguration value read at startup.Optional
VECTARA_TRANSPORTConfiguration value read at startup.Optional
VECTARA_AUTH_REQUIREDConfiguration value read at startup.Optional

Example prompts to try

  • “Use Vectara to setup vectara api key.”
  • “Use Vectara to api key.”
  • “Use Vectara to clear vectara api key.”

Frequently asked questions

A Model Context Protocol (MCP) server that provides tools from Vectara Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.