Home / MCP / Code Assistant MCP Server
Provides an MCP server for autonomous code analysis and modification with real-time streaming and ACP/Zed integration.
Configuration
View docs{
"mcpServers": {
"code_assistant": {
"command": "/path/to/code-assistant/target/release/code-assistant",
"args": [
"server"
],
"env": {
"PERPLEXITY_API_KEY": "pplx-...",
"SHELL": "/bin/zsh"
}
}
}
}You can run Code Assistant as an MCP server to integrate with MCP clients like Claude Desktop or ACP-enabled editors. It supports a local, stdio-based MCP workflow, where the assistant runs as a process and communicates through standard I/O, enabling seamless, browser-free collaboration with your editor and toolchain.
To connect with a compatible MCP client, run the Code Assistant server as described in the integration snippet for Claude Desktop. The client will start the assistant process and communicate via standard input and output, exchanging JSON-RPC messages, task prompts, and tool invocations. Use the client’s integration settings to point at the local server you launch and ensure you provide any required API keys or environment variables needed by the chosen model. You can steer the session by selecting a target project and task, and you will receive real-time streaming updates as the assistant analyzes code, runs tools, and proposes edits. The server supports various ACP-compatible editors and can operate in a headless mode for automated workflows.
Prerequisites: you need a Rust toolchain and the standard build tools for your platform.
Install Rust toolchain via rustup on macOS or Linux.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shOn macOS, install the Metal toolchain component.
xcodebuild -downloadComponent MetalToolchainClone the project and build in release mode.
git clone https://github.com/stippi/code-assistant
cd code-assistant
cargo build --releaseThe binary will be available at the following path after a successful build.
target/release/code-assistant