Skip to main content
Glama
Rentshelf MCP server

Rentshelf MCP server

by yavuzoktay
README.md
# Rentshelf MCP server

[Model Context Protocol](https://modelcontextprotocol.io) server for [Rentshelf](https://rentshelf.app), the Shopify app for rentals and bookings. It lets an AI assistant (Claude, ChatGPT, Cursor and others) read products, check availability, quote prices, and manage bookings and blackout dates in a Rentshelf shop through the Rentshelf REST API (`https://rentshelf.app/api/v1`).

Setup guide: https://rentshelf.app/integrations/claude-mcp

## Recommended: hosted server

Use the hosted remote server, no install needed:

```
https://mcp.rentshelf.app/mcp
```

Add it as a custom connector in your assistant. You sign in by pasting a Rentshelf API key on the consent page.

## Self-host (stdio)

1. In Rentshelf, open **Settings > API & MCP access** and create an API key with the scopes you need.
2. Run the server with the key in `RENTSHELF_API_KEY`.

### npx

```json
{
  "mcpServers": {
    "rentshelf": {
      "command": "npx",
      "args": ["-y", "github:yavuzoktay/rentshelf-mcp"],
      "env": { "RENTSHELF_API_KEY": "your-api-key" }
    }
  }
}
```

### Docker

```bash
docker build -t rentshelf-mcp .
docker run -i --rm -e RENTSHELF_API_KEY=your-api-key rentshelf-mcp
```

### From source

```bash
npm install && npm run build
RENTSHELF_API_KEY=your-api-key node dist/index.js
```

The server lists its tools without a key; tool calls without a key return an error explaining how to create one. Data is live (there is no test mode).

## Tools

| Tool | What it does |
| --- | --- |
| `get_shop` | Shop details, plan and API key scopes |
| `list_products` | Rental products |
| `get_product` | One product with pricing and settings |
| `check_availability` | Available units per day for a product |
| `get_quote` | Price a rental before booking |
| `list_bookings` | Bookings filtered by date and status |
| `get_booking` | One booking |
| `list_locations` | Pickup locations |
| `list_blackouts` | Blackout dates |
| `todays_handoffs` | Today's pickups and returns |
| `overdue_returns` | Rentals past their end date |
| `create_booking` | Create a booking (write) |
| `cancel_booking` | Cancel a booking (write) |
| `create_blackout` | Block dates (write) |
| `delete_blackout` | Remove a blackout (write) |

Write tools need an API key with write scopes. Scopes, plan limits and the API add-on are enforced by the Rentshelf API.

## License

MIT, Skytech Services LTD