MCP.so
ログイン
C

Chatgpt MCP Server

@automateyournetwork

基本情報

カテゴリ

AI とエージェント

トランスポート

stdio

作者

automateyournetwork

投稿者

John Capobianco

Chatgpt MCP Server について

概要はまだありません

Chatgpt MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "chatgpt": {
      "command": "python3",
      "args": [
        "server.py",
        "--oneshot"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}

Chatgpt MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Chatgpt?

This MCP (Model Context Protocol) stdio server forwards prompts to OpenAI’s ChatGPT (GPT-4o) for advanced summarization, analysis, and reasoning. It is designed to run inside LangGraph-based assistants.

How to use Chatgpt?

Build and run the Docker container with your OPENAI_API_KEY, or run the Python script directly using the --oneshot flag. Configure the server via an mcpServers JSON block, setting the command to python3 server.py --oneshot and providing the API key as an environment variable. The only exposed tool is ask_chatgpt, which takes a content string.

Key features of Chatgpt

  • Exposes a single tool: ask_chatgpt
  • Sends text to GPT-4o for external reasoning
  • Supports one-shot stdin/stdout mode
  • Deployable via Docker or Python directly
  • API key injected securely through environment variables

Use cases of Chatgpt

  • Summarize long documents
  • Analyze configuration files
  • Compare multiple options
  • Perform advanced natural language reasoning

よくある質問

1

What tool does this server expose?

It exposes the `ask_chatgpt` tool, which forwards the provided `content` to GPT-4o for analysis or summarization.

2

How do I provide my OpenAI API key?

Set the `OPENAI_API_KEY` environment variable, either in a `.env` file (auto‑loaded by python‑dotenv) or by exporting it directly.

3

Can I test the server locally?

Yes, use the `--oneshot` flag and send a JSON‑formatted request via `echo`, as shown in the README manual test example.

4

How do I integrate Chatgpt with LangGraph?

Configure the server with command `python3`, args `["server.py", "--oneshot"]`, and the `OPENAI_API_KEY` in the environment block of your LangGraph pipeline.

5

What dependencies does it require?

The server depends on `openai`, `requests`, and `python-dotenv`; these are installed during the Docker build.

コメント

「AI とエージェント」の他のコンテンツ