MCP pour OpenAI et Claude
@Spysailor
MCP pour OpenAI et Claude について
Implementation of OpenAI MCP Server
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP pour OpenAI et Claude?
A simple server that acts as a Master Control Program (MCP) for interacting with AI models from OpenAI and Anthropic (Claude).
How to use MCP pour OpenAI et Claude?
Clone the repository, install dependencies with npm install, configure your API keys in a .env file based on .env.example, then start the server with npm start. The server runs on http://localhost:3000 and exposes unified and provider-specific API endpoints.
Key features of MCP pour OpenAI et Claude
- Unified API endpoint with automatic provider detection.
- Provider-specific endpoints for OpenAI and Claude.
- Supports multiple OpenAI and Claude models.
- Configurable prompt, model, maxTokens, and provider.
- Includes a simple web test interface (test-mcp.html).
Use cases of MCP pour OpenAI et Claude
- Interact with OpenAI or Claude models through a single API.
- Automatically route requests to the correct AI provider based on model name.
- Build applications that need to switch between GPT-4 and Claude models.
- Test and compare responses from different AI models easily.
FAQ from MCP pour OpenAI et Claude
What models are supported?
OpenAI models include gpt-4, gpt-4-turbo, gpt-3.5-turbo, and others. Claude models include claude-3-opus-20240229, claude-3-sonnet-20240229, claude-3-haiku-20240307, and others.
How do I configure my API keys?
Copy .env.example to .env and edit the file to add your OPENAI_API_KEY and ANTHROPIC_API_KEY values. The server reads these environment variables on startup.
What endpoints does the server provide?
Three endpoints: POST /api/mcp (unified, auto-detects provider), POST /api/mcp/openai (always OpenAI), and POST /api/mcp/claude (always Claude). All accept a JSON body with prompt, model, maxTokens, and provider parameters.
How do I choose between OpenAI and Claude?
Set the provider field to "openai", "claude", or "auto" (default) in your request. Alternatively, use the provider-specific endpoints /api/mcp/openai or /api/mcp/claude.
Is there a test interface included?
Yes, a simple web test page is included at test-mcp.html. Open it in your browser to test the MCP without writing additional code.
「AI とエージェント」の他のコンテンツ
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
コメント