No description
  • Go 99.3%
  • Makefile 0.7%
Find a file
2026-04-08 03:37:22 -07:00
.github/workflows Create go.yml 2025-05-12 21:35:57 -07:00
cmd/mcpterm context 2025-05-14 19:59:35 -07:00
pkg tool example comments 2025-05-15 08:22:19 -07:00
.gitignore init 2025-05-14 20:03:02 -07:00
.golangci.yml lint 2025-05-11 22:06:35 -07:00
COMPLETION_TEST.md context 2025-05-14 19:59:35 -07:00
go.mod Bump golang.org/x/net from 0.37.0 to 0.38.0 2026-04-08 07:29:18 +00:00
go.sum Bump golang.org/x/net from 0.37.0 to 0.38.0 2026-04-08 07:29:18 +00:00
main.go kdkdj 2025-05-11 22:20:28 -07:00
Makefile context 2025-05-14 19:59:35 -07:00
README.md context 2025-05-14 19:59:35 -07:00
TOOL_ARCHITECTURE.md context 2025-05-14 19:59:35 -07:00
TOOLS.md context 2025-05-14 19:59:35 -07:00

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:

  1. Make sure shell completion is enabled in your zsh:

    echo "autoload -U compinit; compinit" >> ~/.zshrc
    
  2. 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
    
  3. Add the completion directory to your fpath (add to ~/.zshrc):

    echo 'fpath=(~/.zsh/completion $fpath)' >> ~/.zshrc
    
  4. 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