Postman Tool Generation MCP Server

Integrations

  • Supports JavaScript code generation for AI tools created from Postman collections, including API integration and error handling.

  • Generates LangChain-compatible tool implementations from Postman API collections, enabling integration with the LangChain framework.

  • Creates OpenAI-compatible function definitions and tool implementations from Postman API collections, with proper error handling and response validation.

Postman 도구 생성 MCP 서버

Postman 컬렉션 및 요청으로부터 AI 에이전트 도구를 생성하는 MCP 서버입니다. 이 서버는 Postman API와 통합되어 API 엔드포인트를 다양한 AI 프레임워크에서 사용할 수 있는 유형 안전 코드로 변환합니다.

모델 컨텍스트 프로토콜(MCP)은 대규모 언어 모델(LLM)과 외부 시스템 간의 컨텍스트를 관리하기 위한 새로운 표준화된 프로토콜 입니다. 이 저장소에서는 Postman 도구 생성 API를 위한 설치 프로그램과 MCP 서버를 제공합니다.

이를 통해 Claude Desktop 이나 Cline 과 같은 MCP 클라이언트를 사용하여 자연어를 사용하여 Postman 계정에서 다음과 같은 작업을 수행할 수 있습니다.

  • Create an AI tool for: collectionID: 12345-abcde requestID: 67890-fghij typescript openai

특징

  • Postman 컬렉션에서 TypeScript/JavaScript 코드 생성
  • 다양한 AI 프레임워크 지원(OpenAI, Mistral, Gemini, Anthropic, LangChain, AutoGen)
  • 유형 안전 코드 생성
  • 오류 처리 및 응답 검증

데모

설정

  1. 종속성 설치:

지엑스피1

  1. 서버를 빌드하세요:
npm run build
  1. Claude 설정 파일( cline_mcp_settings.json )에 다음을 추가하여 MCP 설정을 구성합니다.
{ "mcpServers": { "postman-ai-tools": { "command": "node", "args": [ "/path/to/postman-tool-generation-server/build/index.js" ], "env": { "POSTMAN_API_KEY": "your-postman-api-key" }, "disabled": false, "autoApprove": [] } } }

용법

서버는 다음 매개변수를 사용하여 generate_ai_tool 이라는 단일 도구를 제공합니다.

{ collectionId: string; // The Public API Network collection ID requestId: string; // The public request ID language: "javascript" | "typescript"; // Programming language to use agentFramework: "openai" | "mistral" | "gemini" | "anthropic" | "langchain" | "autogen"; // AI framework }

// Using the tool through MCP const result = await use_mcp_tool({ server_name: "postman-ai-tools", tool_name: "generate_ai_tool", arguments: { collectionId: "your-collection-id", requestId: "your-request-id", language: "typescript", agentFramework: "openai" } });

생성된 코드

이 도구는 다음을 포함하는 유형 안전 코드를 생성합니다.

  • 요청/응답에 대한 유형 정의
  • 오류 처리
  • API 통합
  • OpenAI 함수 정의
  • 문서 및 예제

개발

  1. 종속성 설치:
npm install
  1. src/index.ts 를 변경하세요
  2. 서버를 빌드하세요:
npm run build
  1. 업데이트된 서버를 로드하려면 Claude 앱을 다시 시작하세요.

환경 변수

  • POSTMAN_API_KEY : Postman API 키(필수)

오류 처리

서버에는 다음에 대한 포괄적인 오류 처리 기능이 포함되어 있습니다.

  • 잘못된 매개변수
  • API 실패
  • JSON 구문 분석 오류
  • 네트워크 문제

오류 응답에는 문제 진단에 도움이 되는 자세한 메시지가 포함되어 있습니다.

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

MIT 라이센스

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Postman 컬렉션 및 요청으로부터 AI 에이전트 도구를 생성하는 MCP 서버입니다. 이 서버는 Postman API와 통합되어 API 엔드포인트를 다양한 AI 프레임워크에서 사용할 수 있는 유형 안전 코드로 변환합니다.

  1. 특징
    1. 데모
      1. 설정
        1. 용법
          1. 생성된 코드
        2. 개발
          1. 환경 변수
            1. 오류 처리
              1. 기여하다
                1. 특허

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
                    Last updated -
                    1
                    Python
                    Apache 2.0
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
                    Last updated -
                    31
                    1
                    TypeScript
                  • A
                    security
                    F
                    license
                    A
                    quality
                    An MCP server that allows AI assistants to interact with the ServiceTitan API, requiring client credentials for authentication.
                    Last updated -
                    454
                    TypeScript
                  • A
                    security
                    A
                    license
                    A
                    quality
                    An MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.
                    Last updated -
                    19
                    5,617
                    1,472
                    TypeScript
                    MIT License
                    • Apple

                  View all related MCP servers

                  ID: 36hxinm405