Skip to main content
Glama
Sadivo

MyMCP

by Sadivo
README.md
# MyMCP
個人使用的 MCP Server。
透過FastMCP開發。

目前功能清單:

# 部屬在Horzion prefect雲端上
`app.py`
- add:將兩個數字相加,這是最基礎的測試功能。
- synology_login:登入 Synology NAS
- synology_status:查看 NAS 連線狀態
- synology_list_shares:列出所有共享資料夾
- synology_list_directory:列出目錄內容(含大小、時間等中繼資料)
- synology_get_file_info:取得檔案/資料夾詳細資訊
- synology_search_files:以模式搜尋檔案(如 `*.pdf`)
- synology_get_file_content:讀取文字檔案內容
- synology_create_file:建立文字檔案
- synology_create_directory:建立資料夾
- synology_delete:刪除檔案或資料夾
- synology_rename:重新命名檔案或資料夾
- synology_move:移動檔案或資料夾到新位置

### 環境變數需求
在 Horizon Prefect 上需設定以下環境變數:
```
SYNOLOGY_URL=http://NAS_位址:5000
SYNOLOGY_USERNAME=你的帳號
SYNOLOGY_PASSWORD=你的密碼
```

# 部屬在本地端
`chrome_mcp.py`
- chrome_tools:提供 Chrome 瀏覽器歷史紀錄與書籤檢索功能。
    - search_chrome_history:依關鍵字搜尋瀏覽歷史(標題/URL)
    - get_recent_history:取得最近 N 小時內的瀏覽紀錄
    - search_chrome_bookmarks:依關鍵字搜尋書籤
    - list_chrome_bookmark_folders:列出所有書籤資料夾結構

# mcp server 本地設定範例
```json
"mcpServers": {
    "ChromeMCP": {
      "command": "uv",
      "args": [
        "--directory",
        "c:/project/github_push/MyMCP",
        "run",
        "python",
        "chrome_mcp.py"
      ],
      "type": "stdio"
    }
}
```

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct resource and action: history search, time-based history retrieval, bookmark search, and bookmark folder listing. There is no overlap in purpose, so an agent can easily select the right tool.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (search_chrome_history, get_recent_history, search_chrome_bookmarks, list_chrome_bookmark_folders). Minor variation in whether 'chrome' appears is acceptable and doesn't confuse the pattern.

Tool Count5/5

With 4 tools, the server is tightly scoped to Chrome history and bookmark retrieval. Each tool serves a clear purpose, and the count is ideal for a focused utility server.

Completeness4/5

The server covers the main read operations for Chrome history and bookmarks: searching, recent retrieval, and folder listing. Missing are operations like fetching all bookmarks or bookmark details, but these are minor gaps for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues