Skip to main content
Glama
ChatGPT MCP Server

ChatGPT MCP Server

by Toowiredd

ChatGPT MCP 서버

대장간 배지

사용자 정의 GPT 인터페이스를 통해 Docker 관리 기능을 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • 자연어를 통한 Docker 컨테이너 관리

  • 모델 컨텍스트 프로토콜(MCP) 기반

  • TypeScript 구현

  • 컨테이너화된 배포

  • 강력한 오류 처리 및 정상적인 종료

  • 자원 관리 및 포트 처리

  • 속도 제한 및 API 키 인증

Related MCP server: MCP Development Server

설정

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 ChatGPT MCP 서버를 자동으로 설치하려면:

지엑스피1

수동 설치

  1. 저장소를 복제합니다

git clone https://github.com/toowiredd/chatgpt-mcp-server.git
cd chatgpt-mcp-server
  1. 종속성 설치

npm install
  1. 환경 파일 생성

cp env.example .env
# Edit .env with your configuration
  1. 프로젝트를 빌드하세요

npm run build

Docker로 실행

  1. 컨테이너를 빌드하세요

npm run docker:build
  1. 컨테이너를 실행하세요

npm run docker:run

또는 수동으로:

docker run -d \
  -p 3001:3001 \
  --env-file .env \
  -v /var/run/docker.sock:/var/run/docker.sock \
  chatgpt-mcp-server

개발

  • npm run build - TypeScript 코드 빌드

  • npm run watch - 변경 사항을 확인하고 다시 빌드합니다.

  • npm run inspector - MCP 검사기 도구 실행

환경 변수

  • API_KEY - API 인증 키

  • HTTP_PORT - 서버 포트(기본값: 3001)

  • RATE_LIMIT_REQUESTS - 윈도우당 최대 요청 수

  • RATE_LIMIT_WINDOW - 밀리초 단위의 창 크기

자원 관리

서버는 강력한 리소스 관리를 구현합니다.

  • 프로세스 신호(SIGINT, SIGTERM, SIGQUIT)에 대한 정상적인 종료

  • 연결 추적 및 관리

  • 요청 시간 초과 처리

  • 포트 충돌 감지

  • Keep-alive 연결 관리

  • 활성 요청 추적 및 정상적인 완료

종료 프로세스

  1. 서버는 프로세스 신호에 대해 정상적인 종료를 시작합니다.

  2. 새로운 연결이 거부됩니다

  3. 활성 요청은 완료될 수 있습니다(시간 초과 포함)

  4. Keep-alive 연결이 닫혔습니다.

  5. 서버 포트가 정상적으로 해제되었습니다.

  6. 리소스가 제대로 해제되었습니다

오류 처리

  • 포트 충돌이 감지되어 보고됩니다.

  • 처리되지 않은 거부 및 예외가 포착됩니다.

  • 네트워크 오류가 제대로 처리됩니다

  • 적절한 처리를 통해 리소스 누출을 방지합니다.

  • 시간 초과는 종료 중에 서버가 중단되지 않도록 보장합니다.

특허

MIT

Available Tools

7 tools
container_createC

Create and start a new Docker container

Inputs: image (required), name, ports, env.

container_execC

Execute a command in a running container

Inputs: container (required), command (required).

container_logsC

Get container logs

Inputs: container (required), tail.

container_removeC

Remove a container

Inputs: container (required), force.

containers_listC

List all Docker containers

Inputs: all.

container_startC

Start a stopped container

Inputs: container (required).

container_stopC

Stop a running container

Inputs: container (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific Docker container operations: create, execute, logs, remove, list, start, and stop. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent 'container_verb' or 'containers_verb' pattern with snake_case, except for 'containers_list' which uses plural 'containers' for listing multiple items. This minor deviation is logical and maintains overall naming predictability across the set.

    Tool Count5/5

    With 7 tools, this server is well-scoped for Docker container management, covering essential lifecycle operations without being overly sparse or bloated. Each tool serves a clear and necessary function in the domain.

    Completeness5/5

    The tool set provides complete CRUD/lifecycle coverage for Docker containers: create, start, stop, execute commands, view logs, list, and remove. There are no obvious gaps, enabling agents to handle typical container workflows without dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers