Elixir Linux MCP Server
该项目是适配于Elixir查看Linux代码的MCP服务器,能够让LLM更精准地读代码
依赖条件
- 本地配置Elixir并根据其教程建立索引
- 安装了python和uv
- 已经clone了一个Linux仓库到本地
使用方法
将以下json代码粘贴到mcp的配置中:
{
"mcpServers": {
"linux_source_code_query": {
"command": "uv",
"args": [
"--directory",
"/path/to/elixir_linux_mcp_server",
"run",
"main.py"
],
"env": {
"LXR_BASE_DIR": "/srv/elixir-data/",
"REPO_DIR": "/path/to/linux"
}
}
}
}
一般来说elixir建好索引项目的目录结构如下:
/srv/elixir-data
└── linux
├── data
└── repo
环境变量LXR_BASE_DIR指向elixir项目的根目录/srv/elixir-data
环境变量REPO_DIR指向你clone下来的Linux源码项目
Recommend MCP Servers 💡
bioRxiv-MCP-Server
Enables AI assistants to search, access, and retrieve metadata for bioRxiv preprints, facilitating biological sciences research.
nickclyde/duckduckgo-mcp-server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
fibery-mcp-server
This MCP (Model Context Protocol) server provides integration between Fibery and any LLM provider supporting the MCP protocol (e.g., Claude for Desktop), allowing you to interact with your Fibery workspace using natural language.
ysthink/Filesystem-MCP-Server-SSE
Node.js server implementing Model Context Protocol (MCP) with SSE transport for filesystem operations
ios-forensics-mcp
A forensic analysis MCP server for iOS file systems enabling AI-assisted digital forensics
mcpjungle/MCPJungle
A self-hosted Model Context Protocol (MCP) Registry and Gateway that allows AI agents to discover and consume tools from various registered MCP servers, providing centralized management, security, and access control for private AI agents within an organization.