# Mews — Pipedream Connect

> An innovative hospitality management cloud that empowers the modern hotelier to improve performance, maximize revenue, and provide remarkable guest experiences.

- API slug: `mews` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Business Management
- Website: https://www.mews.com/
- This page (HTML): https://pipedream.com/apps/mews
- Tools: 20 actions · 9 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: mews`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "mews",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Add Customer:
const result = await mcp.callTool({
  name: "mews-add-customer",
  arguments: {
    overwriteExisting: true,
    lastName: "Last Name",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Mews endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "mews-add-customer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    mews: { authProvisionId: "apn_xxxxxxx" },
    overwriteExisting: true,
    lastName: "Last Name",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (20)

### `mews-add-customer` — Add Customer (Write)

Adds a new customer to the system. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/add-customer.md

### `mews-add-customer-file` — Add Customer File (Write)

Add a customer file to the Mews system. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/add-customer-file.md

### `mews-add-reservation-companion` — Add Reservation Companion (Write)

Add a customer as a companion to a reservation. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/add-reservation-companion.md

### `mews-add-reservation-product` — Add Reservation Product (Write)

Add a product to a reservation. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/add-reservation-product.md

### `mews-cancel-reservation` — Cancel Reservation (Write)

Cancel a reservation in Mews.

Full schema: https://pipedream.com/apps/mews/actions/cancel-reservation.md

### `mews-create-availability-block` — Create Availability Block (Write)

Create an availability block in Mews. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/create-availability-block.md

### `mews-create-task` — Create New Task (Write)

Create a new task in Mews. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/create-task.md

### `mews-create-order` — Create Order (Write)

Create an order in Mews. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/create-order.md

### `mews-create-reservation` — Create Reservation (Write)

Create a reservation in Mews. See reservation parameters in the docs. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/create-reservation.md

### `mews-fetch-age-categories` — Fetch Age Categories (Read-only)

Retrieve all age categories filtered by service. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-age-categories.md

### `mews-fetch-bills` — Fetch Bills (Read-only)

Retrieve bills using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-bills.md

### `mews-fetch-customers` — Fetch Customers (Read-only)

Retrieve customers using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-customers.md

### `mews-fetch-order-items` — Fetch Order Items (Read-only)

Retrieve order items using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-order-items.md

### `mews-fetch-products` — Fetch Products (Read-only)

Retrieve products using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-products.md

### `mews-fetch-rates` — Fetch Rates (Read-only)

Retrieve rates (pricing setups) of the specified services using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-rates.md

### `mews-fetch-reservations` — Fetch Reservations (Read-only)

Retrieve reservations using Mews Connector API. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/fetch-reservations.md

### `mews-get-bill-pdf` — Get Bill PDF (Read-only)

Get a bill PDF by bill ID. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/get-bill-pdf.md

### `mews-get-rate-prices` — Get Rate Prices (Read-only)

Get rate pricing information for a specific rate and time period. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/get-rate-prices.md

### `mews-update-customer` — Update Customer (Write)

Update an existing customer in Mews. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/update-customer.md

### `mews-update-reservation` — Update Reservation (Write)

Update an existing reservation in Mews. See the documentation

Full schema: https://pipedream.com/apps/mews/actions/update-reservation.md

## Triggers (9)

### `mews-bill-closed` — New Closed Bill (Polling)

Emit new event when a bill is closed

Full schema: https://pipedream.com/apps/mews/triggers/bill-closed.md

### `mews-company-created` — New Company (Polling)

Emit new event when a company is created. See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/company-created.md

### `mews-customer-created` — New Customer (Polling)

Emit new event when a customer is created. See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/customer-created.md

### `mews-order-item-created` — New Order Item Created (Polling)

Emit new order items as they are created (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/order-item-created.md

### `mews-product-service-order-created` — New Product Service Order Created (Polling)

Emit new product service orders as they are created (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/product-service-order-created.md

### `mews-reservation-created` — New Reservation Created (Polling)

Emit new reservations as they are created (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/reservation-created.md

### `mews-order-item-updated` — Order Item Updated (Polling)

Emit new order items as they are updated (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/order-item-updated.md

### `mews-reservation-cancelled` — Reservation Cancelled (Polling)

Emit new reservations as they are cancelled (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/reservation-cancelled.md

### `mews-reservation-updated` — Reservation Updated (Polling)

Emit new reservations as they are updated (polling). See the documentation

Full schema: https://pipedream.com/apps/mews/triggers/reservation-updated.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
