Skip to main content
Glama
Renesas FSP MCP Server

Renesas FSP MCP Server

🔧 Renesas FSP MCP-Server

📋 Übersicht

Der FSP (Firmware Support Package) MCP-Server ist eine Schnittstelle zur Verwaltung und Suche von Dokumentationen für das Renesas Flexible Software Package – die Softwarearchitektur für die Renesas RA-MCU-Familie.

Dieser Server bietet die folgenden Funktionen:

  • 🔍 Suche in der Dokumentation aus dem GitHub-Repository

  • 💻 Entdecken von Codebeispielen und API-Referenzen

  • 📦 Verwaltung von Abhängigkeiten und Versionen

  • 🛠️ Unterstützung des Entwicklungsworkflows mit e² studio


Related MCP server: ABAP MCP Server

✨ Hauptfunktionen

1. Dokumentationssuche 🔍

Durchsuchen Sie die FSP-Dokumentation aus dem GitHub-Repository:

  • Architekturübersicht

  • Unterstützte Softwaremodule

  • Treiberhandbücher und HAL-API-Referenzen

  • Dokumentation zur RTOS-Integration

  • Dokumentation zum Middleware-Stack

2. Entdecken von Codebeispielen 💻

Entdecken Sie Codebeispiele für Funktionen:

  • SPI-, I2C-, UART-Peripherietreiber

  • ADC/DAC-Sampling-Beispiele

  • Implementierung von Secure Boot

  • FreeRTOS-Integration

  • DMA-basierte Datenübertragung

3. API-Referenzsuche 📚

API-Dokumentation nachschlagen:

  • Core FSP Library (FspLib)

  • Peripherietreiber (SPI, I2C, UART, etc.)

  • APIs zur RTOS-Integration

  • Sicherheits- und kryptografische Funktionen

4. Abhängigkeitsverwaltung 📦

Verwalten Sie Abhängigkeiten und Versionen:

  • Nachverfolgung der Versionshistorie

  • Plattform-Kompatibilitätsmatrix

  • Anforderungen an die e² studio-Version

  • Mindestanforderungen an die Hardware


🏗️ Systemarchitektur

┌─────────────────────────────────────┐
│         MCP Server                  │
│  ┌──────────┬──────────┬──────────┐ │
│  │ Doc      │ Examples │ API      │ │
│  │ Search   │ Discovery│ Reference│ │
│  └──────────┴──────────┴──────────┘ │
│         ↓                           │
│  ┌─────────────────────────────┐    │
│  │  GitHub Repository          │    │
│  │  - Documentation            │    │
│  │  - Code Examples            │    │
│  │  - API References           │    │
│  └─────────────────────────────┘    │
└─────────────────────────────────────┘

📁 Projektstruktur

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

🚀 Installation und Verwendung

1. Abhängigkeiten installieren

cd fsp-mcp-server
npm install

2. Erstellen und Ausführen

# Build TypeScript code
npm run build

# Run server
npm start

Oder direkt im Entwicklungsmodus ausführen:

npm run dev

3. Verbindung zum MCP-Client herstellen

Fügen Sie die folgende Konfiguration zu Ihrem MCP-Client hinzu (z. B. LM Studio, Claude Desktop, etc.):

{
  "mcpServers": {
    "fsp-mcp-server": {
      "command": "node",
      "args": ["/path/to/fsp-mcp-server/dist/index.js"]
    }
  }
}

Ersetzen Sie /path/to/fsp-mcp-server durch den tatsächlichen absoluten Pfad zu Ihrem Projektverzeichnis.

Für LM Studio:

  1. Öffnen Sie Settings → Extensions → Model Context Protocol.

  2. Fügen Sie einen neuen MCP-Endpunkt mit dem Befehl hinzu: node /path/to/fsp-mcp-server/dist/index.js.

  3. Setzen Sie den Transport auf stdio.

  4. Speichern und testen Sie die Verbindung über den MCP Explorer.


🔧 Konfiguration

Sie können den Server über package.json anpassen:

{
  "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 ."
  }
}

📚 Referenzen


📄 Lizenz

BSD 3-Clause License - Siehe LICENSE-Datei für Details.


👨💻 Mitwirken

Um zu diesem Projekt beizutragen, gehen Sie bitte wie folgt vor:

  1. Forken Sie das Repository

  2. Erstellen Sie einen Branch für Ihr Feature (git checkout -b feature/AmazingFeature)

  3. Committen Sie Ihre Änderungen (git commit -m 'Add some AmazingFeature')

  4. Pushen Sie auf den Branch (git push origin feature/AmazingFeature)

  5. Öffnen Sie einen Pull Request

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