@caffeineai/mcp 0.1.0-dev.0 → 0.1.0-dev.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.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +9 -9
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.
@@ -134,7 +134,7 @@ Quit and reopen Windsurf after adding the config.
134
134
 
135
135
  | Tool | Description |
136
136
  | --- | --- |
137
- | `caffeine_auth_login` | Start a login flow |
137
+ | `caffeine_auth_login` | Start a login flow. Returns an auth URL by default, or a device code when called with `deviceFlow: true` |
138
138
  | `caffeine_auth_logout` | Log out and clear local credentials |
139
139
  | `caffeine_auth_status` | Check authentication status |
140
140
  | `caffeine_list_projects` | List your projects |
@@ -163,7 +163,7 @@ Native binaries ship for:
163
163
  ## Troubleshooting
164
164
 
165
165
  - **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.
166
+ - **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
167
  - **Config changes not taking effect.** Most hosts do not hot-reload MCP configs. Restart the host after editing MCP config files.
168
168
  - **`command not found: npx`.** Install Node.js 20+ and ensure `npx` is on your `PATH`.
169
169
 
@@ -177,6 +177,7 @@ echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | npx -y @caff
177
177
 
178
178
  ## Links
179
179
 
180
+ - Source, issues, and release notes: https://github.com/caffeinelabs/caffeine-cli
180
181
  - Caffeine platform: https://caffeine.ai
181
182
  - Model Context Protocol: https://modelcontextprotocol.io
182
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caffeineai/mcp",
3
- "version": "0.1.0-dev.0",
3
+ "version": "0.1.0-dev.2",
4
4
  "description": "Caffeine MCP server",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,14 +16,14 @@
16
16
  "LICENSE"
17
17
  ],
18
18
  "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"
19
+ "@caffeineai/mcp-darwin-arm64": "0.1.0-dev.2",
20
+ "@caffeineai/mcp-darwin-x64": "0.1.0-dev.2",
21
+ "@caffeineai/mcp-linux-arm64-glibc": "0.1.0-dev.2",
22
+ "@caffeineai/mcp-linux-x64-glibc": "0.1.0-dev.2",
23
+ "@caffeineai/mcp-linux-arm64-musl": "0.1.0-dev.2",
24
+ "@caffeineai/mcp-linux-x64-musl": "0.1.0-dev.2",
25
+ "@caffeineai/mcp-win32-arm64": "0.1.0-dev.2",
26
+ "@caffeineai/mcp-win32-x64": "0.1.0-dev.2"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"