Skip to content

Commit 5defce9

Browse files
committed
bump 0.1.2
1 parent 54c52d8 commit 5defce9

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# CHANGELOG
22

3-
## development
3+
## 0.1.2
44

5-
- Breaking:
5+
> 📅 2026-01-09
6+
7+
- ⛓️‍💥 Breaking:
68
- http/stdio transport is now a required command line argument, user should choose either `http` or `stdio`, `stdio` is the default.
79

8-
- New:
9-
- Added Authorization bearer token support
10+
- 🆕 New:
11+
- Added Authorization bearer token verification
1012
- Added `--log-level` command line argument
1113

12-
- Removed:
13-
- The feature that http/stdio transports run at the same time is removed.
14+
- 🗑️ Removed:
15+
- Removed the feature that http/stdio transports run at the same
1416

1517
## 0.1.1
1618

17-
- 📅 2026-01-06
19+
> 📅 2026-01-06
1820
1921
An early release.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ A MCP (Model Context Protocol) server that provides tools for controlling and in
1818
## Requirements
1919

2020
- Python >= 3.11
21-
- Android device with ADB access
22-
- Android device with uiautomator2 resources installed
21+
- adb executable in your PATH
22+
- Android device connected in debug mode
2323

2424
## Installation
2525

@@ -36,10 +36,10 @@ The server can be run in different transport modes:
3636

3737
```bash
3838
# Run in streamable HTTP mode
39-
u2mcp --http --host 0.0.0.0 --port 8000
39+
u2mcp --host 0.0.0.0 --port 8000 --no-token http
4040

4141
# Run in stdio mode
42-
u2mcp --stdio
42+
u2mcp stdio
4343
```
4444

4545
### Using the Tools

src/u2mcp/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def run(
2222
log_level: Annotated[
2323
Literal["debug", "info", "warning", "error", "critical"], typer.Option("--log-level", "-l", help="Log level")
2424
] = "info",
25-
no_auth: Annotated[
25+
no_token: Annotated[
2626
bool,
2727
typer.Option(
28-
"--no-auth",
28+
"--no-token",
2929
help="Disable authentication bearer token verification of streamable-http transport. If not set, a token will be generated randomly.",
3030
),
3131
] = False,
@@ -59,7 +59,7 @@ def run(
5959
token = token.strip()
6060
if not re.match(r"^[a-zA-Z0-9\-_.~!$&'()*+,;=:@]{8,64}$", token):
6161
raise typer.BadParameter("Token must be 8-64 characters long and can only contain URL-safe characters")
62-
elif not no_auth:
62+
elif not no_token:
6363
token = secrets.token_urlsafe()
6464
if token:
6565
update_params(token=token, host=host, port=port)

0 commit comments

Comments
 (0)