-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
Description
The MCP server initializes successfully but immediately disconnects, preventing the extension from functioning properly in Claude.
Expected Behavior
The MCP server should maintain a stable connection after initialization and remain available for use.
Actual Behavior
- Server starts and connects successfully
- Receives initialization message from client
- Server transport closes unexpectedly immediately after
- Connection terminates with "Server disconnected" error
- Extensions seems to be correctly installed:
Error Details
Environment
- Platform: MacOS 15.5 (24F74)
- Node.js version: (Built-in) 22.15.0
- Claude Desktop version: 0.11.6 (0aa9ce)
Logs
2025-07-04T14:24:26.513Z [Postman API MCP] [info] Initializing server... { metadata: undefined }
2025-07-04T14:24:26.526Z [Postman API MCP] [info] Using built-in Node.js for MCP server: Postman API MCP { metadata: undefined }
2025-07-04T14:24:26.528Z [Postman API MCP] [info] Server started and connected successfully { metadata: undefined }
2025-07-04T14:24:26.545Z [Postman API MCP] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} { metadata: undefined }
2025-07-04T14:24:26.812Z [Postman API MCP] [info] Server transport closed { metadata: undefined }
2025-07-04T14:24:26.812Z [Postman API MCP] [info] Client transport closed { metadata: undefined }
2025-07-04T14:24:26.812Z [Postman API MCP] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. console.error('...') in JavaScript, print('...', file=sys.stderr) in python) and it will appear in this log. { metadata: undefined }
2025-07-04T14:24:26.812Z [Postman API MCP] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) { metadata: { context: 'connection', stack: undefined } }
2025-07-04T14:24:26.812Z [Postman API MCP] [info] Client transport closed { metadata: undefined }
Manifest.json
{
"$schema": "../../dist/dxt-manifest.schema.json",
"dxt_version": "0.1",
"name": "postman-api-mcp",
"display_name": "Postman API MCP",
"version": "1.0.0",
"description": "A simple MCP server to operate on the Postman API",
"long_description": "This extension allows AI assistants to interact with the Postman API through the Model Context Protocol (MCP). It provides a rich set of tools for managing collections, environments, mocks, monitors, and more, all secured with the user's 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-api-mcp"
},
"homepage": "https://github.com/postmanlabs/postman-api-mcp",
"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": "src/index.js",
"mcp_config": {
"command": "node",
"args": [
"${__dirname}/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": "Your Postman API key used for authenticating requests",
"sensitive": true,
"required": true
}
},
"compatibility": {
"claude_desktop": ">=0.10.0",
"platforms": [
"darwin",
"win32",
"linux"
],
"runtimes": {
"node": ">=20.0.0"
}
},
"tools_generated": true
}Troubleshooting Attempted
- Verified all dependencies are installed
- Checked for required configuration files
- Confirmed file permissions
- Attempted manual server execution
- Reviewed extension documentation
What am I missing here?
Metadata
Metadata
Assignees
Labels
No labels