@caffeineai/mcp 0.1.0-dev.0 → 0.1.0-dev.10

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.
Files changed (2) hide show
  1. package/README.md +20 -6
  2. package/package.json +16 -13
package/README.md CHANGED
@@ -10,14 +10,14 @@ Once installed and authenticated, your agent can list, clone, build, check, and
10
10
 
11
11
  ## Prerequisites
12
12
 
13
- 1. Node.js 20 or later.
14
- 2. `@caffeineai/cli` signed in once. The MCP server reuses the CLI's OS credential-store login.
13
+ Node.js 20 or later.
15
14
 
16
15
  ```bash
17
- npm install -g @caffeineai/cli@dev
18
- caffeine auth login
16
+ node --version
19
17
  ```
20
18
 
19
+ The MCP server includes its own auth tools. You do not need to install or log in with the CLI first.
20
+
21
21
  ## Pre-Warm The Package Cache
22
22
 
23
23
  The published package contains a native binary. `npx -y` caches it after the first download, but the first invocation often happens inside an MCP host process with a startup timeout. On a slow connection the host can mark the server as offline before the download finishes.
@@ -30,6 +30,20 @@ npx -y @caffeineai/mcp@dev --version
30
30
 
31
31
  After that, hosts on the same machine start the server from cache. Subsequent runs only re-download when a newer dev version has been published.
32
32
 
33
+ ## Check The Installed Version
34
+
35
+ For minimal output:
36
+
37
+ ```bash
38
+ npx -y @caffeineai/mcp@dev --version
39
+ ```
40
+
41
+ For the standard JSON envelope:
42
+
43
+ ```bash
44
+ npx -y @caffeineai/mcp@dev --version --json
45
+ ```
46
+
33
47
  ## Install Into Your Host
34
48
 
35
49
  All snippets below use the stdio transport with `npx -y @caffeineai/mcp@dev` as the command.
@@ -134,7 +148,7 @@ Quit and reopen Windsurf after adding the config.
134
148
 
135
149
  | Tool | Description |
136
150
  | --- | --- |
137
- | `caffeine_auth_login` | Start a login flow |
151
+ | `caffeine_auth_login` | Start a login flow. Returns an auth URL by default, or a device code when called with `deviceFlow: true` |
138
152
  | `caffeine_auth_logout` | Log out and clear local credentials |
139
153
  | `caffeine_auth_status` | Check authentication status |
140
154
  | `caffeine_list_projects` | List your projects |
@@ -163,7 +177,7 @@ Native binaries ship for:
163
177
  ## Troubleshooting
164
178
 
165
179
  - **Server shows as offline on first use.** Run `npx -y @caffeineai/mcp@dev --version` in a terminal, then restart your host.
166
- - **Not logged in errors.** Run `caffeine auth login` via the CLI. The MCP server does not have a separate login.
180
+ - **Not logged in errors.** Ask your MCP host to call `caffeine_auth_login`, complete the browser or device-code flow, then call `caffeine_auth_status`.
167
181
  - **Config changes not taking effect.** Most hosts do not hot-reload MCP configs. Restart the host after editing MCP config files.
168
182
  - **`command not found: npx`.** Install Node.js 20+ and ensure `npx` is on your `PATH`.
169
183
 
package/package.json CHANGED
@@ -1,11 +1,8 @@
1
1
  {
2
2
  "name": "@caffeineai/mcp",
3
- "version": "0.1.0-dev.0",
3
+ "version": "0.1.0-dev.10",
4
4
  "description": "Caffeine MCP server",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/caffeinelabs/caffeine-cli.git"
8
- },
5
+ "homepage": "https://caffeine.ai",
9
6
  "license": "SEE LICENSE IN LICENSE",
10
7
  "bin": {
11
8
  "caffeine-mcp": "bin/caffeine-mcp.js"
@@ -16,16 +13,22 @@
16
13
  "LICENSE"
17
14
  ],
18
15
  "optionalDependencies": {
19
- "@caffeineai/mcp-darwin-arm64": "0.1.0-dev.0",
20
- "@caffeineai/mcp-darwin-x64": "0.1.0-dev.0",
21
- "@caffeineai/mcp-linux-arm64-glibc": "0.1.0-dev.0",
22
- "@caffeineai/mcp-linux-x64-glibc": "0.1.0-dev.0",
23
- "@caffeineai/mcp-linux-arm64-musl": "0.1.0-dev.0",
24
- "@caffeineai/mcp-linux-x64-musl": "0.1.0-dev.0",
25
- "@caffeineai/mcp-win32-arm64": "0.1.0-dev.0",
26
- "@caffeineai/mcp-win32-x64": "0.1.0-dev.0"
16
+ "@caffeineai/mcp-darwin-arm64": "0.1.0-dev.10",
17
+ "@caffeineai/mcp-darwin-x64": "0.1.0-dev.10",
18
+ "@caffeineai/mcp-linux-arm64-glibc": "0.1.0-dev.10",
19
+ "@caffeineai/mcp-linux-x64-glibc": "0.1.0-dev.10",
20
+ "@caffeineai/mcp-linux-arm64-musl": "0.1.0-dev.10",
21
+ "@caffeineai/mcp-linux-x64-musl": "0.1.0-dev.10",
22
+ "@caffeineai/mcp-win32-arm64": "0.1.0-dev.10",
23
+ "@caffeineai/mcp-win32-x64": "0.1.0-dev.10"
27
24
  },
25
+ "preferGlobal": true,
28
26
  "publishConfig": {
29
27
  "access": "public"
28
+ },
29
+ "caffeine": {
30
+ "distribution": "npmjs",
31
+ "packageName": "@caffeineai/mcp",
32
+ "publishedAt": "2026-05-05T12:01:36.618Z"
30
33
  }
31
34
  }