Ryzenai
БесплатноНе проверенSharing code that allows for a fully managed MCP server that provides up-to-date access to AMD Ryzen AI documentation, code samples, and official examples (docs
Описание
Sharing code that allows for a fully managed MCP server that provides up-to-date access to AMD Ryzen AI documentation, code samples, and official examples (docs, code samples, and examples are all pulled from public information). This repo is just for the MCP server code that enables this functionality.
README
AMD Ryzen AI Model Context Protocol (MCP) Server for Cursor IDE.
This MCP server provides semantic search and access to AMD Ryzen AI documentation and code examples from the amd/RyzenAI-SW repository and AMD Ryzen AI documentation.
Setup
Prerequisites
- Python 3.8 or higher
- pip package manager
Installation
Clone the repository:
git clone https://github.com/amd/ryzenai-mcp-server cd ryzenai-mcp-serverInstall dependencies:
pip install -r requirements.txtConfigure the server:
- The server will work out of the box
- Optionally set
GITHUB_TOKENenvironment variable for higher GitHub API rate limits - Get a token from GitHub Settings → Developer settings → Personal access tokens
Configuration
The server supports the following environment variables:
GITHUB_TOKEN(optional): GitHub personal access token for higher API rate limits. Requirespublic_reposcope.RYZENAI_INDEX_REFRESH_HOURS(optional): Hours between automatic index refreshes. Default 24. Set to 0 to disable auto-refresh.RYZENAI_INDEX_MAX_FILES(optional): Max files to download per refresh (used by auto-refresh and by the refresh tool). Default 100.
Features
- ✅ Semantic Search: AI-powered semantic search of AMD Ryzen AI repository using embeddings
- ✅ Enhanced Code Chunking: Tree-sitter AST-based chunking for better code understanding
- ✅ Documentation Access: Read AMD Ryzen AI documentation pages directly
- ✅ Repository Browsing: List directories, find files, and read code from the repository
- ✅ Smart Indexing: Automatic download and indexing of repository files with embeddings
Available Tools
The MCP server provides 9 tools:
- read_ryzenai - Read AMD Ryzen AI documentation pages
- search_ryzenai_sw_keyword - Keyword search in the Ryzen AI repository
- search_ryzenai_sw_enhanced - Enhanced semantic search with AI embeddings
- read_ryzenai_sw - Read specific files from the repository
- list_ryzenai_sw_directory - List contents of a directory
- find_ryzenai_sw_files - Find files by name pattern or type
- download_and_index_ryzenai_enhanced - Download and index repository with AI embeddings
- get_enhanced_embedding_status - Check embedding index status
- refresh_ryzenai_index - Clear the index and re-download/re-index (use after repo or docs updates)
Refreshing the index
The index is refreshed automatically every 24 hours (configurable via RYZENAI_INDEX_REFRESH_HOURS). A background thread clears the embedding store and re-downloads/re-indexes the repository so you get the latest Ryzen AI repo and docs without doing anything.
- Default: refresh every 24 hours (reasonable for tracking upstream releases).
- Disable: set
RYZENAI_INDEX_REFRESH_HOURS=0. - Manual refresh: you can still ask the AI to run refresh_ryzenai_index anytime (e.g. "Refresh the Ryzen AI MCP index"); that also resets the 24h timer.
- Status: use get_enhanced_embedding_status to see
last_refresh_isoandauto_refresh_hours.
Usage Examples
Once installed in Cursor, you can ask:
- "Find inference examples for Llama models"
- "Read the getting started guide from Ryzen AI docs"
- "Write the python code to compile and run resnet50 model on AMD RyzenAI NPU"
- "Write the python code to compile and run the distilbert-base-uncased-finetuned-sst-2-english model (the fine-tuned checkpoint of DistilBERT-base-uncased, trained on the SST-2 dataset)"
Requirements
See requirements.txt for full dependency list. Key dependencies include:
mcp>=1.14.0- Model Context Protocolsentence-transformers>=2.2.0- For AI embeddingschromadb>=0.4.0- Vector databaselangchain-community>=0.0.20- For text chunkingtree-sitter-languages>=1.10.0- For AST-based code chunking
Documentation
For detailed setup instructions, see the Setup Guide.
Repository
- GitHub: https://github.com/amd/ryzenai-mcp-server
- AMD Ryzen AI Docs: https://ryzenai.docs.amd.com
- RyzenAI-SW Repository: https://github.com/amd/RyzenAI-SW
License
MIT License
Установка Ryzenai
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/amd/ryzenai-mcp-serverFAQ
Ryzenai MCP бесплатный?
Да, Ryzenai MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ryzenai?
Нет, Ryzenai работает без API-ключей и переменных окружения.
Ryzenai — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ryzenai в Claude Desktop, Claude Code или Cursor?
Открой Ryzenai на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
автор: GitHub ActionsAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIdemo
demo — MCP server via Smithery
автор: yoojoohans-jpgServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoCompare Ryzenai with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
