Elixir Linux MCP Server
@KilluaYZ
About Elixir Linux MCP Server
基于Elixir的Linux源码查询MCP Server
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Elixir Linux MCP Server?
Elixir Linux MCP Server is a Model Context Protocol server that adapts the Elixir Linux code indexing tool for use with large language models. It enables LLMs to more accurately read and understand Linux kernel source code that has been indexed by Elixir. This server is intended for developers who already have Elixir, a local Linux repository, and Python/uv installed.
How to use Elixir Linux MCP Server?
Add a JSON configuration to your MCP client with the command uv and arguments pointing to the server directory and script. Set two environment variables: LXR_BASE_DIR (pointing to the Elixir data root, typically /srv/elixir-data/) and REPO_DIR (pointing to your local Linux source repository). The server runs via main.py.
Key features of Elixir Linux MCP Server
- Adapts Elixir-indexed Linux code for LLM access
- Allows precise code retrieval from Linux source
- Requires local Elixir index and Linux repo
- Uses Python and uv for execution
- Lightweight MCP server integration
- Enables context-aware code queries
Use cases of Elixir Linux MCP Server
- Querying Linux kernel code for specific functions or symbols
- Assisting LLMs in answering code-related questions
- Powering code-exploration tools for kernel development
- Enabling automated code review and analysis
- Supporting learning and documentation generation
FAQ from Elixir Linux MCP Server
What dependencies are required?
You need a local Elixir installation with an indexed Linux repository, Python 3, uv, and a cloned Linux source tree.
How do I configure the environment variables?
Set LXR_BASE_DIR to the root of your Elixir data (e.g., /srv/elixir-data/) and REPO_DIR to the path of your cloned Linux repository.
Where does the Elixir index data live?
The typical directory structure under LXR_BASE_DIR is linux/data/ and linux/repo/, corresponding to the indexed data and the local repo clone.
What runtime does the server use?
The server runs via uv with the command uv --directory /path/to/elixir_linux_mcp_server run main.py. Python is required.
Can it work without a local Linux clone?
No. The server requires both an Elixir index and a cloned Linux repository on the same machine.
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Comments