Runs Postman collections locally with Newman and returns whether the collection's tests passed, with detailed results.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add postman --env PUBMED_EMAIL='<PUBMED_EMAIL>' -- npx mcp-postman~/.codex/config.toml
[mcp_servers.postman]
command = "npx"
args = ["mcp-postman"]
env = { PUBMED_EMAIL = "<PUBMED_EMAIL>" }
# codex mcp add postman --env PUBMED_EMAIL='<PUBMED_EMAIL>' -- npx mcp-postman~/.cursor/mcp.json
{
"mcpServers": {
"postman": {
"command": "npx",
"args": [
"mcp-postman"
],
"env": {
"PUBMED_EMAIL": "<PUBMED_EMAIL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"postman": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-postman"
],
"env": {
"PUBMED_EMAIL": "<PUBMED_EMAIL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"postman": {
"command": "npx",
"args": [
"mcp-postman"
],
"env": {
"PUBMED_EMAIL": "<PUBMED_EMAIL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"postman": {
"command": "npx",
"args": [
"mcp-postman"
],
"env": {
"PUBMED_EMAIL": "<PUBMED_EMAIL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"postman": {
"command": "npx",
"args": [
"mcp-postman"
],
"env": {
"PUBMED_EMAIL": "<PUBMED_EMAIL>"
}
}
}
}需要的环境变量
PUBMED_EMAIL
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。