VV

vectara/vectara-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

30 stars 9 forks 品質 76 トレンド 15Apache-2.0

Vectara のオープンソース MCP サーバー

概要

🔌 Vectara MCP は、任意の MCP クライアントと互換性があります モデルコンテクストプロトコル(MCP)は、AIシステムがさまざまなデータソースやツールとシームレスにやり取りし、セキュアで双方向の接続を促進できるオープンスタンダードです。 Vectara-MCP は、MCP プロトコルを介して Vectara の Trusted RAG プラットフォームによって供給され、高速で信頼性の高い RAG にアクセスできる、任意のエージェントアプリケーションを提供します。 PyPI から直接パッケージをインストールできます。 - ベアワートークンによる組み込み認証 - HTTPS 対応 - デフォルトで 100 リクエスト/分 - 構成可能な原点検証 - 生産展開、クラウド環境 - リアルタイムの更新のためのサーバー・セント・イベント - ベアラー・トークン・サポート - 従来のMCPクライアントと働く - リアルタイムのストリーミング・アプリケーション - 輸送層のセキュリティなし - ローカル通信のための低遅延 - ローカル開発、Claudeデスクトップ - --stdioフラグで明示的に有効化する必要があります HTTP または SSE トランスポートを使用する場合は、デフォルトで認証が必要です

概要(AI 翻訳)

🔌Claudeデスクトップと他のMCPクライアントと互換性があります! ツイート Vectara MCP はまたあらゆる MCP の顧客と互換性があります ツイート

モデルコンテクストプロトコル(MCP)は、AIシステムがさまざまなデータソースやツールとシームレスにやり取りし、セキュアで双方向の接続を促進できるオープンスタンダードです。

Vectara-MCP は、MCP プロトコルを介して Vectara の Trusted RAG プラットフォームによって供給され、高速で信頼性の高い RAG にアクセスできる、任意のエージェントアプリケーションを提供します。

インストール

PyPI から直接パッケージをインストールできます。

クイックスタート

デフォルトでセキュア (認証によるHTTP/SSE)

##ローカル開発モード(STDIO)

設定オプション

輸送モード

HTTP トランスポート (デフォルト - 推奨)

  • セキュリティ: ベアトークンによる組み込み認証 -暗号化: HTTPS対応 -Rate Limiting: デフォルトで100リクエスト/分
  • 保護: 構成可能な起源の検証
  • ユースケース: 生産展開、クラウド環境

###SSE輸送 -Streaming: リアルタイムの更新のためのサーバー送信イベント -認証: ベアアトークンのサポート

  • 互換性: 従来のMCPクライアントと連携

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Vectara MCP Server

🔌 Compatible with Claude Desktop, and any other MCP Client!

Vectara MCP is also compatible with any MCP client

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.

Vectara-MCP provides any agentic application with access to fast, reliable RAG with reduced hallucination, powered by Vectara’s Trusted RAG platform, through the MCP protocol.

Installation

You can install the package directly from PyPI:

pip install vectara-mcp

Quick Start

Secure by Default (HTTP/SSE with Authentication)

# Start server with secure HTTP transport (DEFAULT)
python -m vectara_mcp
# Server running at http://127.0.0.1:8000 with authentication enabled

Local Development Mode (STDIO)

# For Claude Desktop or local development (less secure)
python -m vectara_mcp --stdio
# ⚠️ Warning: STDIO transport is less secure. Use only for local development.

Configuration Options

# Custom host and port
python -m vectara_mcp --host 0.0.0.0 --port 8080

# SSE transport mode
python -m vectara_mcp --transport sse --path /sse

# Disable authentication (DANGEROUS - dev only)
python -m vectara_mcp --no-auth

Transport Modes

  • Security: Built-in authentication via bearer tokens
  • Encryption: HTTPS ready
  • Rate Limiting: 100 requests/minute by default
  • CORS Protection: Configurable origin validation
  • Use Case: Production deployments, cloud environments

SSE Transport

  • Streaming: Server-Sent Events for real-time updates
  • Authentication: Bearer token support
  • Compatibility: Works with legacy MCP clients
  • Use Case: Real-time streaming applications

STDIO Transport

  • ⚠️ Security Warning: No transport-layer security
  • Performance: Low latency for local communication
  • Use Case: Local development, Claude Desktop
  • Requirement: Must be explicitly enabled with --stdio flag

Environment Variables

# Required
export VECTARA_API_KEY="your-api-key"

# Optional
export VECTARA_AUTHORIZED_TOKENS="token1,token2"  # Additional auth tokens
export VECTARA_ALLOWED_ORIGINS="http://localhost:*,https://app.example.com"
export VECTARA_TRANSPORT="http"  # Default transport mode
export VECTARA_AUTH_REQUIRED="true"  # Enforce authentication

Authentication

HTTP/SSE Transport

When using HTTP or SSE transport, authentication is required by default:

# Using curl with bearer token
curl -H "Authorization: Bearer $VECTARA_API_KEY" \
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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