Commit graph

113 commits

Author SHA1 Message Date
TimTProd
2dc8454a4f
Merge branch 'main' into add_replies 2025-08-06 20:19:38 +03:00
Eugene Evstafev
574fe149e5
Merge pull request #17 from TimTProd/add_nicknames
feat: add get_sender_name function to enhance message formatting
2025-08-06 17:53:53 +01:00
Tim
103ce35594 feat: enhance message display with reply information
Updated message formatting in various functions to include details about replies. When a message is a reply, it now shows the ID of the original message and the sender's name, improving context for users.
2025-08-06 19:37:30 +03:00
Tim
f0072801cb feat: add get_sender_name function to enhance message formatting
Introduced a new helper function, get_sender_name, to retrieve the sender's name from messages. Updated various message display functions to include the sender's name in the output, improving clarity and context for users
2025-07-24 17:28:42 +03:00
Eugene Evstafev
e16b41115c
Merge pull request #9 from chigwell/test-branch
docs: update README.md
2025-04-26 08:20:56 +01:00
Eugene Evstafev
3f59865361 docs: update README.md 2025-04-26 08:17:23 +01:00
Eugene Evstafev
bb464e52fa
Merge pull request #8 from l1v0n1/main
Merge v2.0.2: Dockerization & CI Enhancements into Telegram MCP Mainline
2025-04-24 17:41:46 +01:00
anonim
b1f0e79b6b chore: update references to the renamed container in documentation and workflows
Renamed all instances of 'telegram-mcp-server' to 'telegram-mcp' in docker-compose.yml, README.md, and the Docker build workflow to ensure consistency and clarity across the project.
2025-04-24 15:09:38 +03:00
anonim
91039571ca chore: rename container in docker-compose.yml for consistency
Updated the container name in docker-compose.yml from 'telegram_mcp_server' to 'telegram-mcp' to align with naming conventions and improve clarity.
2025-04-24 15:09:00 +03:00
anonim
461f267822 docs: add CI badges to README.md
Added badges for Python linting and Docker build validation to the README.md, enhancing visibility of the project's continuous integration status and encouraging best practices in code quality and deployment.
2025-04-24 15:04:05 +03:00
anonim
3d3aef8360 docs: add Docker setup instructions to README.md
Introduced a new section in the README.md detailing how to run the server using Docker, including steps for building the image and running the container with both Docker Compose and the `docker run` command. This enhances the documentation for users looking to simplify dependency management.
2025-04-24 15:03:11 +03:00
anonim
02f326ce38 chore: add dummy .env file creation step in Docker build workflow
Introduced a step in the Docker build workflow to create a dummy .env file with placeholder values for TELEGRAM_API_ID, TELEGRAM_API_HASH, and TELEGRAM_SESSION_STRING, facilitating local development and testing.
2025-04-24 14:54:24 +03:00
anonim
3c66504fb5 refactor: enhance error handling structure in main.py
Improved the organization and clarity of error handling in main.py by consolidating exception management and refining error messages, particularly in asynchronous functions.
2025-04-24 14:44:26 +03:00
anonim
cb4935fb42 refactor: streamline error handling in main.py
Updated error handling mechanisms in main.py to improve clarity and efficiency. This includes consolidating error messages and enhancing the structure of exception handling across asynchronous functions.
2025-04-24 14:35:19 +03:00
Eugene Evstafev
10ff5b79b0
Merge pull request #6 from l1v0n1/main
Refactor: Tool Cleanup for Reliability and Compatibility
2025-04-23 12:39:33 +01:00
anonim
214bd6c6e5 style: improve code formatting and consistency in main.py
Refactored several sections of main.py to enhance readability by adjusting line breaks and indentation. This includes formatting changes in error handling and function calls across various asynchronous functions.
2025-04-22 18:39:58 +03:00
anonim
b46f9a4e34 Merge branch 'main' of https://github.com/l1v0n1/telegram-mcp-server 2025-04-22 18:35:06 +03:00
anonim
d562cf61fb refactor: Remove file handling functions from main.py and update README.md
Removed several functions that required direct file path access, including `send_file`, `download_media`, `set_profile_photo`, `edit_chat_photo`, `send_voice`, `send_sticker`, and `upload_file`, due to limitations in the current MCP environment. Updated the README to reflect these changes and added a section on removed functionality.
2025-04-22 18:24:46 +03:00
Eugene Evstafev
74b39d4164
docs: add "Star History" section 2025-04-19 11:09:22 +01:00
Eugene Evstafev
e1aba2370a
Merge pull request #4 from chigwell/update-readme
docs: update credentials in README.md
2025-04-18 14:28:17 +01:00
Eugene Evstafev
cd35b7b893 docs: update credentials in README.md 2025-04-18 14:27:55 +01:00
Eugene Evstafev
1ef0188e5c
Merge pull request #3 from chigwell/add-github-workflows
feat: add github's workflow for "Python Lint & Format Check"
2025-04-18 14:26:18 +01:00
Eugene Evstafev
fb20c458be refactor(ci): remove unused comments 2025-04-18 14:25:39 +01:00
Eugene Evstafev
eca9fb48cf refactor: update formatting 2025-04-18 14:25:24 +01:00
Eugene Evstafev
ff0f42626b feat: add github's workflow for "Python Lint & Format Check" 2025-04-18 14:21:44 +01:00
Eugene Evstafev
e3842dade9
Merge pull request #2 from l1v0n1/main
Telegram MCP v2.0: Major Functionality Enhancements & Robust Error Handling
2025-04-18 13:06:32 +01:00
anonim
0833e51f48 refactor: Consolidate and clean up imports in main.py 2025-04-18 15:03:46 +03:00
anonim
3faa4a006e docs: Update Python command naming to maintain consistency 2025-04-18 15:02:56 +03:00
anonim
492dd15b42
Update main.py
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:42:54 +03:00
anonim
9cfc9d547e
Update main.py
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:42:48 +03:00
anonim
dd9a5cf81a
Update main.py
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:42:42 +03:00
anonim
861a1281d5
Update main.py
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:42:36 +03:00
Eugene Evstafev
03c927bc9d
Merge branch 'main' into main 2025-04-17 17:41:21 +01:00
anonim
b2c4c655be
Update README.md
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:39:07 +03:00
anonim
756ab3b449
Update README.md
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:37:50 +03:00
anonim
68fe40e912
Update README.md
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:37:43 +03:00
anonim
beb5ace28d
Update README.md
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
2025-04-17 19:37:33 +03:00
Eugene Evstafev
412067c952
docs: update README.md 2025-04-17 17:26:36 +01:00
anonim
94b21c2f32 docs: update README.md to clarify usage example for Telegram MCP
- Added a "Basic usage example" section to enhance clarity on how to utilize the Telegram MCP capabilities.
- Improved the structure of the README for better readability and user guidance.
2025-04-17 18:20:57 +03:00
anonim
d147322a89 chore: remove setup.py as it is no longer needed 2025-04-17 18:15:50 +03:00
anonim
95b34d67f1 docs: expand README.md with demonstration of Telegram MCP capabilities
- Added a new section showcasing the Telegram MCP in action with screenshots.
- Included examples of interactions with Claude for analyzing chat history and sending messages.
- Enhanced overall documentation to improve user understanding of the Telegram integration.
2025-04-17 18:09:05 +03:00
anonim
e297416e54 feat: refine logging and error handling in main.py, update .env.example and README
- Enhanced logging setup in main.py for better error tracking and console output.
- Improved error handling in group and user management functions.
- Updated .env.example to include a sample session string and removed outdated test configurations.
- Expanded README.md with new tool examples and usage instructions for better clarity.
- Removed the test.py file as it is no longer needed for testing.
2025-04-17 17:56:42 +03:00
anonim
fec185075b feat: update .env.example and README for enhanced testing configuration
- Expanded .env.example to include detailed test configuration options for chat and user IDs.
- Updated README.md to reflect new testing instructions and configuration details.
- Improved documentation on error handling and robustness of the Telegram MCP server.
2025-04-17 16:52:31 +03:00
anonim
710b9fd05c feat: enhance error handling and logging in main.py
- Added logging setup to capture errors in mcp_errors.log.
- Improved error handling in get_chats, get_messages, send_message, and other functions to provide clearer feedback.
- Added file existence and readability checks for file-related functions.
- Updated documentation for function arguments to clarify requirements.
2025-04-15 16:47:06 +03:00
anonim
6f25a900f5 docs: add screenshot to README for enhanced visual representation
- Included a screenshot demonstrating the Telegram MCP in action to improve user understanding and engagement.
2025-04-15 16:32:15 +03:00
anonim
84de77230b feat: major update to Telegram MCP server with new features and enhancements
- Bumped version to 2.0.0 in pyproject.toml and updated dependencies.
- Expanded README.md to reflect new features, including comprehensive tools for chat, group, and contact management.
- Added new functionalities for managing contacts, messages, and user profiles.
- Updated .gitignore to include .DS_Store files.
- Improved error handling and messaging in main.py.
- Enhanced overall documentation and usage examples for better user guidance.
2025-04-15 16:30:32 +03:00
anonim
cab205f03d Merge branch 'main' of https://github.com/l1v0n1/telegram-mcp-server 2025-04-15 15:27:50 +03:00
anonim
853cc61ac3 chore: update Python version requirement and add new package dependencies
- Changed the required Python version from >=3.13 to >=3.10.
- Added 'exceptiongroup' package with version 1.2.2 and its dependencies.
- Included 'typing-extensions' as a dependency for compatibility with Python versions < 3.11 in multiple packages.
- Updated the version of 'telegram-mcp' to 1.5.0 and changed its source to editable.
2025-04-15 15:26:10 +03:00
Eugene Evstafev
b38d8f8f75
fix: update .gitignore 2025-04-15 11:16:38 +01:00
Eugene Evstafev
d48d97954e
Merge pull request #1 from l1v0n1/main
Enhance Telegram MCP Server: New Features, Refactoring, and Documentation Updates
2025-04-15 11:15:52 +01:00