We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/8b-is/smart-tree'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.mdβ’2.17 KiB
# Scripts Directory π
This directory contains helpful scripts for Smart Tree installation, development, and management.
## π Installation Scripts
### For End Users
**`install.sh`** - Quick installation from GitHub releases
```bash
# Download and install the latest release
curl -sSL https://raw.githubusercontent.com/8b-is/smart-tree/main/scripts/install.sh | bash
```
- β Downloads pre-built binary
- β No build dependencies required
- β Fast and simple
- β Perfect for production use
### For Developers
**`build-and-install.sh`** - Build from source and install
```bash
# Build and install from current source
./scripts/build-and-install.sh
```
- β Builds from current source code
- β Clears shell cache automatically
- β Perfect for development workflow
- β Always gets latest local changes
## π οΈ Development Scripts
**`shell-functions.sh`** - Development helper functions
```bash
# Add to your ~/.zshrc or ~/.bashrc
source /path/to/smart-tree/scripts/shell-functions.sh
# Then use:
st-rebuild # Build and install with cache clearing
st-test # Test local build without installing
st-refresh # Clear cache and test version
st-versions # Check both installed and local versions
st-killall # Kill stuck st processes
```
**`kill-stuck-st.sh`** - Kill hung st processes
```bash
./scripts/kill-stuck-st.sh
```
**`manage.sh`** - Comprehensive project management
```bash
./scripts/manage.sh help # See all available commands
./scripts/manage.sh build # Build project
./scripts/manage.sh test # Run tests
./scripts/manage.sh release v3.3.5 "Release notes"
```
**`send-to-claude.sh`** - Demo Claude API integration
```bash
export ANTHROPIC_API_KEY=your_key
./scripts/send-to-claude.sh /path/to/analyze
```
## π― Quick Reference
| Use Case | Script |
|----------|--------|
| **Install latest release** | `curl ... install.sh \| bash` |
| **Install from local source** | `./build-and-install.sh` |
| **Development workflow** | `source shell-functions.sh` |
| **Fix hung processes** | `./kill-stuck-st.sh` |
| **Project management** | `./manage.sh` |
## π³ Happy Tree Building!
Each script is designed for a specific purpose. Choose the right tool for your needs!