Skip to main content
Glama

Theneo MCP Server

by atombreak
integration.handlers.tsβ€’1.07 kB
import { Theneo } from "@theneo/sdk"; import { logger } from "../../utils/logger.js"; /** * Handler for listing Postman collections */ export async function handleListPostmanCollections(args: { postmanApiKey: string }) { const { postmanApiKey } = args; if (!postmanApiKey) { return { content: [ { type: "text", text: "Error: postmanApiKey is required", }, ], }; } logger.info("Listing Postman collections"); const result = await Theneo.listPostmanCollections(postmanApiKey); if (!result.ok) { const error = result.error; logger.error("Failed to list Postman collections", { error }); return { content: [ { type: "text", text: `Error: ${error?.message || "Failed to list Postman collections"}`, }, ], }; } const collections = result.value; logger.info("Postman collections listed successfully"); return { content: [ { type: "text", text: JSON.stringify(collections, null, 2), }, ], }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/atombreak/theneo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server