IV

ivanamador/vercel-ai-docs-mcp

Developer tools

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

49 stars 13 forks 品質 59 トレンド 0

ivanamador/vercel-ai-docs-mcp は [https://github.com/ivanamador/vercel-ai-docs-mcp. からインポートされた MCP サーバーの候補です

概要

ivanamador/vercel-ai-docs-mcp は [https://github.com/ivanamador/vercel-ai-docs-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Vercel AI SDK のドキュメンテーションのための AI による検索とクエリ機能を提供するモデルコンテキストプロトコル (MCP) サーバー。 このプロジェクトでは、開発者がVercel AI SDKに関する質問をし、公式のドキュメントに基づいて、正確でコンテキスト化されたレスポンスを受け取ることを可能にします。

##特徴

-Directドキュメンテーション Search: 類似性検索を使用して、Vercel AI SDK のドキュメントインデックスを直接クエリする -AIパワードエージェント: Vercel AI SDKに関する自然言語の質問をし、包括的な回答を受け取る

  • セッション管理: 複数のクエリで会話コンテキストを維持 -Automated Indexing: 最新のVercel AI SDK のドキュメントの取得、処理、インデックス作成のためのツールが含まれています

アーキテクチャ

このシステムは複数の主要なコンポーネントで構成されます。

1.MCP Server:AIアシスタントとの統合のためのモデルコンテキストプロトコルを介してツールを公開 2.DocumentFetcher:Vercel AI SDK ドキュメントのクロールと処理 3。VectorStoreManager: FAISSベクトルインデックスの作成と管理 4。AgentService:Google Geminiモデルを使用して質問にAI搭載の回答を提供 5.

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

README

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

Vercel AI SDK Documentation MCP Agent

A Model Context Protocol (MCP) server that provides AI-powered search and querying capabilities for the Vercel AI SDK documentation. This project enables developers to ask questions about the Vercel AI SDK and receive accurate, contextualized responses based on the official documentation.

Features

  • Direct Documentation Search: Query the Vercel AI SDK documentation index directly using similarity search
  • AI-Powered Agent: Ask natural language questions about the Vercel AI SDK and receive comprehensive answers
  • Session Management: Maintain conversation context across multiple queries
  • Automated Indexing: Includes tools to fetch, process, and index the latest Vercel AI SDK documentation

Architecture

This system consists of several key components:

  1. MCP Server: Exposes tools via the Model Context Protocol for integration with AI assistants
  2. DocumentFetcher: Crawls and processes the Vercel AI SDK documentation
  3. VectorStoreManager: Creates and manages the FAISS vector index for semantic search
  4. AgentService: Provides AI-powered answers to questions using the Google Gemini model
  5. DirectQueryService: Offers direct semantic search of the documentation

Setup Instructions

Prerequisites

  • Node.js 18+
  • npm
  • A Google API key for Gemini model access

Environment Variables

Create a .env file in the project root with the following variables:

GOOGLE_GENERATIVE_AI_API_KEY=your-google-api-key-here

You’ll need to obtain a Google Gemini API key from the Google AI Studio.

Installation

  1. Clone the repository

    git clone https://github.com/IvanAmador/vercel-ai-docs-mcp.git
    cd vercel-ai-docs-mcp-agent
    
  2. Install dependencies

    npm install
    
  3. Build the project

    npm run build
    
  4. Build the documentation index

    npm run build:index
    
  5. Start the MCP server

    npm run start
    

Integration with Claude Desktop

Claude Desktop is a powerful AI assistant that supports MCP servers. To connect the Vercel AI SDK Documentation MCP agent with Claude Desktop:

  1. First, install Claude Desktop if you don’t have it already.

  2. Open Claude Desktop settings (via the application menu, not within the chat interface).

  3. Navigate to the “Developer” tab and click “Edit Config”.

  4. Add the Vercel AI Docs MCP server to your configuration:

{
  "mcpServers": {
    "vercel-ai-docs": {
      "command": "node",
GitHub で README 全文を見る

インストール

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

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

設定

{ "mcpServers": { "vercel-ai-docs": { "command": "node", "args": ["ABSOLUTE_PATH_TO_PROJECT/dist/main.js"], "env": { "GOOGLE_GENERATIVE_AI_API_KEY": "your-google-api-key-here" } } } }