@tb-eng/sendkit-mcp 0.0.1 → 0.0.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.
- package/Readme.md +87 -0
- package/package.json +1 -1
package/Readme.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# @tb-eng/sendkit-mcp
|
|
2
|
+
|
|
3
|
+
Model Context Protocol (MCP) server for sending Telegram messages.
|
|
4
|
+
|
|
5
|
+
SendKit MCP exposes Telegram messaging tools to AI agents such as Claude Code, Cursor, Cline, and ChatGPT.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @tb-eng/sendkit-mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
* Send Telegram messages from AI agents.
|
|
16
|
+
* Works with any MCP-compatible client.
|
|
17
|
+
* Uses the Telegram Bot API.
|
|
18
|
+
* Built on top of `@tb-eng/sendkit-core`.
|
|
19
|
+
|
|
20
|
+
## Available Tools
|
|
21
|
+
|
|
22
|
+
### `telegram`
|
|
23
|
+
|
|
24
|
+
Send a Telegram message.
|
|
25
|
+
|
|
26
|
+
#### Input
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"chatId": "123456789",
|
|
31
|
+
"message": "Hello from MCP"
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
#### Response
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"ok": true,
|
|
40
|
+
"chatId": "123456789",
|
|
41
|
+
"messageId": 42
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Configuration
|
|
46
|
+
|
|
47
|
+
Set the Telegram bot token in the MCP server environment.
|
|
48
|
+
|
|
49
|
+
Example `.mcp.json`:
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"mcpServers": {
|
|
54
|
+
"sendkit": {
|
|
55
|
+
"command": "npx",
|
|
56
|
+
"args": ["-y", "@tb-eng/sendkit-mcp"],
|
|
57
|
+
"env": {
|
|
58
|
+
"TELEGRAM_BOT_TOKEN": "YOUR_BOT_TOKEN"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Example Usage
|
|
66
|
+
|
|
67
|
+
User:
|
|
68
|
+
|
|
69
|
+
> Send "Hello" to Telegram chat 123456789.
|
|
70
|
+
|
|
71
|
+
Agent:
|
|
72
|
+
|
|
73
|
+
Uses the `telegram` MCP tool automatically.
|
|
74
|
+
|
|
75
|
+
## Supported Clients
|
|
76
|
+
|
|
77
|
+
* Claude Code
|
|
78
|
+
* Cursor
|
|
79
|
+
* Cline
|
|
80
|
+
* GitHub Copilot
|
|
81
|
+
* Gemini CLI
|
|
82
|
+
* OpenCode
|
|
83
|
+
* Warp
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT
|