- Go 99.3%
- Makefile 0.7%
|
|
||
|---|---|---|
| .github/workflows | ||
| cmd/mcpterm | ||
| pkg | ||
| .gitignore | ||
| .golangci.yml | ||
| COMPLETION_TEST.md | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| Makefile | ||
| README.md | ||
| TOOL_ARCHITECTURE.md | ||
| TOOLS.md | ||
MCPTerm
A terminal-based chat application built with Go. Features vi-like navigation, text formatting, and multiple chat backends.
Features
- TUI chat application with vi-like motion support
- Multiple backend support (AWS Bedrock)
- Tool integration for filesystem and development operations
Installation
TODO: Add installation instructions
Usage
# Basic usage
mcpterm
# With AWS Bedrock backend
mcpterm --backend aws-bedrock --model us.anthropic.claude-3-7-sonnet-20250219-v1:0 --aws-region us-east-1
# Using mock mode for testing
mcpterm --mock
Shell Completion
MCPTerm supports command completion for bash, zsh, fish, and PowerShell.
ZSH Completion
Quick Setup (For Development)
To quickly enable ZSH completion for your current terminal session:
# Load completions for current session only
source <(mcpterm completion zsh)
This method is ideal during development as it doesn't modify any files and only affects your current terminal session.
Permanent Installation
To permanently enable ZSH completion, follow these steps:
-
Make sure shell completion is enabled in your zsh:
echo "autoload -U compinit; compinit" >> ~/.zshrc -
Generate the completion script and add it to your fpath:
# Create the completion directory if it doesn't exist mkdir -p ~/.zsh/completion # Generate and save the completion script mcpterm completion zsh > ~/.zsh/completion/_mcpterm -
Add the completion directory to your fpath (add to ~/.zshrc):
echo 'fpath=(~/.zsh/completion $fpath)' >> ~/.zshrc -
Restart your shell or source your .zshrc:
source ~/.zshrc
Now you can use tab completion with the mcpterm command!
Bash Completion
# For current session
source <(mcpterm completion bash)
# Install permanently (Linux)
mcpterm completion bash > /etc/bash_completion.d/mcpterm
# Install permanently (macOS with Homebrew)
mcpterm completion bash > $(brew --prefix)/etc/bash_completion.d/mcpterm
Configuration
TODO: Add configuration details
License
TODO: Add license information