@chaindead/tooner_windows_arm64 0.0.4 → 0.0.7
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 +144 -2
- package/package.json +1 -1
- package/tooner.exe +0 -0
package/README.md
CHANGED
|
@@ -1,12 +1,152 @@
|
|
|
1
|
+
[](https://github.com/punkpeye/awesome-mcp-servers?tab=readme-ov-file#communication)
|
|
2
|
+
[](https://github.com/chaindead/tooner?tab=readme-ov-file#installation)
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Fchaindead%2Ftooner)
|
|
5
|
+
|
|
1
6
|
# Tooner
|
|
2
7
|
|
|
3
8
|
An MCP (Model Context Protocol) proxy that wraps MCP servers and converts JSON responses to [TOON format](https://toonformat.dev/) — a token-efficient alternative to JSON optimized for LLMs (~40% fewer tokens).
|
|
4
9
|
|
|
10
|
+
- [What it does](#what-it-does)
|
|
11
|
+
- [Installation](#installation)
|
|
12
|
+
- [Homebrew](#homebrew)
|
|
13
|
+
- [NPX](#npx)
|
|
14
|
+
- [From Releases](#from-releases)
|
|
15
|
+
- [MacOS](#macos)
|
|
16
|
+
- [Linux](#linux)
|
|
17
|
+
- [Windows](#windows)
|
|
18
|
+
- [From Source](#from-source)
|
|
19
|
+
- [Configure MCP (Cursor example)](#configure-mcp-cursor-example)
|
|
20
|
+
|
|
5
21
|
## What it does
|
|
6
22
|
|
|
7
23
|
Tooner runs any MCP server as a subprocess and transparently proxies messages between the client (e.g. Cursor) and the server. When the server returns JSON in `tools/call` responses, Tooner converts that JSON to TOON before forwarding it to the client, reducing token usage while preserving the same data.
|
|
8
24
|
|
|
9
|
-
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
### Homebrew
|
|
28
|
+
|
|
29
|
+
You can install a binary release on macOS/Linux using brew:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Install
|
|
33
|
+
brew install chaindead/tap/tooner
|
|
34
|
+
|
|
35
|
+
# Update
|
|
36
|
+
brew upgrade chaindead/tap/tooner
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### NPX
|
|
40
|
+
|
|
41
|
+
You can run the latest version directly using npx (supports macOS, Linux, and Windows):
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx -y @chaindead/tooner
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
When using NPX, modify the standard commands and configuration as follows:
|
|
48
|
+
|
|
49
|
+
- [Authentication command](#authorization) becomes:
|
|
50
|
+
```bash
|
|
51
|
+
npx -y @chaindead/tooner auth ...
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- [Claude MCP server configuration](#client-configuration) becomes:
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"mcpServers": {
|
|
58
|
+
"telegram": {
|
|
59
|
+
"command": "npx",
|
|
60
|
+
"args": ["-y", "@chaindead/tooner", "memory-mcp-server-go"]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### From Releases
|
|
67
|
+
|
|
68
|
+
#### MacOS
|
|
69
|
+
|
|
70
|
+
<details>
|
|
71
|
+
|
|
72
|
+
> **Note:** The commands below install to `/usr/local/bin`. To install elsewhere, replace `/usr/local/bin` with your preferred directory in your PATH.
|
|
73
|
+
|
|
74
|
+
First, download the archive for your architecture:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# For Intel Mac (x86_64)
|
|
78
|
+
curl -L -o tooner.tar.gz https://github.com/chaindead/tooner/releases/latest/download/tooner_Darwin_x86_64.tar.gz
|
|
79
|
+
|
|
80
|
+
# For Apple Silicon (M1/M2)
|
|
81
|
+
curl -L -o tooner.tar.gz https://github.com/chaindead/tooner/releases/latest/download/tooner_Darwin_arm64.tar.gz
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Then install the binary:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Extract the binary
|
|
88
|
+
sudo tar xzf tooner.tar.gz -C /usr/local/bin
|
|
89
|
+
|
|
90
|
+
# Make it executable
|
|
91
|
+
sudo chmod +x /usr/local/bin/tooner
|
|
92
|
+
|
|
93
|
+
# Clean up
|
|
94
|
+
rm tooner.tar.gz
|
|
95
|
+
```
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
#### Linux
|
|
99
|
+
<details>
|
|
100
|
+
|
|
101
|
+
> **Note:** The commands below install to `/usr/local/bin`. To install elsewhere, replace `/usr/local/bin` with your preferred directory in your PATH.
|
|
102
|
+
|
|
103
|
+
First, download the archive for your architecture:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# For x86_64 (64-bit)
|
|
107
|
+
curl -L -o tooner.tar.gz https://github.com/chaindead/tooner/releases/latest/download/tooner_Linux_x86_64.tar.gz
|
|
108
|
+
|
|
109
|
+
# For ARM64
|
|
110
|
+
curl -L -o tooner.tar.gz https://github.com/chaindead/tooner/releases/latest/download/tooner_Linux_arm64.tar.gz
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Then install the binary:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# Extract the binary
|
|
117
|
+
sudo tar xzf tooner.tar.gz -C /usr/local/bin
|
|
118
|
+
|
|
119
|
+
# Make it executable
|
|
120
|
+
sudo chmod +x /usr/local/bin/tooner
|
|
121
|
+
|
|
122
|
+
# Clean up
|
|
123
|
+
rm tooner.tar.gz
|
|
124
|
+
```
|
|
125
|
+
</details>
|
|
126
|
+
|
|
127
|
+
#### Windows
|
|
128
|
+
|
|
129
|
+
<details>
|
|
130
|
+
|
|
131
|
+
#### Windows
|
|
132
|
+
1. Download the latest release for your architecture:
|
|
133
|
+
- [Windows x64](https://github.com/chaindead/tooner/releases/latest/download/tooner_Windows_x86_64.zip)
|
|
134
|
+
- [Windows ARM64](https://github.com/chaindead/tooner/releases/latest/download/tooner_Windows_arm64.zip)
|
|
135
|
+
2. Extract the `.zip` file
|
|
136
|
+
3. Add the extracted directory to your PATH or move `tooner.exe` to a directory in your PATH
|
|
137
|
+
</details>
|
|
138
|
+
|
|
139
|
+
### From Source
|
|
140
|
+
|
|
141
|
+
Requirements:
|
|
142
|
+
- Go 1.26 or later
|
|
143
|
+
- GOBIN in PATH
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
go install github.com/chaindead/tooner@latest
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Configure MCP (Cursor example)
|
|
10
150
|
|
|
11
151
|
Add Tooner as a wrapper in `~/.cursor/mcp.json`, passing your MCP server as the first argument:
|
|
12
152
|
|
|
@@ -24,4 +164,6 @@ Add Tooner as a wrapper in `~/.cursor/mcp.json`, passing your MCP server as the
|
|
|
24
164
|
}
|
|
25
165
|
```
|
|
26
166
|
|
|
27
|
-
Replace `memory-mcp-server-go` with any MCP server binary in your PATH (e.g. `go-mcp-postgres
|
|
167
|
+
- Replace `memory-mcp-server-go` with any MCP server binary in your PATH (e.g. `go-mcp-postgres`).
|
|
168
|
+
- You can pass args and envs to MCP as always
|
|
169
|
+
- TOONER_LOG_PATH is optional
|
package/package.json
CHANGED
package/tooner.exe
CHANGED
|
Binary file
|