Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .dxtignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ignore everything
src/**
.github/**
.cursor/**
.dockerignore
Docker.md
Dockerfile
eslint.config.mjs
tsconfig.json
52 changes: 52 additions & 0 deletions .github/workflows/dxt-pack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release DXT

on:
push:
tags:
- '*'

jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Sync manifest version with package.json
run: |
pkg_version=$(jq -r .version package.json)
jq --arg v "$pkg_version" '.version = $v' manifest.json > manifest.tmp.json
mv manifest.tmp.json manifest.json

- name: Build project
run: npm run build

- name: Install DXT
run: npm ci --omit=dev

- name: Install DXT
run: npm install -g @anthropic-ai/dxt

- name: Package extension
run: |
dxt pack
current_dir=$(basename "$PWD")
echo "DXT_FILENAME=${current_dir}.dxt" >> $GITHUB_ENV

- name: Upload release asset
uses: svenstaro/upload-release-action@7027b7670c56b9473901daad1fb8a09ab534688e
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.DXT_FILENAME }}
asset_name: ${{ env.DXT_FILENAME }}
tag: ${{ github.ref }}
overwrite: true
65 changes: 65 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"dxt_version": "0.2",
"version": "",
"name": "postman-mcp-server",
"display_name": "Postman MCP Server",
"description": "A basic MCP server that operates using the Postman API.",
"long_description": "This extension enables AI assistants to interact with the Postman API through Model Context Protocol (MCP). It provides a rich set of tools for managing your collections, environments, mocks, monitors, and more, all secured with your Postman API key.",
"author": {
"name": "Postman, Inc.",
"email": "[email protected]",
"url": "https://www.postman.com"
},
"repository": {
"type": "git",
"url": "https://github.com/postmanlabs/postman-mcp-server"
},
"homepage": "https://github.com/postmanlabs/postman-mcp-server",
"documentation": "https://learning.postman.com/docs/postman-ai-agent-builder/",
"support": "https://github.com/postmanlabs/postman-api-mcp/issues",
"icon": "icon.png",
"server": {
"type": "node",
"entry_point": "dist/src/index.js",
"mcp_config": {
"command": "node",
"args": [
"${__dirname}/dist/src/index.js"
],
"env": {
"POSTMAN_API_KEY": "${user_config.postman_api_key}"
}
}
},
"keywords": [
"postman",
"api",
"mcp",
"postman-api",
"collections",
"monitors",
"mocks"
],
"license": "Apache-2.0",
"user_config": {
"postman_api_key": {
"type": "string",
"title": "Postman API Key",
"description": "A valid Postman API key used to authenticate requests.",
"sensitive": true,
"required": true
}
},
"compatibility": {
"claude_desktop": ">=0.10.0",
"platforms": [
"darwin",
"win32",
"linux"
],
"runtimes": {
"node": ">=20.0.0"
}
},
"tools_generated": true
}
Loading