Skip to main content
Glama

API Tester MCP Server

API 테스터 MCP 서버

이는 Claude가 사용자를 대신하여 API 요청을 수행할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. OpenAI API와의 전용 통합을 포함하여 다양한 API를 테스트하는 도구를 제공합니다.

특징

  • 모든 API에 HTTP 요청(GET, POST, PUT, DELETE)을 수행합니다.
  • 채팅에서 API 키를 공유하지 않고도 OpenAI의 GPT 모델을 테스트하세요
  • DALL-E로 이미지 생성
  • 읽기 쉬운 적절한 형식의 응답

설정

필수 조건

  • Python 3.10 이상
  • MCP SDK 1.2.0 이상

설치

  1. 필요한 종속성을 설치하세요:

지엑스피1

  1. 다음 방법 중 하나를 사용하여 OpenAI API 키를 설정하세요.
옵션 1: 환경 변수
# On Windows (PowerShell) $env:OPENAI_API_KEY = "your-api-key" # On Windows (Command Prompt) set OPENAI_API_KEY=your-api-key # On macOS/Linux export OPENAI_API_KEY="your-api-key"
옵션 2: .env 파일 사용(권장)

프로젝트 디렉토리에 .env 파일을 만듭니다( .env.example 에서 복사):

OPENAI_API_KEY=your_openai_api_key_here

서버 실행

python main.py

Claude와 함께 사용

서버가 실행되면 Claude Desktop 구성 파일에서 구성하여 Claude for Desktop에 연결할 수 있습니다.

예시 프롬프트

일반 API 테스트
Use the get_request tool to fetch data from https://jsonplaceholder.typicode.com/posts/1
Use the post_request tool to send data to https://jsonplaceholder.typicode.com/posts with this JSON body: {"title": "Test Post", "body": "This is a test", "userId": 1}
OpenAI 도구 사용
Use the openai_chat_completion tool with: prompt: "Write a short poem about artificial intelligence" system_message: "You are a helpful assistant that writes creative poetry" model: "gpt-4"
Use the openai_image_generation tool with: prompt: "A futuristic city with flying cars and tall glass buildings at sunset" size: "1024x1024"

사용 가능한 도구

일반 API 도구

  • get_request : 모든 URL에 GET 요청을 합니다.
  • post_request : JSON 본문으로 POST 요청하기
  • put_request : JSON 본문으로 PUT 요청하기
  • delete_request : DELETE 요청을 만듭니다.

OpenAI 전용 도구

  • openai_chat_completion : OpenAI의 채팅 모델을 사용하여 텍스트 생성
  • openai_image_generation : DALL-E를 사용하여 이미지 생성

보안 참고 사항

  • 귀하의 OpenAI API 키는 서버에 저장되며 채팅에 노출되지 않습니다.
  • API 사용은 OpenAI 할당량에 포함되며 요금이 부과될 수 있습니다.
  • 프로덕션 용도로는 항상 API 키를 환경 변수로 설정하거나 .env 파일을 사용하세요.
  • .env 파일은 API 키를 실수로 커밋하는 것을 방지하기 위해 .gitignore 에 포함됩니다.
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

클로드가 사용자를 대신하여 API 요청을 할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 채팅에서 API 키를 공유하지 않고도 HTTP 요청 및 OpenAI 통합을 포함한 다양한 API를 테스트할 수 있는 도구를 제공합니다.

  1. 특징
    1. 설정
      1. 필수 조건
      2. 설치
      3. 서버 실행
    2. Claude와 함께 사용
      1. 예시 프롬프트
    3. 사용 가능한 도구
      1. 일반 API 도구
      2. OpenAI 전용 도구
    4. 보안 참고 사항

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol (MCP) server that lets you seamlessly use OpenAI's models right from Claude.
        Last updated -
        1
        24
        28
        JavaScript
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that allows Claude to interact with Linear's API for managing teams, issues, projects, and cycles.
        Last updated -
        21
        1
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.
        Last updated -
        28
        Python
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables Claude to interact with the ConnectWise Manage API to perform operations like retrieving, creating, updating, and deleting tickets, companies, contacts, and other entities.
        Last updated -
        JavaScript
        MIT License
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vikrant-Khedkar/api-tester-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server