Postman
Gennemse og administrer Postman-workspaces, collections og environments via Postman API.
Overblik
Forbind Postman så AI-klienter kan gennemse og administrere dine workspaces, collections og environments programmatisk.
Forudsætninger
- En Postman-konto med API-adgang
- En stackgate.ai-konto
Credentials
- Log ind på Postman.
- Åbn Settings → API keys og generér en ny API-nøgle. Kopiér den et sikkert sted.
- I stackgate.ai, gå til Mine integrationer → Postman.
- Klik Aktivér og indsæt din API-nøgle.
- Hvis du bruger en Postman EU Enterprise-konto, sæt API base URL til
https://api.eu.postman.com.
Se Postman API authentication docs for nøgleadministration og tilladelser.
Brug med AI-klienter
- Dedikeret endpoint:
POST /mcp/postmanmed Sanctum bearer token - Private gateway: én config til alle integrationer — brug
postman__*-navngivne værktøjer
Se Dokumentation for HTTP-autentificering og opsætning af private gateway.
Fejlfinding
- 422 integration not configured — udfyld credential-formularen i Mine integrationer med din API-nøgle.
- 401 Unauthorized — regenerér API-nøglen i Postman og opdater dine integrationscredentials.
- 403 Forbidden — din Postman-plan eller region inkluderer muligvis ikke den anmodede funktion.
- 429 Too many requests — Postman rate-limiter list-endpoints til 10 kald pr. 10 sekunder; vent før retry.
- Collection or environment not found — brug det fulde UID (
userId-itemId) fra list-værktøjer, ikke det bare item UUID.
Tilgængelige værktøjer
-
get_authenticated_user
Get the Postman user profile and API usage information for the connected API key.
-
list_workspaces
List Postman workspaces accessible to the connected account.
-
get_workspace
Get a Postman workspace by ID, including its collections, environments, mocks, and monitors.
-
list_collections
List Postman collections. Optionally scope to a workspace by ID.
-
get_collection
Get a Postman collection by UID (userId-itemId), including requests, folders, and variables.
-
list_environments
List Postman environments accessible to the connected account.
-
get_environment
Get a Postman environment by UID (userId-itemId), including variable values.
-
create_collection
Create a new Postman collection in the given workspace.
-
update_collection
Update an existing Postman collection by UID. Pass the full collection object; remove internal ids such as _postman_id when copying between workspaces.
-
create_environment
Create a new Postman environment in the given workspace.
-
update_environment
Update an existing Postman environment by UID.
MCP-endpoint:
https://stackgate.ai/mcp/postman
(HTTP) eller via
private gateway.