Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 17 additions & 0 deletions .github/workflows/mcpb-pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
mv manifest-full.tmp.json manifest-full.json
jq --arg v "$pkg_version" '.version = $v' manifest-code.json > manifest-code.tmp.json
mv manifest-code.tmp.json manifest-code.json
jq --arg v "$pkg_version" '.version = $v' manifest-learn.json > manifest-learn.tmp.json
mv manifest-learn.tmp.json manifest-learn.json

- name: Build project
run: pnpm run build
Expand Down Expand Up @@ -77,10 +79,16 @@ jobs:
mcpb pack
mv "${current_dir}.mcpb" "${current_dir}-code.mcpb"

# Package learn version
cp manifest-learn.json manifest.json
mcpb pack
mv "${current_dir}.mcpb" "${current_dir}-learn.mcpb"

# Set environment variables
echo "MCPB_MINIMAL_FILENAME=${current_dir}-minimal.mcpb" >> $GITHUB_ENV
echo "MCPB_FULL_FILENAME=${current_dir}-full.mcpb" >> $GITHUB_ENV
echo "MCPB_CODE_FILENAME=${current_dir}-code.mcpb" >> $GITHUB_ENV
echo "MCPB_LEARN_FILENAME=${current_dir}-learn.mcpb" >> $GITHUB_ENV

- name: Upload minimal release asset
uses: svenstaro/upload-release-action@7027b7670c56b9473901daad1fb8a09ab534688e
Expand Down Expand Up @@ -109,6 +117,15 @@ jobs:
tag: ${{ steps.release-tag.outputs.tag }}
overwrite: true

- name: Upload learn release asset
uses: svenstaro/upload-release-action@7027b7670c56b9473901daad1fb8a09ab534688e
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.MCPB_LEARN_FILENAME }}
asset_name: ${{ env.MCPB_LEARN_FILENAME }}
tag: ${{ steps.release-tag.outputs.tag }}
overwrite: true

publish-mcp:
if: github.event_name != 'workflow_dispatch'
needs: build-and-release
Expand Down
67 changes: 67 additions & 0 deletions manifest-learn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"manifest_version": "0.2",
"version": "2.11.0",
"name": "postman-mcp-server-learn",
"display_name": "Postman MCP Server (Learn)",
"description": "Search the official Postman documentation and learning resources.",
"long_description": "This extension enables AI assistants to search the official Postman documentation and learning resources at https://learning.postman.com through Model Context Protocol (MCP). This learn version exposes a single tool for authoritative, up-to-date guidance on how to use Postman features. All secured with your Postman API key.",
"author": {
"name": "Postman, Inc.",
"email": "help@postman.com",
"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/developer/postman-api/postman-mcp-server/overview",
"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",
"--learn"
],
"env": {
"POSTMAN_API_KEY": "${user_config.postman_api_key}"
}
}
},
"keywords": [
"postman",
"api",
"mcp",
"postman-api",
"documentation",
"learning-center",
"docs",
"learn"
],
"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