Renesas FSP MCP Server
🔧 Renesas FSP MCPサーバー
📋 概要
FSP (Firmware Support Package) MCPサーバーは、Renesas RA MCUファミリ向けのソフトウェアアーキテクチャであるRenesas Flexible Software Packageのための管理およびドキュメント検索インターフェースです。
このサーバーは以下の機能を提供します:
🔍 GitHubリポジトリからのドキュメント検索
💻 コード例とAPIリファレンスの発見
📦 依存関係とバージョンの管理
🛠️ e² studioを用いた開発ワークフローのサポート
Related MCP server: ABAP MCP Server
✨ 主な機能
1. ドキュメント検索 🔍
GitHubリポジトリからFSPドキュメントを検索します:
アーキテクチャの概要
サポートされているソフトウェアモジュール
ドライバガイドおよびHAL APIリファレンス
RTOS統合ドキュメント
ミドルウェアスタックドキュメント
2. コード例の発見 💻
機能ごとのコード例を発見します:
SPI、I2C、UART周辺機器ドライバ
ADC/DACサンプリング例
セキュアブートの実装
FreeRTOS統合
DMAベースのデータ転送
3. APIリファレンスの検索 📚
APIドキュメントを検索します:
コアFSPライブラリ (FspLib)
周辺機器ドライバ (SPI、I2C、UARTなど)
RTOS統合API
セキュリティおよび暗号化機能
4. 依存関係の管理 📦
依存関係とバージョンを管理します:
バージョン履歴の追跡
プラットフォーム互換性マトリックス
e² studioのバージョン要件
最小ハードウェア仕様
🏗️ システムアーキテクチャ
┌─────────────────────────────────────┐
│ MCP Server │
│ ┌──────────┬──────────┬──────────┐ │
│ │ Doc │ Examples │ API │ │
│ │ Search │ Discovery│ Reference│ │
│ └──────────┴──────────┴──────────┘ │
│ ↓ │
│ ┌─────────────────────────────┐ │
│ │ GitHub Repository │ │
│ │ - Documentation │ │
│ │ - Code Examples │ │
│ │ - API References │ │
│ └─────────────────────────────┘ │
└─────────────────────────────────────┘📁 プロジェクト構造
fsp-mcp-server/
├── src/ # Source code
│ ├── index.ts # Main MCP server entry point
│ └── handlers/ # Handler modules
│ ├── info.ts # FSP architecture information
│ ├── version.ts # Version management
│ ├── documentation.ts # Documentation search
│ ├── examples.ts # Code examples discovery
│ ├── api-reference.ts # API reference lookup
│ └── dependencies.ts # Dependency management
├── schemas/ # JSON schema definitions
├── docs/ # Generated documentation
├── examples/ # Usage examples
├── package.json # NPM configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This file🚀 インストールと使用方法
1. 依存関係のインストール
cd fsp-mcp-server
npm install2. ビルドと実行
# Build TypeScript code
npm run build
# Run server
npm startまたは、開発モードで直接実行します:
npm run dev3. MCPクライアントへの接続
MCPクライアント(例:LM Studio、Claude Desktopなど)に以下の設定を追加します:
{
"mcpServers": {
"fsp-mcp-server": {
"command": "node",
"args": ["/path/to/fsp-mcp-server/dist/index.js"]
}
}
}/path/to/fsp-mcp-server をプロジェクトディレクトリへの実際の絶対パスに置き換えてください。
LM Studioの場合:
Settings → Extensions → Model Context Protocol を開きます。
新しい MCP endpoint を追加し、コマンドに
node /path/to/fsp-mcp-server/dist/index.jsを入力します。transport を
stdioに設定します。MCP Explorer を介して接続を保存し、テストします。
🔧 設定
package.json を通じてサーバーをカスタマイズできます:
{
"scripts": {
"build": "tsc && echo '✅ TypeScript compilation complete: dist/index.js'",
"build:clean": "npm run build && find dist -name '*.d.ts' -delete && echo '🧹 Cleaned .d.ts files'",
"dev": "tsx watch src/index.ts",
"start": "node ./dist/index.js",
"lint": "eslint \"src/**/*.ts\"",
"format": "prettier --write ."
}
}📚 参照
📄 ライセンス
BSD 3-Clause License - 詳細はLICENSEファイルを参照してください。
👨💻 コントリビューション
このプロジェクトに貢献するには、以下を行ってください:
リポジトリをフォークする
機能用のブランチを作成する (
git checkout -b feature/AmazingFeature)変更をコミットする (
git commit -m 'Add some AmazingFeature')ブランチにプッシュする (
git push origin feature/AmazingFeature)プルリクエストを開く
Available Tools
9 toolsfind_code_examplesC
Find code examples for specific FSP features or peripherals
Inputs: feature, platform.
fsp_build_infoB
Get FSP build-related information
Inputs: no named parameters.
fsp_config_infoC
Get FSP configuration information
Inputs: no named parameters.
fsp_helpB
Get help information for the FSP MCP server
Inputs: no named parameters.
fsp_infoC
Get FSP architecture information and details
Inputs: target.
fsp_versionB
Get FSP version information and release notes
Inputs: no named parameters.
get_api_referenceB
Get API reference documentation for FSP functions and structures
Inputs: module, function.
manage_dependenciesC
Manage FSP dependencies, versions, and compatibility matrix
Inputs: action, platform.
search_documentationC
Search FSP documentation from GitHub repository
Inputs: query, category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: finding code examples, build info, config info, server help, architecture info, version, API reference, dependency management, and documentation search. No two tools overlap in functionality.
Most tools follow a verb_noun pattern (e.g., find_code_examples, get_api_reference) or use the 'fsp_' prefix (e.g., fsp_config_info). While consistent within groups, mixing these patterns is a minor deviation.
With 9 tools, the server is well-scoped for providing comprehensive FSP information and documentation. Each tool serves a necessary function without redundancy.
The tool set covers the full range of information needs for FSP development: code examples, build/config details, version/architecture, API reference, dependency management, and documentation search. No obvious gaps exist for an informational server.
Maintenance
Related MCP Connectors
Get up-to-date, version-specific documentation and code examples from official sources directly in…
Docsy gives AI assistants current, version-specific documentation for libraries, frameworks and SDKs. Resolve library IDs and versions, then search and fetch focused official documentation with original source links using five read-only MCP tools. Hosted Streamable HTTP with OAuth 2.1 sign-in.
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceProvides unified ABAP and RAP documentation search, document retrieval, and ABAP feature matrix lookups. It also enables local ABAP linting to streamline development and documentation workflows via the Model Context Protocol.-
- AlicenseNot gradedqualityDmaintenanceEnables CODESYS development assistance via MCP, including curated guidance, Structured Text writing help, local PDF search, and live official documentation lookup.1MIT
- AlicenseAqualityDmaintenanceEnables managing internal documentation with search and add capabilities, and fetching official documentation from 13+ popular libraries via MCP tools.69MIT