Commit graph

172 commits

Author SHA1 Message Date
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
Eugene Evstafev
43ca9ca170
fix: update .gitignore 2025-04-15 11:15:25 +01:00
anonim
247fa23262
Update pyproject.toml 2025-04-15 12:42:43 +03:00
anonim
64e9517519 dsds 2025-03-31 19:14:41 +03:00
anonim
ecb5b88b12 feat: enhance Telegram MCP server with new features and improvements
- Added support for string session authentication in main.py.
- Introduced new tools for searching contacts and retrieving message context.
- Updated README.md with detailed usage examples and security considerations.
- Modified pyproject.toml for versioning and dependency updates.
- Expanded .gitignore to include Telegram session files.
2025-03-31 19:11:07 +03:00
anonim
34256575c5 chore: remove unused GitHub templates and workflows
- Deleted the pull request and issue templates for bug reports and feature requests to streamline the repository.
- Removed GitHub Actions workflows for publishing releases, linting, and testing as they are no longer needed.
- Updated the authors section in pyproject.toml to remove the email address for clarity.
2025-03-31 19:00:17 +03:00
anonim
45798c9f11 refactor: update test_imports function in test_basic.py for clarity
- Modified the test_imports function to clarify its purpose as a placeholder for verifying package availability.
- Removed specific import statements to streamline the test and prevent failures if imports are missing.
2025-03-31 18:58:07 +03:00
anonim
4b5c23faf6 refactor: improve error message formatting in main.py and clean up test imports
- Reformatted the error message for database lock detection in main.py for better readability.
- Removed unnecessary imports from test_basic.py to streamline the test file.
2025-03-31 18:56:30 +03:00
anonim
48848a65a7 chore: update project metadata and configuration in pyproject.toml
- Bumped version to 1.5.0 and updated project description for clarity.
- Added build-system configuration for setuptools and wheel.
- Specified authors and license information.
- Updated Python version requirement to >=3.10.
- Included project URLs for homepage and bug tracker.
- Configured tools for code formatting (black) and linting (ruff).
- Set pytest options for testing.
2025-03-31 18:54:50 +03:00
anonim
c7c5cee0cf docs: update README to reflect changes in session string generation and installation steps
- Renamed section "Set Up Your Environment" to "Generate Session String" and moved it up in the order.
- Added detailed instructions for generating a session string using Telethon's StringSession.
- Updated the environment setup instructions to include the new session string variable.
2025-03-31 18:48:20 +03:00
anonim
726fef23f3 feat: enhance Telegram MCP server with new features and configuration updates
- Updated .env.example with new Telegram API credentials and session string options.
- Expanded .gitignore to exclude session files and configuration.
- Refactored main.py to support string session authentication and added new functions for contact and message management.
- Updated README.md to reflect new features, installation instructions, and usage examples.
- Added python-dotenv as a dependency in pyproject.toml for environment variable management.
2025-03-31 18:45:36 +03:00
Eugene Evstafev
1f7474aa5c feat: init commit 2025-03-20 15:49:27 +00:00
Eugene Evstafev
544c0b6477
Create README.md 2025-03-20 14:06:52 +00:00
Eugene Evstafev
d79f135216
Initial commit 2025-03-20 14:06:36 +00:00