能力标签
chatgpt-cli MCP工具
🔌
MCP工具

chatgpt-cli MCP工具

基于 Go · 让 AI 助手直接操作你的系统与工具
英文名:chatgpt-cli
⭐ 923 Stars 🍴 61 Forks 💻 Go 📄 MIT 🏷 AI 8.2分
8.2AI 综合评分
MCPCLI工具多模型支持Agent框架Go语言
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:chatgpt-cli MCP工具 是一款优质的MCP工具。AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

chatgpt-cli MCP工具 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 chatgpt-cli MCP工具,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。chatgpt-cli MCP工具 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 chatgpt-cli MCP工具 评为 AI 评分 8.2 分,属于同类工具中的优质选择。

📋 工具概览

支持多个AI提供商的强大命令行工具,集成ChatGPT、Azure等服务。采用MCP架构,支持Agent和自动化工作流,适合开发者、DevOps工程师和AI应用构建者快速集成大模型能力。

chatgpt-cli MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 923
开发语言
Go
支持平台
Windows / macOS / Linux(跨平台)
维护状态
正常维护,社区驱动
开源协议
MIT
AI 综合评分
8.2 分
工具类型
MCP工具
Forks
61

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

支持多个AI提供商的强大命令行工具,集成ChatGPT、Azure等服务。采用MCP架构,支持Agent和自动化工作流,适合开发者、DevOps工程师和AI应用构建者快速集成大模型能力。

chatgpt-cli MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/kardolus/chatgpt-cli

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "chatgpt-cli-mcp--": {
      "command": "npx",
      "args": ["-y", "chatgpt-cli"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 chatgpt-cli MCP工具 执行以下任务...
Claude: [自动调用 chatgpt-cli MCP工具 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "chatgpt-cli_mcp__": {
      "command": "npx",
      "args": ["-y", "chatgpt-cli"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 44/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

ChatGPT CLI

Test Workflow Public Backlog

ChatGPT CLI is a powerful, multi-provider command-line interface for working with modern LLMs. It supports OpenAI, Azure, Perplexity, LLaMA, and more, and includes streaming, interactive chat, prompt files, image/audio I/O, MCP tool calls, and an experimental agent mode for multi-step tasks with safety and budget controls.

a screenshot

Features

Streaming mode: Real-time interaction with the GPT model. Query mode: Single input-output interactions with the GPT model. Interactive mode: The interactive mode allows for a more conversational experience with the model. Prints the token usage when combined with query mode. Thread-based context management: Enjoy seamless conversations with the GPT model with individualized context for each thread, much like your experience on the OpenAI website. Each unique thread has its own history, ensuring relevant and coherent responses across different chat instances. Sliding window history: To stay within token limits, the chat history automatically trims while still preserving the necessary context. The size of this window can be adjusted through the context-window setting. Custom context from any source: You can provide the GPT model with a custom context during conversation. This context can be piped in from any source, such as local files, standard input, or even another program. This flexibility allows the model to adapt to a wide range of conversational scenarios. Agent mode (ReAct + Plan/Execute): Run multi-step tasks that can think, act, and observe using tools like shell, file operations, and LLM reasoning. Supports both iterative ReAct loops and Plan/Execute workflows, with built-in budget limits (time, steps, tokens) and policy enforcement* (allowed tools, denied commands, workdir sandboxing) for safe-by-default automation. Web search: Allow compatible models (e.g. gpt-5+) to fetch live web data during a query. Enable with the web setting and tune results using web_context_size. MCP (Model Context Protocol) support: Call external MCP tools via HTTP(S) or STDIO, inject their results into the conversation context, and continue the prompt seamlessly. MCP session management: Built-in support for stateful MCP servers. The CLI automatically initializes sessions, attaches session identifiers, and renews them when they become invalid. Support for images: Upload an image or provide an image URL using the --image flag. Note that image support may not be available for all models. You can also pipe an image directly: pngpaste - | chatgpt "What is this photo?" Generate images: Use the --draw and --output flags to generate an image from a prompt (requires image-capable models like gpt-image-1). Edit images: Use the --draw flag with --image and --output to modify an existing image using a prompt ( e.g., "add sunglasses to the cat"). Supported formats: PNG, JPEG, and WebP. Audio support: You can upload audio files using the --audio flag to ask questions about spoken content. This feature is compatible only with audio-capable models like gpt-4o-audio-preview. Currently, only .mp3 and .wav formats are supported. Transcription support: You can also use the --transcribe flag to generate a transcript of the uploaded audio. This uses OpenAI’s transcription endpoint (compatible with models like gpt-4o-transcribe) and supports a wider range of formats, including .mp3, .mp4, .mpeg, .mpga, .m4a, .wav, and .webm. Text-to-speech support: Use the --speak and --output flags to convert text to speech (works with models like gpt-4o-mini-tts). If you have afplay installed (macOS), you can even chain playback like this:

    chatgpt --speak "convert this to audio" --output test.mp3 && afplay test.mp3
    
Model listing: Access a list of available models using the -l or --list-models flag. * Advanced configuration options: The CLI supports a layered configuration system where settings can be specified through default values, a config.yaml file, and environment variables. For quick adjustments, various --set-<value> flags are provided. To verify your current settings, use the --config or -c flag.

Installation

Getting Started

1. Set the OPENAI_API_KEY environment variable to your ChatGPT secret key. To set the environment variable, you can add the following line to your shell profile (e.g., ~/.bashrc, ~/.zshrc, or ~/.bash_profile), replacing your_api_key with your actual key:

    export OPENAI_API_KEY="your_api_key"
    
  1. To enable history tracking across CLI calls, create a ~/.chatgpt-cli directory using the command:
    mkdir -p ~/.chatgpt-cli
    

Once this directory is in place, the CLI automatically manages the message history for each "thread" you converse with. The history operates like a sliding window, maintaining context up to a configurable token maximum. This ensures a balance between maintaining conversation context and achieving optimal performance.

By default, if a specific thread is not provided by the user, the CLI uses the default thread and stores the history at ~/.chatgpt-cli/history/default.json. You can find more details about how to configure the thread parameter in the Configuration section of this document.

  1. Try it out:
    chatgpt what is the capital of the Netherlands
    
  1. To start interactive mode, use the -i or --interactive flag:
    chatgpt --interactive
    

If you want the CLI to automatically create a new thread for each session, ensure that the auto_create_new_thread configuration variable is set to true. This will create a unique thread identifier for each interactive session.

5. To use the pipe feature, create a text file containing some context. For example, create a file named context.txt with the following content:

    Kya is a playful dog who loves swimming and playing fetch.
    

Then, use the pipe feature to provide this context to ChatGPT:

    cat context.txt | chatgpt "What kind of toy would Kya enjoy?"
    
  1. To list all available models, use the -l or --list-models flag:
    chatgpt --list-models
    
  1. For more options, see:
   chatgpt --help
   

Uninstallation

If for any reason you wish to uninstall the ChatGPT CLI application from your system, you can do so by following these steps:

Configuration

The ChatGPT CLI adopts a four-tier configuration strategy, with different levels of precedence assigned to flags, environment variables, a config.yaml file, and default values, in that respective order:

1. Flags: Command-line flags have the highest precedence. Any value provided through a flag will override other configurations. 2. Environment Variables: If a setting is not specified by a flag, the corresponding environment variable (prefixed with the name field from the config) will be checked. 3. Config file (config.yaml): If neither a flag nor an environment variable is set, the value from the config.yaml file will be used. 4. Default Values: If no value is specified through flags, config.yaml, or environment variables, the CLI will fall back to its built-in default values.

General Configuration

VariableDescriptionDefault
nameThe prefix for environment variable overrides.'openai'
threadThe name of the current chat thread. Each unique thread name has its own context.'default'
targetLoad configuration from config._target_.yaml''
omit_historyIf true, the chat history will not be used to provide context for the GPT model.false
command_promptThe command prompt in interactive mode. Should be single-quoted.'[%datetime] [Q%counter]'
output_promptThe output prompt in interactive mode. Should be single-quoted.''
command_prompt_colorThe color of the command_prompt in interactive mode. Supported colors: "red", "green", "blue", "yellow", "magenta".''
output_prompt_colorThe color of the output_prompt in interactive mode. Supported colors: "red", "green", "blue", "yellow", "magenta".''
auto_create_new_threadIf set to true, a new thread with a unique identifier (e.g., int_a1b2) will be created for each interactive session. If false, the CLI will use the thread specified by the thread parameter.false
auto_shell_titleIf set to true, sets the title of the shell to the name of the current thread.false
track_token_usageIf set to true, displays the total token usage after each query in --query mode, helping you monitor API usage.false
debugIf set to true, prints the raw request and response data during API calls, useful for debugging.false
custom_headersAdd a map of custom headers to each http request{}
skip_tls_verifyIf set to true, skips TLS certificate verification, allowing insecure HTTPS requests.false
http_timeoutHTTP client timeout in seconds. Set to 0 for no timeout, useful for slow or local models.60
multilineIf set to true, enables multiline input mode in interactive sessions.false
role_filePath to a file that overrides the system role (role).''
promptPath to a file that provides additional context before the query.''
imageLocal path or URL to an image used in the query.''
audioPath to an audio file (MP3/WAV) used as part of the query.''
outputPath where synthesized audio is saved when using --speak.''
transcribeEnables transcription mode. This flags takes the path of an audio file.false
speakIf true, enables text-to-speech synthesis for the input query.false
drawIf true, generates an image from a prompt and saves it to the path specified by output. Requires image-capable models.false
webEnable web search for supported models (e.g. gpt-5+).false
web_context_sizeControls how much context is retrieved during web search (low, medium, high).low

LLM-Specific Configuration

VariableDescriptionDefault
api_keyYour API key.''
api_key_fileLoad the API key from a file instead of the environment. Takes precedence over the environment variable.''
auth_headerThe header used for authorization in API requests.'Authorization'
auth_token_prefixThe prefix to be added before the token in the auth_header.'Bearer '
completions_pathThe API endpoint for completions.'/v1/chat/completions'
context_windowThe memory limit for how much of the conversation can be remembered at one time.8192
effortSets the reasoning effort. Used by gpt-5 and o1-pro models.'low'
frequency_penaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far.0.0
image_edits_pathThe API endpoint for image editing.'/v1/images/edits'
image_generations_pathThe API endpoint for image generation.'/v1/images/generations'
max_tokensThe maximum number of tokens that can be used in a single API call.4096
modelThe GPT model used by the application.'gpt-4o'
models_pathThe API endpoint for accessing model information.'/v1/models'
presence_penaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far.0.0
responses_pathThe API endpoint for responses. Used by o1-pro models.'/v1/responses'
roleThe system role'You are a helpful assistant.'
seedSets the seed for deterministic sampling (Beta). Repeated requests with the same seed and parameters aim to return the same result.0
speech_pathThe API endpoint for text-to-speech synthesis.'/v1/audio/speech'
temperatureWhat sampling temperature to use, between 0 and 2. Higher values make the output more random; lower values make it more focused and deterministic.1.0
top_pAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.1.0
transcriptions_pathThe API endpoint for audio transcription requests.'/v1/audio/transcriptions'
urlThe base URL for the OpenAI API.'https://api.openai.com'
user_agentThe header used for the user agent in API requests.'chatgpt-cli'
voiceThe voice to use when generating audio with TTS models like gpt-4o-mini-tts.'nova'

Agent Configuration

VariableDescriptionDefault
agentEnable agent modefalse
agent.modeStrategy (react or plan)react
agent.work_dirWorking directory.
agent.max_iterationsMax ReAct iterations10
agent.max_stepsMax plan steps10
agent.max_wall_timeMax wall time (0 = unlimited)0
agent.max_shell_callsMax shell calls (0 = unlimited)0
agent.max_llm_callsMax LLM calls (0 = unlimited)10
agent.max_file_opsMax file ops (0 = unlimited)0
agent.max_llm_tokensMax LLM tokens (0 = unlimited)0
agent.allowed_toolsAllowed toolssee below
agent.denied_shell_commandsDenied shell commandssee below
agent.allowed_file_opsAllowed file opssee below
agent.restrict_files_to_work_dirSandbox to workdirtrue
agent.write_plan_jsonWrite plan.json in plan modetrue
agent.plan_json_pathOverride plan.json path""
agent.dry_runNo side effectsfalse

You can also use flags, for example:

chatgpt "what files are here?" --agent --agent-work-dir /tmp
#### Default Policy

allowed_tools: [shell, llm, files]
denied_shell_commands: [rm, sudo, dd, mkfs, shutdown, reboot]
allowed_file_ops: [read, write]

Custom Config, Cache and Data Directory

By default, ChatGPT CLI stores configuration and history files in the ~/.chatgpt-cli directory. However, you can easily override these locations by setting environment variables, allowing you to store configuration and history in custom directories.

Environment VariableDescriptionDefault Location
OPENAI_CONFIG_HOMEOverrides the default config directory path.~/.chatgpt-cli
OPENAI_DATA_HOMEOverrides the default data directory path.~/.chatgpt-cli/history
OPENAI_CACHE_HOMEOverrides the default cache directory path.~/.chatgpt-cli/cache

Example for Custom Directories

To change the default configuration or data directories, set the appropriate environment variables:

export OPENAI_CONFIG_HOME="/custom/config/path"
export OPENAI_DATA_HOME="/custom/data/path"
export OPENAI_CACHE_HOME="/custom/cache/path"

If these environment variables are not set, the application defaults to ~/.chatgpt-cli for configuration files and ~ /.chatgpt-cli/history for history.

Switching Between Configurations with --target

You can maintain multiple configuration files side by side and switch between them using the --target flag. This is especially useful if you use multiple LLM providers (like OpenAI, Perplexity, Azure, etc.) or have different contexts or workflows that require distinct settings.

How it Works

When you use the --target flag, the CLI loads a config file named:

config.<target>.yaml

For example:

chatgpt --target perplexity --config

This will load:

~/.chatgpt-cli/config.perplexity.yaml

If the --target flag is not provided, the CLI falls back to:

~/.chatgpt-cli/config.yaml

Example Setup

You can maintain the following structure:

~/.chatgpt-cli/
├── config.yaml # Default (e.g., OpenAI)
├── config.perplexity.yaml # Perplexity setup
├── config.azure.yaml # Azure-specific config
└── config.llama.yaml # LLaMA setup

Then switch between them like so:

chatgpt --target azure "Explain Azure's GPT model differences"
chatgpt --target perplexity "What are some good restaurants in the Red Hook area"

Or just use the default:

chatgpt "What's the capital of Sweden?"

CLI and Environment Interaction

The value of --target is never persisted — it must be explicitly passed for each run. The config file corresponding to the target is loaded before any environment variable overrides are applied. * Environment variables still follow the name: field inside the loaded config, so name: perplexity enables PERPLEXITY_API_KEY.

Variables for interactive mode:

  • %date: The current date in the format YYYY-MM-DD.
  • %time: The current time in the format HH:MM:SS.
  • %datetime: The current date and time in the format YYYY-MM-DD HH:MM:SS.
  • %counter: The total number of queries in the current session.
  • %usage: The usage in total tokens used (only works in query mode).

The defaults can be overridden by providing your own values in the user configuration file. The structure of this file mirrors that of the default configuration. For instance, to override the model and max_tokens parameters, your file might look like this:

model: gpt-3.5-turbo-16k
max_tokens: 4096

This alters the model to gpt-3.5-turbo-16k and adjusts max_tokens to 4096. All other options, such as url , completions_path, and models_path, can similarly be modified.

You can also add custom HTTP headers to all API requests. This is useful when working with proxies, API gateways, or services that require additional headers:

custom_headers:
  X-Custom-Header: "custom-value"
  X-API-Version: "v2"
  X-Client-ID: "my-client-id"

If the user configuration file cannot be accessed or is missing, the application will resort to the default configuration.

Another way to adjust values without manually editing the configuration file is by using environment variables. The name attribute forms the prefix for these variables. As an example, the model can be modified using the OPENAI_MODEL environment variable. Similarly, to disable history during the execution of a command, use:

OPENAI_OMIT_HISTORY=true chatgpt what is the capital of Denmark?

This approach is especially beneficial for temporary changes or for testing varying configurations.

Moreover, you can use the --config or -c flag to view the present configuration. This handy feature allows users to swiftly verify their current settings without the need to manually inspect the configuration files.

chatgpt --config

Executing this command will display the active configuration, including any overrides instituted by environment variables or the user configuration file.

To facilitate convenient adjustments, the ChatGPT CLI provides flags for swiftly modifying the model, thread , context-window and max_tokens parameters in your user configured config.yaml. These flags are --set-model , --set-thread, --set-context-window and --set-max-tokens.

For instance, to update the model, use the following command:

chatgpt --set-model gpt-3.5-turbo-16k

This feature allows for rapid changes to key configuration parameters, optimizing your experience with the ChatGPT CLI.

Azure Configuration

For Azure, you need to configure these, or similar, value

name: azure
api_key: <your azure api key>
url: https://<your_resource>.openai.azure.com
completions_path: /openai/deployments/<your_deployment>/chat/completions?api-version=<your_api>
auth_header: api-key
auth_token_prefix: " "

You can set the API key either in the config.yaml file as shown above or export it as an environment variable:

export AZURE_API_KEY=<your_key>

Perplexity Configuration

For Perplexity, you will need something equivelent to the following values:

name: perplexity
api_key: <your perplexity api key>
model: sonar
url: https://api.perplexity.ai

You can set the API key either in the config.yaml file as shown above or export it as an environment variable:

export PERPLEXITY_API_KEY=<your_key>

You can set the API key either in the config.yaml file as shown above or export it as an environment variable:

export AZURE_API_KEY=<your_key>

302.AI Configuration

I successfully tested 302.AI with the following values

name: ai302 # environment variables cannot start with numbers
api_key: <your 302.AI api key>
url: https://api.302.ai

You can set the API key either in the config.yaml file as shown above or export it as an environment variable:

export AI302_API_KEY=<your_key>

Atlas Cloud Configuration

Atlas Cloud exposes an OpenAI-compatible API at https://api.atlascloud.ai/v1, giving access to 300+ models (DeepSeek, Llama, Qwen, and more) through a single endpoint. Because it speaks the OpenAI Chat Completions format, it works with ChatGPT CLI out of the box using the following values:

name: atlascloud
api_key: <your Atlas Cloud api key>
model: deepseek-ai/deepseek-v4-pro
url: https://api.atlascloud.ai/v1

You can set the API key either in the config.yaml file as shown above or export it as an environment variable:

export ATLASCLOUD_API_KEY=<your_key>

You can browse the full model catalog and create an API key from the Atlas Cloud dashboard.

🎯 aiskill88 AI 点评 A 级 2026-05-20

业界领先的MCP CLI工具,Go语言实现保证性能,多提供商支持满足企业多元需求,生态活跃度高。

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 做语音类 AI 产品的开发者
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
chatgpt-cli 中文教程chatgpt-cli 安装报错怎么办chatgpt-cli MCP 配置chatgpt-cli Agent 工作流chatgpt-cli 与同类工具对比chatgpt-cli 最佳实践chatgpt-cli 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 做语音类 AI 产品的开发者
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效

👥 适合人群

Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师

🎯 使用场景

  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

支持OpenAI ChatGPT、Microsoft Azure、Google等多个主流AI服务提供商。
💡 AI Skill Hub 点评

总体来看,chatgpt-cli MCP工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 chatgpt-cli MCP工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 chatgpt-cli
原始描述 开源MCP工具:ChatGPT CLI is a powerful, multi-provider command-line interface for working wit。⭐923 · Go
Topics MCPCLI工具多模型支持Agent框架Go语言
GitHub https://github.com/kardolus/chatgpt-cli
License MIT
语言 Go
🔗 原始来源
🐙 GitHub 仓库  https://github.com/kardolus/chatgpt-cli

收录时间:2026-05-18 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →