Skip to main content
Glama
Renesas FSP MCP Server

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 install

2. ビルドと実行

# Build TypeScript code
npm run build

# Run server
npm start

または、開発モードで直接実行します:

npm run dev

3. 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の場合:

  1. Settings → Extensions → Model Context Protocol を開きます。

  2. 新しい MCP endpoint を追加し、コマンドに node /path/to/fsp-mcp-server/dist/index.js を入力します。

  3. transport を stdio に設定します。

  4. 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ファイルを参照してください。


👨💻 コントリビューション

このプロジェクトに貢献するには、以下を行ってください:

  1. リポジトリをフォークする

  2. 機能用のブランチを作成する (git checkout -b feature/AmazingFeature)

  3. 変更をコミットする (git commit -m 'Add some AmazingFeature')

  4. ブランチにプッシュする (git push origin feature/AmazingFeature)

  5. プルリクエストを開く

Available Tools

9 tools
find_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

    B3.3/5.0

    Scored across 9 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    With 9 tools, the server is well-scoped for providing comprehensive FSP information and documentation. Each tool serves a necessary function without redundancy.

    Completeness5/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers