hungnguyen1503

πŸ”§ Renesas FSP MCP Server

Community hungnguyen1503
Updated

FSP MCP server

πŸ”§ Renesas FSP MCP Server

πŸ“‹ Overview

FSP (Firmware Support Package) MCP Server is a management and documentation search interface for Renesas Flexible Software Package - the software architecture for Renesas RA MCU family.

This server provides the following capabilities:

  • πŸ” Search documentation from GitHub repository
  • πŸ’» Discover code examples and API references
  • πŸ“¦ Manage dependencies and versions
  • πŸ› οΈ Support development workflow with eΒ² studio

✨ Key Features

1. Documentation Search πŸ”

Search FSP documentation from GitHub repository:

  • Architecture overview
  • Supported software modules
  • Driver guides and HAL API references
  • RTOS integration documentation
  • Middleware stack documentation

2. Code Examples Discovery πŸ’»

Discover code examples for features:

  • SPI, I2C, UART peripheral drivers
  • ADC/DAC sampling examples
  • Secure boot implementation
  • FreeRTOS integration
  • DMA-based data transfer

3. API Reference Lookup πŸ“š

Lookup API documentation:

  • Core FSP Library (FspLib)
  • Peripheral drivers (SPI, I2C, UART, etc.)
  • RTOS integration APIs
  • Security and cryptographic functions

4. Dependency Management πŸ“¦

Manage dependencies and versions:

  • Version history tracking
  • Platform compatibility matrix
  • eΒ² studio version requirements
  • Minimum hardware specifications

πŸ—οΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         MCP Server                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Doc      β”‚ Examples β”‚ API      β”‚ β”‚
β”‚  β”‚ Search   β”‚ Discoveryβ”‚ Referenceβ”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚         ↓                           β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚  β”‚  GitHub Repository          β”‚    β”‚
β”‚  β”‚  - Documentation            β”‚    β”‚
β”‚  β”‚  - Code Examples            β”‚    β”‚
β”‚  β”‚  - API References           β”‚    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Project Structure

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 and Usage

1. Install dependencies

cd fsp-mcp-server
npm install

2. Build and run

# Build TypeScript code
npm run build

# Run server
npm start

Or run directly in development mode:

npm run dev

3. Connect to MCP Client

Add the following configuration to your MCP client (e.g., LM Studio, Claude Desktop, etc.):

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

Replace /path/to/fsp-mcp-server with the actual absolute path to your project directory.

For LM Studio:

  1. Open Settings β†’ Extensions β†’ Model Context Protocol.
  2. Add a new MCP endpoint with the command: node /path/to/fsp-mcp-server/dist/index.js.
  3. Set the transport to stdio.
  4. Save and test the connection via MCP Explorer.

πŸ”§ Configuration

You can customize the server via 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 ."
  }
}

πŸ“š References

πŸ“„ License

BSD 3-Clause License - See LICENSE file for details.

πŸ‘¨β€πŸ’» Contributing

To contribute to this project, please:

  1. Fork the repository
  2. Create a branch with your feature (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

MCP Server Β· Populars

MCP Server Β· New

    Lissy93

    bug-bounties

    βš”οΈ A compiled list of companies who have active programs for responsible disclosure. MCP-enabled.

    Community Lissy93
    samvallad33

    Vestige

    Cognitive memory for AI agents β€” FSRS-6 spaced repetition, 29 brain modules, 3D dashboard, single 22MB Rust binary. MCP server for Claude, Cursor, VS Code, Xcode, JetBrains.

    Community samvallad33
    HarimxChoi

    google-surf-mcp

    ✨Anti-Bot Search MCP: No API Key✨

    Community HarimxChoi
    syncable-dev

    Memtrace

    The missing memory layer for coding agents

    Community syncable-dev
    kunwar-shah

    Claudex

    MCP server with persistent memory + FTS5 search for Claude Code conversation history. Index your ~/.claude/projects/, expose 10 MCP tools, browse via web UI. MIT-licensed.

    Community kunwar-shah