The Vectara MCP server provides AI agents with access to Vectara’s semantic search and retrieval-augmented generation (RAG) APIs.
query
(string, required) — the user query to run.corpus_keys
(list[string], required) — corpus keys to search; the user must provide one or more.api_key
(string, required) — the Vectara API key.n_sentences_before
(int, optional, default=2) — sentences before a hit to include in context.n_sentences_after
(int, optional, default=2) — sentences after a hit to include in context.lexical_interpolation
(float, optional, default=0.005) — balance between semantic and lexical match.max_used_search_results
(int, optional, default=10) — max number of search results to use.generation_preset_name
(string, optional, default=vectara-summary-table-md-query-ext-jan-2025-gpt-4o
) — generation preset.response_language
(string, optional, default=eng
) — language of the generated response.query
(string, required) — the user query to run.corpus_keys
(list[string], required) — corpus keys to search.api_key
(string, required) — the Vectara API key.n_sentences_before
(int, optional, default=2) — sentences before a hit to include.n_sentences_after
(int, optional, default=2) — sentences after a hit to include.lexical_interpolation
(float, optional, default=0.005) — balance between semantic and lexical match.