FT260Q MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FT260Q MCP ServerScan the I2C bus and list all connected devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FT260Q MCP Server
FT260Q MCP Server 是一個遵循 Model Context Protocol (MCP) 標準的硬體橋接伺服器。 透過 FTDI 官方 LibFT260(USB HID 協定),讓 AI Agent 與開發者能直接控制 FT260 / FT260Q 晶片的 I2C Master、UART、GPIO(14 支腳位)與 外部中斷 硬體介面。
晶片特性與架構
FT260 是 FTDI 推出的 USB 2.0 Full-Speed HID 轉 I2C / UART / GPIO 橋接控制器:
免驅動(Driverless HID):採用標準 USB HID Class 協定,在 Windows、Linux、macOS 上隨插即用,不需額外安裝 VCP 或 D2XX 核心驅動。
雙介面複合裝置(Composite Device):
Interface 0:I2C Master 控制器(最高 3.4 Mbps)與 GPIO 0~5。
Interface 1:全功能 UART 控制器(最高 12 Mbps)與 GPIO A~H / 外部中斷通報。
14 支 GPIO 腳位:支援靈活的引腳多工配置(I2C/GPIO、UART/GPIO、喚醒中斷、開漏輸出 Open-Drain、上拉/下拉配置)。
Related MCP server: Serial MCP Server
硬體接線配置(本實驗環境)
FT260 腳位 | 預設/配置功能 | 連接目標 | Saleae 邏輯分析儀 | 說明 |
IO0 | I2C SCL | 雷達 SCL | Channel 0 (D0) | I2C 時脈線(已驗證波形與協定) |
IO1 | I2C SDA | 雷達 SDA | Channel 1 (D1) | I2C 資料線(已驗證波形與協定) |
IO2 | GPIO IN | 雷達輸出中斷 | Channel 2 (D2) | 中斷狀態輸入讀取 |
IO3 | GPIO OUT | — | Channel 3 (D3) | GPIO 輸出驗證(方波產生與閉環驗證) |
安裝與執行
# 建立虛擬環境
python -m venv .venv
# 啟動虛擬環境 (Windows)
.venv\Scripts\activate
# 安裝本專案 (Editable 模式)
pip install -e .啟動方式
CLI 入口:
ft260q-mcp或ft260-mcpPython 模組:
python -m ft260_mcp
MCP 整合配置 (mcp_config.json)
在任何支援 MCP 的 Agent(例如 Cline、Claude Desktop、Antigravity)中配置:
{
"mcpServers": {
"ft260-bridge": {
"command": "ft260q-mcp",
"args": [],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}💡 提示:若未將 CLI 加入系統 PATH,亦可使用 Python 模組形式啟動:
{ "mcpServers": { "ft260-bridge": { "command": "python", "args": ["-m", "ft260_mcp"], "env": { "PYTHONUNBUFFERED": "1" } } } }
Tool Catalog(MCP 工具清單)
1. 裝置管理 (Device Management)
工具名稱 | 說明 |
| 列出系統中所有 FT260 裝置與 HID 介面路徑 |
| 切換預設操作的 FT260 實體晶片 (0, 1, ...) |
| 查詢晶片版本與 LibFT260 函式庫版本 |
| 設定系統時脈 (12MHz / 24MHz / 48MHz) |
2. I2C Master 控制器
工具名稱 | 說明 |
| 初始化 I2C Master(常見速率:100, 400, 1000, 3400 Kbps) |
| 掃描 I2C 匯流排 7-bit 位址 (0x08 ~ 0x77) |
| 向 7-bit Slave 寫入十六進位資料 |
| 從 7-bit Slave 讀取指定長度資料 |
| 原子化 Repeated START 寫入後讀取 |
| 讀取 Slave 內部暫存器資料 |
| 寫入 Slave 內部暫存器 |
| 查詢匯流排與控制器狀態(busy, nack, idle, etc.) |
| 軟體重置 I2C Master 控制器 |
3. UART 控制器
工具名稱 | 說明 |
| 初始化 UART 介面 |
| 動態調整鮑率、資料位元、同位元與停止位元 |
| 傳送資料(支援 Hex 或 ASCII) |
| 從接收佇列讀取資料 |
| 傳送並等待回覆 |
| 查詢目前通訊參數與 RX 佇列狀態 |
| 重置 UART 控制器 |
4. GPIO 控制器 (14 支腳位)
工具名稱 | 說明 |
| 設定腳位方向(IN / OUT) |
| 輸出數位電位 (HIGH / LOW) |
| 讀取目前腳位電位 |
| 查詢全 14 支腳位電位與方向報告 |
| 多工引腳切換 (GPIO/I2C/UART/WAKEUP/etc.) |
| 在指定腳位產生方波/脈波列(用於儀器量測) |
| 設定 GPIO0~5 開漏輸出 |
| 重置開漏輸出為推挽輸出 |
5. 外部中斷 (Interrupt)
工具名稱 | 說明 |
| 設定外部中斷觸發模式 (rising/falling/high/low) |
| 讀取中斷觸發旗標 |
| 清除中斷旗標 |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Run, build, and validate firmware on virtual hardware from your AI agent. Hardware knowledge corpus.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Turns a phone into a camera+Bluetooth remote so AI assistants can see and control any PC.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Related MCP Servers
- AlicenseCqualityDmaintenanceA bridge that connects physical hardware devices with AI large language models via serial communication, allowing users to control hardware using natural language commands.349MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI tools like Claude Code and Codex CLI to read and write serial port data, facilitating embedded development workflows such as coding, flashing, and debugging.25MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to communicate with UART/serial devices, offering tools for port management, data read/write, and protocol handling.MIT
- AlicenseNot gradedqualityAmaintenanceEnables cloud LLM agents to discover and invoke physical hardware on edge and IoT devices through standard MCP tools, bridging constrained device channels like UART, BLE, and Wi-Fi.3MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pcmak999/ft260q-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server