alire-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@alire-mcpsearch for crates related to json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Alire MCP
A Python Model Context Protocol server for Alire, the Ada package manager.
The server exposes a curated set of Alire operations to MCP clients. It does
not expose an unrestricted shell or arbitrary alr argument execution.
Features
Search for and inspect crates in the Alire index
Inspect project dependency solutions and trees
Build Alire projects
Add, remove, and update dependencies
Initialize new executable or library crates
Fetch published crate sources
Non-interactive subprocess execution with no shell
Optional workspace-root confinement
Configurable time and output limits
Read-only and destructive MCP tool annotations
Related MCP server: cursor-rust-tools
Requirements
Python 3.10 or later
Alire (
alr) installed and available onPATH
Verify Alire before starting the server:
alr --versionInstallation
Install from a source checkout:
python3 -m pip install .For an isolated development environment:
python3 -m venv .venv.venv/bin/python -m pip install -e '.[dev]'Run the stdio server:
alire-mcpThe server communicates using MCP messages on standard input and standard output. Diagnostic output from Alire is captured and returned by each tool, not written into the MCP transport stream.
MCP client configuration
A typical MCP client configuration is:
{
"mcpServers": {
"alire": {
"command": "alire-mcp",
"args": [],
"env": {
"ALIRE_MCP_WORKSPACE_ROOT": "/absolute/path/to/ada/workspaces"
},
"disabled": false,
"autoApprove": []
}
}
}If the executable is installed in a virtual environment, use its absolute
path for command:
{
"mcpServers": {
"alire": {
"command": "/absolute/path/to/alire-mcp/.venv/bin/alire-mcp",
"args": [],
"env": {
"ALIRE_MCP_WORKSPACE_ROOT": "/absolute/path/to/ada/workspaces"
},
"disabled": false,
"autoApprove": []
}
}
}Restart or reload the MCP client after changing its configuration.
Tools
Tool | Effect |
| Show detailed Alire version and environment information |
| Search crate names and descriptions |
| Show metadata for a crate or exact release |
| Inspect direct, solved, tree, graph, or version dependency views |
| Build a project |
| Update all or selected dependencies |
| Add a dependency constraint to a manifest |
| Remove a dependency from a manifest |
| Create an executable or library crate |
| Fetch a crate release |
Every tool result contains:
command: the exact argument vector usedcwd: the effective working directoryexit_code: Alire's process exit statussuccess: whether the exit status was zerostdoutandstderr: captured outputstdout_truncatedandstderr_truncated: output-limit indicators
A nonzero Alire exit code is returned as command data so an MCP client can inspect Alire's diagnostic text. Server-level failures, such as an invalid workspace path or timeout, are reported as tool errors.
Configuration
The server is configured through environment variables:
Variable | Default | Description |
|
| Alire executable name or path |
| unset | Restrict project directories to this directory tree |
|
| Per-command timeout in seconds |
|
| Maximum captured bytes for each output stream |
When ALIRE_MCP_WORKSPACE_ROOT is configured:
omitted tool directories use the workspace root;
relative directories resolve below the workspace root;
absolute directories outside the root are rejected;
symlink resolution cannot escape the root.
Without a workspace root, omitted directories inherit the MCP server process working directory and explicitly supplied paths may point to any accessible directory.
Security
Alire MCP applies the following boundaries:
Commands are launched with
asyncio.create_subprocess_exec; no shell is involved.Global
--non-interactive,--no-color, and--no-ttyoptions are always used.Standard input is disabled for child processes.
Tool parameters are validated and map to a fixed set of Alire commands.
Commands have a timeout and bounded captured output.
MCP annotations identify read-only and potentially destructive operations.
Alire itself may download, compile, and execute code from package sources.
Treat third-party crates as untrusted and review requested mutating operations.
For stronger isolation, run this server in a container or restricted user
account and configure ALIRE_MCP_WORKSPACE_ROOT.
Development
Install development dependencies:
python3 -m pip install -e '.[dev]'Run tests:
pytestRun linting and formatting checks:
ruff check .ruff format --check .Run type checking:
mypyBuild distribution artifacts:
python3 -m buildLicense
Alire MCP is distributed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.Last updated31
- Flicense-qualityCmaintenanceA MCP server to allow the LLM in Cursor to access Rust Analyzer, Crate Docs and Cargo Commands.Last updated83
- Alicense-qualityBmaintenanceMCP server to manage Adila platform via natural language, enabling deploys, logs, metrics, and infrastructure mutations through CLI AI clients.Last updatedMIT
- Flicense-qualityDmaintenanceAn MCP server that enables AI tools to interact with the Lalaleap project management system using natural language, allowing creation and management of requirements, bugs, todos, and projects.Last updated
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for AI dialogue using various LLM models via AceDataCloud
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zackboll/alire-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server