@autolane/courier-mcp 0.1.0 → 0.1.1
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.
- package/README.md +10 -10
- package/dist/config.js +2 -2
- package/dist/login.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# @autolane/courier-mcp
|
|
2
2
|
|
|
3
|
-
Use [Autolane
|
|
3
|
+
Use [Courier by Autolane](https://docs.goautolane.com/courier/get-started) from an AI agent on any machine, including one with no browser: a server, a container, or a computer you reach over SSH.
|
|
4
4
|
|
|
5
5
|
This package runs a small MCP server on your machine. It links to your phone once, keeps its own login, and passes your agent's requests to Autolane at `https://mcp.goautolane.com/courier-mcp`. Any agent that can run a local (stdio) MCP server can use it, even one without OAuth.
|
|
6
6
|
|
|
7
7
|
## You probably don't need this package
|
|
8
8
|
|
|
9
|
-
Most AI assistants connect to Autolane
|
|
9
|
+
Most AI assistants connect to Courier by Autolane directly: add `https://mcp.goautolane.com/courier-mcp` as a custom connector or MCP server, link your phone, and you're done. Nothing to install.
|
|
10
10
|
|
|
11
|
-
- **Claude** (claude.ai, Claude Desktop, phone apps): Customize, Connectors, + Add, Add custom connector. Name `Autolane
|
|
12
|
-
- **ChatGPT** (web, and your dots): chatgpt.com/plugins, +, Add custom MCP server. Name `Autolane
|
|
13
|
-
- **Claude Code**: `claude mcp add --transport http --scope user autolane
|
|
14
|
-
- **Codex** (CLI, IDE extension, ChatGPT desktop app): `codex mcp add autolane
|
|
15
|
-
- **OpenClaw**: `openclaw mcp add autolane
|
|
11
|
+
- **Claude** (claude.ai, Claude Desktop, phone apps): Customize, Connectors, + Add, Add custom connector. Name `Courier by Autolane`, URL `https://mcp.goautolane.com/courier-mcp`. Select Connect, then enter your mobile number and the 6-digit code Autolane texts you.
|
|
12
|
+
- **ChatGPT** (web, and your dots): chatgpt.com/plugins, +, Add custom MCP server. Name `Courier by Autolane`, Server URL `https://mcp.goautolane.com/courier-mcp`, Authentication OAuth (leave client ID and secret empty). Select Connect and link your phone.
|
|
13
|
+
- **Claude Code**: `claude mcp add --transport http --scope user courier-by-autolane https://mcp.goautolane.com/courier-mcp`, then `claude mcp login courier-by-autolane`.
|
|
14
|
+
- **Codex** (CLI, IDE extension, ChatGPT desktop app): `codex mcp add courier-by-autolane --url https://mcp.goautolane.com/courier-mcp`. Codex opens your browser; if not, run `codex mcp login courier-by-autolane`.
|
|
15
|
+
- **OpenClaw**: `openclaw mcp add courier-by-autolane --url https://mcp.goautolane.com/courier-mcp --transport streamable-http --auth oauth`, then `openclaw mcp login courier-by-autolane`.
|
|
16
16
|
- **Hermes**: add this custom MCP entry, then open its config and select Retry, then Authorize:
|
|
17
17
|
|
|
18
18
|
```json
|
|
19
19
|
{ "mcpServers": { "Courier by Autolane": { "url": "https://mcp.goautolane.com/courier-mcp", "auth": "oauth" } } }
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
- **Muse** (Meta AI): ask "Connect the Autolane
|
|
22
|
+
- **Muse** (Meta AI): ask "Connect the Courier by Autolane MCP at https://mcp.goautolane.com/courier-mcp", open the link it shows, and check the code matches.
|
|
23
23
|
|
|
24
24
|
Full guides: [docs.goautolane.com/courier/get-started](https://docs.goautolane.com/courier/get-started).
|
|
25
25
|
|
|
@@ -37,13 +37,13 @@ On the machine where your agent runs:
|
|
|
37
37
|
|
|
38
38
|
Open the link it prints on any device (your phone works), check the page shows the same code, and enter your mobile number and the 6-digit code Autolane texts you. The command finishes by itself. Leave out `--no-browser` to have it open the link in a browser on this machine.
|
|
39
39
|
|
|
40
|
-
Autolane
|
|
40
|
+
Courier by Autolane is invite-only for now. If the page says the service isn't available for your number, [join the waitlist](https://goautolane.com/autolane-courier).
|
|
41
41
|
|
|
42
42
|
### Add it to your agent
|
|
43
43
|
|
|
44
44
|
Claude Code:
|
|
45
45
|
|
|
46
|
-
claude mcp add --scope user autolane
|
|
46
|
+
claude mcp add --scope user courier-by-autolane -- npx -y @autolane/courier-mcp
|
|
47
47
|
|
|
48
48
|
Any other agent: add a local (stdio) MCP server with the command `npx` and the arguments `-y @autolane/courier-mcp`.
|
|
49
49
|
|
package/dist/config.js
CHANGED
|
@@ -4,8 +4,8 @@ import { homedir } from 'node:os';
|
|
|
4
4
|
import { posix, win32, join } from 'node:path';
|
|
5
5
|
export const DEFAULT_SERVER = 'https://mcp.goautolane.com/courier-mcp';
|
|
6
6
|
export const RELINK = 'Not linked. Run: npx -y @autolane/courier-mcp login --no-browser';
|
|
7
|
-
/** The client_name the phone page shows: "Link your phone to Autolane
|
|
8
|
-
export const CLIENT_NAME = 'Autolane
|
|
7
|
+
/** The client_name the phone page shows: "Link your phone to Courier by Autolane MCP". */
|
|
8
|
+
export const CLIENT_NAME = 'Courier by Autolane MCP';
|
|
9
9
|
export const VERSION = createRequire(import.meta.url)('../package.json').version;
|
|
10
10
|
const LOCAL_HOSTS = new Set(['localhost', '127.0.0.1']);
|
|
11
11
|
/** The courier MCP endpoint: AUTOLANE_COURIER_URL (sandbox, or a local dev server over http), else production. */
|
package/dist/login.js
CHANGED
|
@@ -38,7 +38,7 @@ export async function login(opts) {
|
|
|
38
38
|
opts.print(`Could not revoke the previous link (${describeError(error)}); it expires on its own.`);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
opts.print('Linked. Your agent can use Autolane
|
|
41
|
+
opts.print('Linked. Your agent can use Courier by Autolane now.');
|
|
42
42
|
}
|
|
43
43
|
/** Best effort: on a machine with no browser nothing opens, and the printed link is the way in. */
|
|
44
44
|
export function openBrowser(url) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autolane/courier-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"mcpName": "com.goautolane/courier",
|
|
5
|
+
"description": "Courier by Autolane MCP for agents on any machine: a local stdio server that links through the device grant",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"bin": {
|