mysid: High-performance native Rust Model Context Protocol (MCP) server & codebase intelligence engine
Rust
0
8 commits
updated Sep 18, 2026
mysid is an ultra-fast, standalone code intelligence engine and Model Context Protocol (MCP) server written in Rust. It eliminates bloated token footprints and multi-turn round-trips for AI coding agents and human developers alike.
2024-11-05).tools/list): Automatically publishes typed JSON Schemas for all tools, enabling IDEs to display typed parameters and descriptions.mysid graph --mode flow): Maps upstream callers and downstream callees for any entry-point symbol.mysid graph --mode overview): Summarizes cross-module dependencies, entry points, and high-degree architectural hubs.mysid dynamically tailors its AST indexing, error filtering, and build heuristics according to the active technology stack:
build.gradle.kts), Android manifests, Coroutines, Room, and Hilt.app/src/main/java/com/example/folderA/folderB/FileName.kt.mysid read "FileName.kt#L10-40" "AnotherFile.cpp#L100-140"
mysid android connect_wifi) without fiddling with USB cables.mysid android crashes): Automatically parses logcat to extract clean, deduplicated Java/Kotlin/Native stack traces.tap, type, and keyevent actions into connected hardware or emulators.mysid mkdir <path>): Automatically creates all missing parent directories in a single atomic step.mysid patch <file> <old> <new>): Fast, exact substring search-and-replace without line-number drift.mysid patch_batch): Apply multi-file edits simultaneously with rollback if any patch fails.mysid replace <old> <new>): Workspace-wide search-and-replace with --dry-run diff preview mode.mysid-mcp/
├── rust-mcp/ # Native Rust source code (Cargo workspace)
│ ├── src/
│ │ ├── main.rs # CLI dispatcher & MCP JSON-RPC stdio loop
│ │ ├── ast.rs # Tree-sitter AST symbol indexer & caller graph
│ │ └── tools/ # Core tools (read, search, replace, patch, android, build)
│ └── Cargo.toml
├── skills/ # Agent prompt & workflow skill specifications
│ ├── android-native.md # Ultra-lean reference for Android & Native C++
│ └── MCP_COMMANDS.md # Complete syntax manual
├── .github/workflows/ # Automated CI/CD release pipeline
├── mysid-mcp.svg # Official vector logo
├── install.ps1 # One-click Windows global installer
├── package-portable.ps1 # Portable bundle & ZIP packager
├── Dockerfile # Multi-stage container build (Glama & Docker MCP)
├── LICENSE # Apache 2.0 License
└── .gitignore # Excludes compilation artifacts and targets
Open PowerShell and run:
.\install.ps1
This automatically:
mysid.exe).%LOCALAPPDATA%\mysid\bin\mysid.exe.PATH (available in all new terminal sessions).mcp_config.json.~/.gemini/config/mcp_config.json){
"mcpServers": {
"mysid": {
"command": "mysid",
"args": []
}
}
}
%APPDATA%\Claude\claude_desktop_config.json){
"mcpServers": {
"mysid": {
"command": "mysid",
"args": []
}
}
}
mysid set_workspace "C:\path\to\your\project"
mysid get_workspace
# AST symbol definition + top callers
mysid read SymbolName
# Single-turn multi-slice reading (bare filenames are automatically resolved)
mysid read "FileName1.cpp#L100-150" "FileName2.kt#L20-60"
# Multi-threaded regex/string search respecting .gitignore
mysid search "symbol_name" --types kt,cpp
# Refactor across the entire workspace
mysid replace "oldMethodName" "newMethodName" --types kt,cpp
# Preview changes before applying
mysid replace "oldMethodName" "newMethodName" --dry-run
mysid patch app/build.gradle.kts "versionCode = 44" "versionCode = 45"
mysid build # assembleDebug with token-filtered errors
mysid build clean # clean assembleDebug
mysid release # compile release bundle + verify R8 mapping
mysid install # deploy APK to connected device
mysid devices # list ADB devices
mysid android logcat --lines 50
mysid android crashes
Requirements: Rust (stable toolchain).
cd rust-mcp
cargo build --release
The compiled binary will be at rust-mcp/target/release/mysid.exe.
A mysid is a small shrimp-like crustacean, commonly called a mysid shrimp. The name comes from the taxonomic group Mysida.
The name reflects several ideas behind this project:
Adaptable — Mysids inhabit a variety of environments, including caves, deep water, marine environments, and freshwater. Similarly, Mysid MCP is designed to operate across different development environments and interact with files, source code, build systems, and Android devices.
Small but complex — Despite their small size, mysids have sophisticated sensory and swimming systems. They move through complex environments, explore their surroundings, and locate resources. This reflects the role of Mysid MCP in navigating complex codebases, searching for relevant code, tracing project structure, and providing the right context to an AI agent.
Explore and interact — Mysids use their sensory systems to detect and respond to their surroundings while moving through the aquatic environment and obtaining available food. Similarly, Mysid MCP gives an AI agent tools to explore a development environment, locate relevant resources, and act on them.
8 commits
Rust
92.1%
PowerShell
7.0%
mysid: High-performance native Rust Model Context Protocol (MCP) server & codebase intelligence engine
Rust
0
8 commits
updated Sep 18, 2026
mysid is an ultra-fast, standalone code intelligence engine and Model Context Protocol (MCP) server written in Rust. It eliminates bloated token footprints and multi-turn round-trips for AI coding agents and human developers alike.
2024-11-05).tools/list): Automatically publishes typed JSON Schemas for all tools, enabling IDEs to display typed parameters and descriptions.mysid graph --mode flow): Maps upstream callers and downstream callees for any entry-point symbol.mysid graph --mode overview): Summarizes cross-module dependencies, entry points, and high-degree architectural hubs.mysid dynamically tailors its AST indexing, error filtering, and build heuristics according to the active technology stack:
build.gradle.kts), Android manifests, Coroutines, Room, and Hilt.app/src/main/java/com/example/folderA/folderB/FileName.kt.mysid read "FileName.kt#L10-40" "AnotherFile.cpp#L100-140"
mysid android connect_wifi) without fiddling with USB cables.mysid android crashes): Automatically parses logcat to extract clean, deduplicated Java/Kotlin/Native stack traces.tap, type, and keyevent actions into connected hardware or emulators.mysid mkdir <path>): Automatically creates all missing parent directories in a single atomic step.mysid patch <file> <old> <new>): Fast, exact substring search-and-replace without line-number drift.mysid patch_batch): Apply multi-file edits simultaneously with rollback if any patch fails.mysid replace <old> <new>): Workspace-wide search-and-replace with --dry-run diff preview mode.mysid-mcp/
├── rust-mcp/ # Native Rust source code (Cargo workspace)
│ ├── src/
│ │ ├── main.rs # CLI dispatcher & MCP JSON-RPC stdio loop
│ │ ├── ast.rs # Tree-sitter AST symbol indexer & caller graph
│ │ └── tools/ # Core tools (read, search, replace, patch, android, build)
│ └── Cargo.toml
├── skills/ # Agent prompt & workflow skill specifications
│ ├── android-native.md # Ultra-lean reference for Android & Native C++
│ └── MCP_COMMANDS.md # Complete syntax manual
├── .github/workflows/ # Automated CI/CD release pipeline
├── mysid-mcp.svg # Official vector logo
├── install.ps1 # One-click Windows global installer
├── package-portable.ps1 # Portable bundle & ZIP packager
├── Dockerfile # Multi-stage container build (Glama & Docker MCP)
├── LICENSE # Apache 2.0 License
└── .gitignore # Excludes compilation artifacts and targets
Open PowerShell and run:
.\install.ps1
This automatically:
mysid.exe).%LOCALAPPDATA%\mysid\bin\mysid.exe.PATH (available in all new terminal sessions).mcp_config.json.~/.gemini/config/mcp_config.json){
"mcpServers": {
"mysid": {
"command": "mysid",
"args": []
}
}
}
%APPDATA%\Claude\claude_desktop_config.json){
"mcpServers": {
"mysid": {
"command": "mysid",
"args": []
}
}
}
mysid set_workspace "C:\path\to\your\project"
mysid get_workspace
# AST symbol definition + top callers
mysid read SymbolName
# Single-turn multi-slice reading (bare filenames are automatically resolved)
mysid read "FileName1.cpp#L100-150" "FileName2.kt#L20-60"
# Multi-threaded regex/string search respecting .gitignore
mysid search "symbol_name" --types kt,cpp
# Refactor across the entire workspace
mysid replace "oldMethodName" "newMethodName" --types kt,cpp
# Preview changes before applying
mysid replace "oldMethodName" "newMethodName" --dry-run
mysid patch app/build.gradle.kts "versionCode = 44" "versionCode = 45"
mysid build # assembleDebug with token-filtered errors
mysid build clean # clean assembleDebug
mysid release # compile release bundle + verify R8 mapping
mysid install # deploy APK to connected device
mysid devices # list ADB devices
mysid android logcat --lines 50
mysid android crashes
Requirements: Rust (stable toolchain).
cd rust-mcp
cargo build --release
The compiled binary will be at rust-mcp/target/release/mysid.exe.
A mysid is a small shrimp-like crustacean, commonly called a mysid shrimp. The name comes from the taxonomic group Mysida.
The name reflects several ideas behind this project:
Adaptable — Mysids inhabit a variety of environments, including caves, deep water, marine environments, and freshwater. Similarly, Mysid MCP is designed to operate across different development environments and interact with files, source code, build systems, and Android devices.
Small but complex — Despite their small size, mysids have sophisticated sensory and swimming systems. They move through complex environments, explore their surroundings, and locate resources. This reflects the role of Mysid MCP in navigating complex codebases, searching for relevant code, tracing project structure, and providing the right context to an AI agent.
Explore and interact — Mysids use their sensory systems to detect and respond to their surroundings while moving through the aquatic environment and obtaining available food. Similarly, Mysid MCP gives an AI agent tools to explore a development environment, locate relevant resources, and act on them.
8 commits
Rust
92.1%
PowerShell
7.0%