Skip to content

Commit 9429c76

Browse files
fatbobmanclaude
andcommitted
refactor: reorganize project structure with src/ directory
Move all Python source code into src/ directory for better project organization: - All .py files moved to src/ - Added src/__init__.py to make it a proper Python package - Updated mcp.json entry path to src/mail_mcp_server.py - Updated README.md and README_zh.md configuration examples Benefits: - Cleaner root directory (documentation and config only) - Follows Python project conventions - Easier to maintain as project grows Files moved: - mail_mcp_server.py - parse_email.py - extract_attachments.py - cleanup_attachments.py - get_email_path.py - get_thread_paths.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 26be5cc commit 9429c76

File tree

10 files changed

+4
-4
lines changed

10 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pip3 install mcp
7676
"mail": {
7777
"command": "python3",
7878
"args": [
79-
"/path/to/mail-mcp-bridge/mail_mcp_server.py"
79+
"/path/to/mail-mcp-bridge/src/mail_mcp_server.py"
8080
]
8181
}
8282
}
@@ -93,7 +93,7 @@ pip3 install mcp
9393
"mail": {
9494
"command": "python3",
9595
"args": [
96-
"/path/to/mail-mcp-bridge/mail_mcp_server.py"
96+
"/path/to/mail-mcp-bridge/src/mail_mcp_server.py"
9797
],
9898
"env": {
9999
"MAIL_ATTACHMENT_PATH": "/tmp"

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pip3 install mcp
7878
"mail": {
7979
"command": "python3",
8080
"args": [
81-
"/path/to/mail-mcp-bridge/mail_mcp_server.py"
81+
"/path/to/mail-mcp-bridge/src/mail_mcp_server.py"
8282
]
8383
}
8484
}

mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"runtime": {
99
"type": "python",
1010
"command": "python3",
11-
"entry": "mail_mcp_server.py"
11+
"entry": "src/mail_mcp_server.py"
1212
},
1313
"tools": [
1414
"get_email_path",

src/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)