Basic information
About Elixir Linux MCP Server
基于Elixir的Linux源码查询MCP Server
Elixir Linux MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by KilluaYZ. Supported transport: stdio. Runtime: python. Source code is hosted on github.com.
Setup
{
"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"
}
}
}
}
{
"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"
}
}
}
}
{
"servers": {
"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 Linux MCP Server 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"
}
}
}
}
Elixir Linux MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
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
Frequently asked questions
1 What dependencies are required?
You need a local Elixir installation with an indexed Linux repository, Python 3, uv, and a cloned Linux source tree.
2 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.
3 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.
4 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.
5 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In