Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Swift code analysis with Periphery - detect unused code and improve code quality
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub zyntx-lab ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 12 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tools MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server that wraps the Periphery tool, enabling AI assistants to perform Swift code audits and detect unused code in iOS/macOS projects.
Using Homebrew (Recommended):
# 1. Install Periphery
brew install peripheryapp/periphery/periphery
brew tap zyntx-lab/tap brew install periphery-mcp-server
From Source:
# 1. Install Periphery
brew install peripheryapp/periphery/periphery
git clone https://github.com/zyntx-lab/periphery-mcp-server.git cd periphery-mcp-server swift build -c release
sudo cp .build/release/periphery-mcp-server /usr/local/bin/ sudo chmod +x /usr/local/bin/periphery-mcp-server
brew install peripheryapp/periphery/periphery
Or download from Periphery releases.
# Add the tap
brew tap zyntx-lab/tap
brew install periphery-mcp-server
which periphery-mcp-server
Download the latest binary from Releases:
# Download and install
curl -L https://github.com/zyntx-lab/periphery-mcp-server/releases/download/v1.0.0/periphery-mcp-server \ -o /usr/local/bin/periphery-mcp-server chmod +x /usr/local/bin/periphery-mcp-server
which periphery-mcp-server
# Clone the repository
git clone https://github.com/zyntx-lab/periphery-mcp-server.git cd periphery-mcp-server
swift build -c release
sudo cp .build/release/periphery-mcp-server /usr/local/bin/ sudo chmod +x /usr/local/bin/periphery-mcp-server
which periphery-mcp-server
The server is also available on the MCP Registry. Use your MCP-compatible client to install it directly.
The config file is at: ~/Library/Application Support/Claude/claude_desktop_config.json
If you installed via Homebrew:
{
"mcpServers": { "periphery": { "command": "/opt/homebrew/bin/periphery-mcp-server" } } }
If you installed to /usr/local/bin:
{
"mcpServers": { "periphery": { "command": "/usr/local/bin/periphery-mcp-server" } } }
If you're using the build directory directly:
{
"mcpServers": { "periphery": { "command": "/FULL/PATH/TO/periphery-mcp-server/.build/release/periphery-mcp-server" } } }
If you already have other MCP servers configured:
{
"mcpServers": { "xcode": { "command": "node", "args": ["/path/to/xcode-mcp-server/dist/index.js"] }, "periphery": { "command": "/usr/local/bin/periphery-mcp-server" } } }
Important: You must completely quit and restart Claude Desktop for changes to take effect.
Cmd+Q or use Claude Desktop → QuitOpen a new conversation in Claude Desktop and try:
"Check if Periphery is installed"
If configured correctly, Claude will use the check_periphery_installed tool and respond with installation status.
Before configuring Claude Desktop, you can test the server with the MCP Inspector:
# Install MCP Inspector (if not already installed)
npm install -g @modelcontextprotocol/inspector
npx @modelcontextprotocol/inspector /usr/local/bin/periphery-mcp-server
npx @modelcontextprotocol/inspector /path/to/periphery-mcp-server/.build/release/periphery-mcp-server
The Inspector will open in your browser where you can test all tools interactively.
Add to .vscode/mcp.json:
{
"mcpServers": { "periphery": { "type": "stdio", "command": "/usr/local/bin/periphery-mcp-server" } } }
Add to .cursor/mcp.json:
{
"mcpServers": { "periphery": { "type": "stdio", "command": "/usr/local/bin/periphery-mcp-server" } } }
check_periphery_installedVerify that Periphery CLI is installed and accessible.
Parameters: None
Example Response:
{
"installed": true, "path": "/usr/local/bin/periphery", "message": "Periphery is installed and ready" }
get_periphery_versionGet the installed version of Periphery.
Parameters: None
Example Response:
{
"version": "2.18.0", "raw_output": "2.18.0" }
scan_projectRun a basic Periphery scan on a project.
Parameters:
project_path (required): Path to .xcodeproj or Package.swiftschemes (optional): Build schemes to scan (Xcode only)targets (optional): Specific targets to analyzeformat (optional): Output format: json, xcode, csv, checkstyle (default: json)Example Response:
{
"success": true, "results": [ { "kind": "class", "name": "UnusedClass", "modifiers": ["public"], "location": "Sources/MyApp/UnusedClass.swift:10:7" } ], "summary": { "total_unused": 5, "by_kind": {"class": 2, "function": 3} } }
scan_with_configRun Periphery scan using a YAML configuration file.
Parameters:
config_path (required): Path to .periphery.yml config fileanalyze_unused_importsFocus specifically on detecting unused imports.
Parameters:
project_path (required): Path to .xcodeproj or Package.swiftschemes (optional): Build schemes to scantargets (optional): Specific targets to analyzefind_redundant_publicIdentify public declarations that could be internal.
Parameters:
project_path (required): Path to .xcodeproj or Package.swiftschemes (optional): Build schemes to scantargets (optional): Specific targets to analyzescan_with_optionsAdvanced scanning with custom Periphery flags.
Parameters:
project_path (required): Path to .xcodeproj or Package.swiftschemes (optional): Build schemes to scantargets (optional): Specific targets to analyzeformat (optional): Output formatretain_public (optional): Retain all public declarationsretain_objc_accessible (optional): Retain @objc declarationsdisable_unused_import_analysis (optional): Disable unused import analysisindex_store_path (optional): Custom index store locationverbose (optional): Enable verbose outputOnce configured, you can have natural conversations with Claude about your code:
Check Installation:
You: "Check if Periphery is installed"
Claude: [Uses check_periphery_installed] "Yes, Periphery is installed at /usr/local/bin/periphery Version: 2.18.0"
Scan a Project:
You: "Scan my iOS project at ~/Projects/MyApp/MyApp.xcodeproj for unused code"
Claude: [Uses scan_project] "I found 15 unused declarations in your project:
Classes (5):
...
Functions (8):
...
Imports (2):
..."
Find Redundant Public:
You: "Check which public declarations could be made internal in ~/Projects/MyFramework"
Claude: [Uses find_redundant_public] "Found 12 public declarations that are only used internally and could be made internal:
..."
Analyze Unused Imports:
You: "Find unused imports in my Swift package"
Claude: [Uses analyze_unused_imports] "Found 8 unused imports that can be safely removed:
..."
Create .periphery.yml in your project:
project: MyApp.xcodeproj
schemes:
targets:
format: json retain_public: false retain_objc_accessible: true verbose: false
Then use scan_with_config:
You: "Scan my project using the custom config"
Symptoms: Claude doesn't recognize Periphery tools after configuration
Solutions:
# Check for JSON syntax errors
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json | python3 -m json.tool
# Test that the binary exists and runs
/usr/local/bin/periphery-mcp-server
/path/to/.build/release/periphery-mcp-server
Cmd+Q to quit (not just close the window) # View logs for errors
tail -f ~/Library/Logs/Claude/mcp*.log
If you get "Periphery is not installed":
brew install peripheryapp/periphery/peripherywhich peripherycheck_periphery_installed tool againIf the Inspector can't connect to the server:
# Server should wait for input, not exit immediately
/usr/local/bin/periphery-mcp-server
# Run with verbose output
/usr/local/bin/periphery-mcp-server 2>&1 | tee server.log
npx @modelcontextprotocol/inspector $(which periphery-mcp-server)
Default timeout is 5 minutes. For large projects:
scan_with_config with a focused configurationตัดมาแค่ช่วงต้น อ่านต่อใน repo