untappd-mcp 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "MCP server for Untappd — beers, breweries, venues, check-ins, wishlists, and your friend feed",
10
- "version": "2.3.0"
10
+ "version": "2.3.2"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "Untappd",
16
16
  "source": "./",
17
17
  "description": "MCP server for Untappd — search beers/breweries/venues, read profiles/check-ins/wishlists, and post check-ins, toasts, and comments",
18
- "version": "2.3.0",
18
+ "version": "2.3.2",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "untappd-mcp",
3
3
  "displayName": "Untappd",
4
- "version": "2.3.0",
4
+ "version": "2.3.2",
5
5
  "description": "MCP server for Untappd — search beers/breweries/venues, read check-ins and wishlists, and post check-ins, toasts, and comments",
6
6
  "author": {
7
7
  "name": "Chris Hall",
@@ -18,5 +18,5 @@
18
18
  "mcp"
19
19
  ],
20
20
  "skills": "./skills/",
21
- "mcp": "./.mcp.json"
21
+ "mcpServers": "./.mcp.json"
22
22
  }
package/.mcp.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "mcpServers": {
3
3
  "untappd": {
4
- "command": "node",
5
- "args": ["${CLAUDE_PLUGIN_ROOT}/dist/index.js"],
4
+ "command": "npx",
5
+ "args": ["-y", "untappd-mcp"],
6
6
  "env": {
7
+ "UNTAPPD_ACCESS_TOKEN": "${UNTAPPD_ACCESS_TOKEN}",
7
8
  "UNTAPPD_USERNAME": "${UNTAPPD_USERNAME}",
8
9
  "UNTAPPD_PASSWORD": "${UNTAPPD_PASSWORD}",
9
10
  "UNTAPPD_CLIENT_ID": "${UNTAPPD_CLIENT_ID}",
package/README.md CHANGED
@@ -13,9 +13,10 @@ activity feed; and post check-ins, toasts, and comments.
13
13
 
14
14
  Untappd's iPad/iPhone app authenticates with a username/password **xauth** login
15
15
  (`POST https://api.untappd.com/v4/xauth`) that returns an access token, then
16
- calls the v4 API. This server reproduces that exactly:
16
+ calls the v4 API. This server reproduces that, except where the token goes:
17
17
 
18
- - Reads carry the token as an `access_token` query param.
18
+ - Reads carry the token as an `Authorization: Bearer` header, never in the URL
19
+ (the app uses an `access_token` query param; the API accepts both).
19
20
  - Writes carry it as an `Authorization: Bearer` header (with the app's client
20
21
  credentials in the query), matching the app's real requests.
21
22
 
@@ -29,14 +30,14 @@ it goes stale.
29
30
  | `UNTAPPD_ACCESS_TOKEN` | no | An access token you already hold. Supply this and **no password is needed** — the xauth login is skipped entirely. |
30
31
  | `UNTAPPD_USERNAME` | if no token | Your Untappd username or login email. |
31
32
  | `UNTAPPD_PASSWORD` | if no token | Your Untappd password (used only for the xauth login that mints a token). |
32
- | `UNTAPPD_CLIENT_ID` | yes | The Untappd mobile app client id (see below). |
33
- | `UNTAPPD_CLIENT_SECRET` | yes | The Untappd mobile app client secret. |
33
+ | `UNTAPPD_CLIENT_ID` | for login & writes | The Untappd mobile app client id (see below). A pre-seeded access token can read without it. |
34
+ | `UNTAPPD_CLIENT_SECRET` | for login & writes | The Untappd mobile app client secret. |
34
35
  | `UNTAPPD_DEVICE_ID` | no | Stable device UUID the token is keyed to (a default is provided). |
35
36
  | `UNTAPPD_UTV` | no | API version param (default `4.0.0`). |
36
37
  | `UNTAPPD_USER_AGENT` | no | Override the User-Agent (default mimics the app). |
37
38
  | `UNTAPPD_TIMEZONE` | no | IANA timezone (e.g. `America/New_York`) that check-ins are stamped with when the call doesn't pass `timezone`. Set it when the server runs somewhere other than the drinker's zone (e.g. a hosted connector, usually UTC). Defaults to the server process's zone. |
38
- | `UNTAPPD_PHOTO_DIR` | no | Restrict `untappd_checkin`'s `photo_path` to files inside this directory (several allowed, separated by `:`). Recommended wherever the model can be steered by untrusted content. |
39
- | `UNTAPPD_CACHE_DB` | no | Path to the local check-in cache SQLite file (default `~/.untappd-mcp/checkins.db`; created owner-only — dir `0700`, file `0600`). Local/stdio only. |
39
+ | `UNTAPPD_PHOTO_DIR` | no | The directory `untappd_checkin`'s `photo_path` must be inside (several allowed, separated by `:`). Defaults to `~/Downloads/untappd-mcp` — put a photo there to attach it. Any other file is refused, so a prompt-injected shout or comment can't publish an arbitrary image from your disk. |
40
+ | `UNTAPPD_CACHE_DB` | no | Path to the local check-in cache SQLite file (default `~/.untappd-mcp/checkins.db`). The db file is always made owner-only (`0600`), and so are any directories the server creates plus the default `~/.untappd-mcp`; a directory you point this into that already exists keeps its permissions. Local/stdio only. |
40
41
 
41
42
  Copy `.env.example` to `.env` and fill it in for local use.
42
43