Skip to main content
Glama
hlebtkachenko

POHODA MCP Server

pohoda_list_stores

Export a list of stores or warehouses from the POHODA accounting system to manage inventory locations and stock data.

Instructions

Export list of stores (warehouses) from POHODA

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the pohoda_list_stores tool.
    server.tool(
      "pohoda_list_stores",
      "Export list of stores (warehouses) from POHODA",
      {},
      async () => {
        try {
          const xml = buildExportRequest(
            { ico: client.ico },
            "lst:listStoreRequest",
            NS.lst,
            "lst:requestStore",
          );
          const resp = parseResponse(await client.sendXml(xml));
          const data = extractListData(resp);
          return jsonResult("Stores", data, data.length);
        } catch (e) {
          return err((e as Error).message);
        }
      },
    );

Latest Blog Posts

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/hlebtkachenko/pohoda-mcp'

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