Repository avatar
Other Tools
v0.5.8
active

also-cloud-marketplace-mcp

io.github.pitwch/also-cloud-marketplace-mcp

ALSO Cloud Marketplace API: companies, subscriptions, Azure plans, invoices (MCP stdio).

Documentation

MCP Server for ALSO Cloud Marketplace

MCP Server

ALSO Cloud Marketplace MCP

MCP Server for ALSO Cloud Marketplace
Companies · Subscriptions · Users · Invoices · Azure RI / Savings Plans

English · Deutsch

MCP MIT Node.js 20+ Version 0.5.0 Pedrett IT+Web AG


Overview

This MCP server connects AI assistants (Cursor, Claude, Gemini CLI, Codex, …) to the ALSO Cloud Marketplace Simple API. Natural-language requests are translated into API calls — locally over stdio, using the same auth and marketplace rules as the go-also-cloud-wrapper.

ProtocolModel Context Protocol (stdio)
APIMarketplaceSimpleAPI 1.0.0
StackTypeScript · Node.js 20+
Tools~60 endpoints + workflow tools

Highlights

  • Workflow tools for common reseller questions (find_companies, list_company_subscriptions, …)
  • Compact responses by default — raw data only with fullDetail=true
  • Azure RI / Savings Plans including catalog enums and order dry-run
  • Readable ALSO errors with support details (ALSO token, or server time, request refs and an MCP request ID) and a hint what to do next
  • Escape hatches: api_read / api_request for rarely used endpoints

Table of contents


Quick start

git clone https://github.com/pitwch/also-cloud-marketplace-mcp.git
cd also-cloud-marketplace-mcp
npm install
npm run build

Then set credentials (see Configuration) and register the server in your MCP client.

Recommended (built):

command: node
args:    [<REPO>/dist/index.js]

Alternative without build (tsx):

command: npx
args:    [tsx, <REPO>/src/index.ts]

Prerequisite for tsx: run npm install in the repo first.


Configuration

VariableExampleRequired
ALSO_CLOUD_MARKETPLACESwitzerland or https://marketplace.also.chyes
ALSO_CLOUDUSERyou@example.comyes
ALSO_CLOUDPW••••••••yes
ALSO_CLOUD_TIMEOUT_MS30000no
ALSO_CLOUD_API_PREFIX/SimpleAPI/.../restno
ALSO_CLOUD_PARENT_ACCOUNT_ID123456no
ALSO_CLOUD_ALLOW_REMOTE_PRICINGfalseno

ALSO_CLOUD_MARKETPLACE accepts a full URL or a country key: Switzerland, Germany, Austria, Debug, …

Without ALSO_CLOUD_PARENT_ACCOUNT_ID, the own account is detected automatically (get_my_account).

Set ALSO_CLOUD_ALLOW_REMOTE_PRICING only if ALSO enables RI/Savings Plan orders via the Simple API — otherwise validate_subscription_fields / create_subscription redirect to order_azure_reservation.

Note: 2FA

ALSO Cloud accounts have 2FA enabled by default. The Simple API and this MCP only support username + password. For API/MCP use, disable 2FA for the account via the ALSO support portal.


Client setup

Everywhere: start the server locally (stdio) and pass credentials as env.
Replace <REPO> with your clone path, e.g. C:/DEV/also-cloud-marketplace-mcp.

Cursor
  1. Settings → MCP → Add new MCP server (or edit mcp.json)
  2. Add:
{
  "mcpServers": {
    "also-cloud": {
      "command": "node",
      "args": ["C:/DEV/also-cloud-marketplace-mcp/dist/index.js"],
      "env": {
        "ALSO_CLOUD_MARKETPLACE": "Switzerland",
        "ALSO_CLOUDUSER": "you@example.com",
        "ALSO_CLOUDPW": "your-password"
      }
    }
  }
}
  1. Enable the server / reload Cursor
  2. Use also-cloud tools in chat, e.g. “List companies under parent 12345”
Claude Desktop
  1. Open config: Settings → Developer → Edit Config
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Insert the same mcpServers block as for Cursor
  3. Fully restart Claude Desktop
  4. Check the tools icon in chat — also-cloud should appear
Claude Code (CLI)
claude mcp add also-cloud \
  --env ALSO_CLOUD_MARKETPLACE=Switzerland \
  --env ALSO_CLOUDUSER=you@example.com \
  --env ALSO_CLOUDPW=secret \
  -- node /path/to/also-cloud-marketplace-mcp/dist/index.js

claude mcp list
Gemini CLI

Config in ~/.gemini/settings.json (or .gemini/settings.json):

{
  "mcpServers": {
    "also-cloud": {
      "command": "node",
      "args": ["/path/to/also-cloud-marketplace-mcp/dist/index.js"],
      "env": {
        "ALSO_CLOUD_MARKETPLACE": "Switzerland",
        "ALSO_CLOUDUSER": "you@example.com",
        "ALSO_CLOUDPW": "your-password"
      }
    }
  }
}

Or via CLI:

gemini mcp add also-cloud \
  --env ALSO_CLOUD_MARKETPLACE=Switzerland \
  --env ALSO_CLOUDUSER=you@example.com \
  --env ALSO_CLOUDPW=secret \
  -- node /path/to/also-cloud-marketplace-mcp/dist/index.js

Docs: MCP servers with Gemini CLI · Project notes: GEMINI.md

OpenAI Codex / ChatGPT Desktop

Codex uses TOML (~/.codex/config.toml):

[mcp_servers.also-cloud]
command = "node"
args = ["/path/to/also-cloud-marketplace-mcp/dist/index.js"]

[mcp_servers.also-cloud.env]
ALSO_CLOUD_MARKETPLACE = "Switzerland"
ALSO_CLOUDUSER = "you@example.com"
ALSO_CLOUDPW = "your-password"

Or:

codex mcp add also-cloud \
  --env ALSO_CLOUD_MARKETPLACE=Switzerland \
  --env ALSO_CLOUDUSER=you@example.com \
  --env ALSO_CLOUDPW=secret \
  -- node /path/to/also-cloud-marketplace-mcp/dist/index.js

codex mcp list

In the TUI, /mcp shows connected servers.
Docs: OpenAI MCP / Codex

VS Code (GitHub Copilot)

Same pattern as Cursor: register an MCP server with command / args / env, point to dist/index.js, and set credentials.

Browser (ChatGPT, Gemini, Perplexity) — MCP SuperAssistant

For web clients without native local MCP, use MCP SuperAssistant (browser extension + local proxy).

  1. Install the extension: Chrome Web Store
  2. Create config.json with the also-cloud block (same as Cursor)
  3. Start the proxy:
npx -y @srbhptl39/mcp-superassistant-proxy@latest --config ./config.json --outputTransport sse

Default URL: http://localhost:3006/sse

  1. In the browser: MCP sidebar → Connect → insert instructions → use tools

Usage

After connecting, ask in natural language:

QuestionTool
“Subscriptions for Demo AG?”list_company_subscriptions
“All Azure/VM subscriptions / RI optimization”list_azure_subscriptions
“Find company Demo”find_companies
“Exchange reservation for Demo AG”get_reservation_options
“What is my parent ID?”get_my_account
“Companies under parent 523525”get_companies
“Latest invoices for March 2026”get_latest_invoices_for_period
“Create a user under company X”create_user

Tip: For company/subscription questions use the workflow tools — not reports or marketplaces. Subscription tools return compact answers by default; raw data only with fullDetail=true.

Discover all API endpoints: list_api_endpoints.


Tools

~60 tools. Full list including risk flags: list_api_endpoints.

Recommended workflows

ToolPurpose
find_companiesFind a company under a parent: name or fragment, word prefixes ("beisp hand"), initials ("BH"), customer ID, domain; without a direct hit also abbreviations ("BP" → Beispiel …) and typos as matchMode: fuzzy
list_company_subscriptionsActive/compact subscriptions for a company incl. quantity, term (e.g. P1Y), end date, auto-renew, unit prices (purchase / sales / retail) and monthly totals
list_azure_subscriptionsAzure Plan / RI / Savings Plan (portfolio)
get_reservation_optionsExchange/change/renew options (read-only)
get_my_accountOwn account = default parentAccountId

Session & meta

ToolPurpose
list_marketplacesCountry keys → base URLs (no login)
list_api_endpointsSimple API catalog
validate_session / clear_sessionCheck / discard session
order_azure_reservationRI / Savings Plans via portal API (dry-run by default; confirmOrder=true places the order)
get_remote_enumsCascading option values (SKU, region, segment, …)
api_readRead-only escape hatch for Get*/List* without a dedicated tool
api_requestEscape hatch for write/destructive endpoints

Read

AreaTools
Company / Reseller / Dept / Userget_*, get_*_by_vat_id, lists
Subscriptionsget_subscription(s), get_subscription_with_addons, get_possible_services_for_parent
Catalogget_owned_marketplaces, list_marketplace_services, get_available_services_for_marketplace, get_service_information
Billingget_reports, execute_report, get_latest_invoices*, get_preview_invoices, get_invoice_aggregation_report
Otherget_credit_limit, get_security_roles, get_special_deal

Write

AreaTools
Accountscreate_* / update_* for Company, Reseller, Department, User
Subscriptionsget_fields_for_service, validate_subscription_fields, create_subscription, update_subscription
Actionsget_account_custom_actions, execute_account_custom_action, retry_last_failed_provisioning
Upgrade / Renewget_possible_services_for_upgrade, get_subscription_fields_for_*, execute_subscription_upgrade, configure_subscription_renew, reset_default_renew_values
Credit / Dealset_credit_limit, list_credit_check_orders_for_approval, approve_* / decline_credit_check_order, set_special_deal

Via api_request only

Destructive / rare endpoints (TerminateAccount, DeleteMarketplace*, …) intentionally have no dedicated tool — so the AI does not call them by accident.


Development

npm run dev        # stdio via tsx
npm run typecheck
npm run build
npm start          # node dist/index.js

Important: Write only MCP JSON-RPC to stdout — log exclusively with console.error.

Release: bump version in package.json (the only place it is set), commit, then push a matching tag — GitHub Actions builds and publishes the release; its notes list the commit messages since the previous tag:

git tag v0.5.3 && git push origin v0.5.3

Links

ResourceURL
Repositoryhttps://github.com/pitwch/also-cloud-marketplace-mcp
Go wrapperhttps://github.com/pitwch/go-also-cloud-wrapper
Swagger / APIhttps://app.swaggerhub.com/apis-docs/MarketplaceSimpleAPI/MarketplaceSimpleAPI/1.0.0
MCP Spechttps://modelcontextprotocol.io
Providerhttps://www.pitw.ch
Social previewdocs/assets/social-preview.png (1280×640 — GitHub → Settings → General → Social preview)

License & provider

MIT License — see LICENSE.


Pedrett IT+Web AG

Developed and provided by
Pedrett IT+Web AG
www.pitw.ch

Full automation and support — directly from the developer.

Murgtalstrasse 20 · 9542 Münchwilen TG · Switzerland · info@pitw.ch

NPM
@pitwch/also-cloud-marketplace-mcp
Install Command
npm install @pitwch/also-cloud-marketplace-mcp