Skip to main content
Glama
giovannicocco

Postman Tool Generation MCP Server

Postmanツール生成MCPサーバー

PostmanのコレクションとリクエストからAIエージェントツールを生成するMCPサーバー。このサーバーはPostman APIと統合し、APIエンドポイントを様々なAIフレームワークで使用できる型安全なコードに変換します。

モデルコンテキストプロトコル(MCP)は、大規模言語モデル(LLM)と外部システム間のコンテキストを管理するための新しい標準化プロトコルです。このリポジトリでは、 Postmanツール生成API用のインストーラーとMCPサーバーを提供します。

これにより、 Claude DesktopClineなどの 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) のサポート

  • 型安全なコード生成

  • エラー処理と応答検証

Related MCP server: Postman MCP Generator

デモ

設定

  1. 依存関係をインストールします:

npm install
  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ライセンス

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Automatically converts Postman API collections into MCP-compatible tools for AI assistants. Enables users to interact with any API through natural language by generating JavaScript tools from Postman requests.
  • F
    license
    -
    quality
    D
    maintenance
    Generates MCP servers from Postman API requests, automatically creating JavaScript tools that enable LLMs to interact with any API documented in Postman collections. Supports authentication configuration and deployment via STDIO or SSE.
  • F
    license
    -
    quality
    D
    maintenance
    An MCP server that converts Postman API requests into executable tools for LLMs using the Postman Runtime. It supports complex authentication types and enables seamless integration between Postman collections and MCP clients like Claude Desktop.
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server that provides seamless integration with the Postman API, enabling AI assistants and applications to interact with Postman workspaces, collections, requests, environments, and folders programmatically.
    19
    20
    31
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for AI access to Swagger by SmartBear.

View all MCP Connectors

Latest Blog Posts

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/giovannicocco/mcp-server-postman-tool-generation'

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