-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathprogress.txt
More file actions
63 lines (53 loc) · 2.48 KB
/
progress.txt
File metadata and controls
63 lines (53 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Progress Log - mcp-telegram
## 2026-01-28: Standardize README and Add MCP Tool Auto-Sync Workflow
### Task
Update mcp-telegram: cd into mcp-telegram, create branch feat/standardize-readme, update README structure, copy workflows from mcp-opinion, commit, push, create PR, merge
### Changes Made
1. **README Structure Standardization**
- Restructured README.md to match standardized format from mcp-opinion
- Added npm version badge and MIT license badge
- Added "Overview" section with project description
- Reorganized "Features" section with Core Tools and AI Sampling subsections
- Added "Installation" section with npx and build-from-source options
- Added "Running with an MCP Client" section with minimal and advanced config examples
- Added "Configuration (Environment Variables)" section organized into tables:
- Required variables
- Sampling configuration
- Access control
- Rate limiting
- Message type support
- Content filtering
- Added "Usage Examples" section
- Added "MCP Tools" section with AUTO-GENERATED markers for tool documentation
- Added "Development" section with build, watch, lint/format commands
- Added "Project Structure" section
- Added "Resources" and "Disclaimer" sections
2. **Workflow Updates**
- Updated `.github/workflows/push.yml` to manual trigger template (workflow_dispatch)
- Updated `.github/workflows/release.yml` to manual trigger template (workflow_dispatch)
- Added `.github/workflows/sync-tools.yml` to auto-sync MCP tool documentation on push to main
3. **GitHub Action for Tool Documentation**
- Created `.github/actions/generate-mcp-tools/generate-tools.mjs`
- Generates markdown table documentation from tool Zod schemas
- Updates README.md between AUTO-GENERATED markers
4. **Testing**
- Added vitest for testing
- Created `tests/tools.test.ts` with 25 comprehensive tests
- Tests validate all 5 MCP tools' parameter schemas:
- SEND_MESSAGE
- GET_CHANNEL_INFO
- FORWARD_MESSAGE
- PIN_MESSAGE
- GET_CHANNEL_MEMBERS
- Added `vitest.config.ts` configuration
5. **Dependencies**
- Added `vitest: ^4.0.18` to devDependencies
- Added `zod-to-json-schema: ^3.25.1` to devDependencies
- Added `test` and `test:watch` scripts to package.json
### Verification
- Build passes: `pnpm run build`
- All tests pass: `pnpm run test` (25 tests)
- Linting passes: `pnpm run lint`
### PR
- PR #14: https://github.com/IQAIcom/mcp-telegram/pull/14
- Status: Merged