FANUC 0i-F Plus Parameters MCP Server
Enables querying, searching, and comparing FANUC CNC parameters for the 0i-F Plus series.
README
FANUC 0i-F Plus Parameters MCP Server
這是一個可直接執行的 Python MCP Server,包含目前對話中整理的 FANUC 參數:
1660、1735、1769、1783、19539。
資料完整性說明:目前工作區沒有原始 PDF 或先前產生的 JSON,因此專案只保留 對話中已明確整理的內容;資料型態、單位、範圍、頁碼等未確認欄位為
null。19539明確保留為unresolved,沒有推測或補寫定義。
需求
- Python 3.10 或更新版本
安裝
Windows PowerShell:
cd fanuc-mcp-server
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
macOS / Linux:
cd fanuc-mcp-server
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
執行
伺服器使用 stdio transport:
python server.py
直接執行時等待 MCP Client 從標準輸入連線是正常行為。
MCP Client 設定
mcp.json 提供從專案目錄啟動的範例。若 Client 不支援 cwd,請把
args 中的 server.py 改成其絕對路徑;建議也改用虛擬環境內 Python 的絕對路徑。
{
"mcpServers": {
"fanuc-parameters": {
"command": "C:\\完整路徑\\fanuc-mcp-server\\.venv\\Scripts\\python.exe",
"args": ["C:\\完整路徑\\fanuc-mcp-server\\server.py"]
}
}
}
提供的 Tools
get_fanuc_parameter(parameter_no):取得單一參數list_fanuc_parameters(include_unresolved=true):列出參數search_fanuc_parameters(query, include_unresolved=true):文字搜尋compare_fanuc_parameters(parameter_numbers):比較多個參數
範例提問:
請查詢 FANUC 1769比較 FANUC 1660、1735、1769搜尋「時間常數」19539 的解析狀態是什麼?
提供的 Resources
fanuc://manuals/b64700ct-01fanuc://parameters/{parameter_no}
測試
在專案根目錄執行:
python -m unittest discover -s tests -v
測試會確認:
- 恰好包含 5 個指定參數
19539保持unresolved且沒有名稱或摘要- 關鍵字搜尋正常
- 每筆 JSONL 都符合 JSON Schema
也可用官方 MCP Inspector 做互動測試(需要 Node.js):
npx -y @modelcontextprotocol/inspector python server.py
專案結構
fanuc-mcp-server/
├── data/
│ └── fanuc_parameters.jsonl
├── schema/
│ └── parameter.schema.json
├── tests/
│ ├── test_repository.py
│ └── test_schema.py
├── repository.py
├── resources.py
├── tools.py
├── server.py
├── requirements.txt
├── mcp.json
└── README.md
後續擴充
新增資料時,每行加入一個符合 schema/parameter.schema.json 的 JSON 物件,然後重新
執行測試。對尚未從手冊確認的參數,請使用 status: "unresolved" 並保留未知欄位為
null。
#� �F�A�N�U�C�_�M�C�P�
�
�
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.