vercel-ai-mcp服务器

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

AI MCP Server

An MCP server implementation supporting OpenAI and Mistral using the Vercel AI SDK.

Supported Providers

OpenAI

  • Models: gpt-4-turbo, gpt-4, gpt-3.5-turbo
  • Features: Structured output, system prompts

Mistral

  • Models: mistral-large-latest, mistral-small-latest, pixtral-large-latest
  • Features: Safe prompts, system prompts

Prerequisites

  • Node.js 18 or higher
  • OpenAI API key (for OpenAI features)
  • Mistral API key (for Mistral features)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/openai-mcp-server.git
cd openai-mcp-server