Renesas FSP MCP Server
🔧 Renesas FSP MCP Server
📋 Обзор
FSP (Firmware Support Package) MCP Server — это интерфейс для управления и поиска документации по Renesas Flexible Software Package — программной архитектуре для семейства микроконтроллеров Renesas RA.
Этот сервер предоставляет следующие возможности:
🔍 Поиск документации в репозитории GitHub
💻 Поиск примеров кода и справочников API
📦 Управление зависимостями и версиями
🛠️ Поддержка рабочего процесса разработки с e² studio
Related MCP server: ABAP MCP Server
✨ Основные возможности
1. Поиск документации 🔍
Поиск документации FSP в репозитории GitHub:
Обзор архитектуры
Поддерживаемые программные модули
Руководства по драйверам и справочники HAL API
Документация по интеграции RTOS
Документация по стеку промежуточного ПО (Middleware)
2. Поиск примеров кода 💻
Поиск примеров кода для различных функций:
Драйверы периферии SPI, I2C, UART
Примеры дискретизации ADC/DAC
Реализация безопасной загрузки (Secure boot)
Интеграция FreeRTOS
Передача данных на основе DMA
3. Справочник API 📚
Поиск документации по API:
Основная библиотека FSP (FspLib)
Драйверы периферии (SPI, I2C, UART и т.д.)
API интеграции RTOS
Функции безопасности и криптографии
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.
👨💻 Вклад в проект
Чтобы внести свой вклад в этот проект, пожалуйста:
Сделайте форк репозитория
Создайте ветку для вашей функции (
git checkout -b feature/AmazingFeature)Зафиксируйте изменения (
git commit -m 'Add some AmazingFeature')Отправьте изменения в ветку (
git push origin feature/AmazingFeature)Откройте Pull Request
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