mcphost
A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP).
File Explorer
- openai.yaml
- SKILL.md
- ci.yml
- release.yml
- 1.blk
- index.db
- meta.inf
- meta.sum
- o.dat
- meta.inf
- meta.sum
- o.dat
- meta.inf
- meta.sum
- server.port
- opencode.jsonc
- auth.go
- hooks.go
- models.go
- root.go
- script.go
- script_deepseek_test.go
- script_integration_test.go
- script_test.go
- setup.go
- update_models.go
- demo.json
- demo.yml
- boost.sh
- build.sh
- contribute.md
- bash-validator.py
- mcp-monitor.py
- prompt-logger.sh
- default-values-demo.sh
- env-substitution-script.sh
- example-script.sh
- README.md
- simple-script.sh
- tls-test-script.sh
- agent.go
- factory.go
- app.go
- app_test.go
- events.go
- messages.go
- messages_test.go
- options.go
- browser.go
- credentials.go
- credentials_test.go
- oauth.go
- bash.go
- bash_test.go
- fetch.go
- fetch_test.go
- http.go
- http_test.go
- registry.go
- todo.go
- todo_test.go
- case_fix_test.go
- config.go
- config_test.go
- environment_flow_test.go
- integration_test.go
- merger.go
- substitution.go
- substitution_test.go
- viper_test.go
- invalid-hooks.yml
- valid-hooks.yml
- config.go
- config_test.go
- events.go
- executor.go
- executor_test.go
- schemas.go
- validator.go
- validator_test.go
- cache.go
- embedded_models.json
- modelsdb.go
- providers.go
- providers_test.go
- registry.go
- manager.go
- session.go
- buffered_logger.go
- connection_pool.go
- debug_logger.go
- fantasy_adapter.go
- mcp.go
- mcp_test.go
- ollama.go
- block_renderer.go
- children_test.go
- cli.go
- commands.go
- compact_renderer.go
- debug_logger.go
- enhanced_styles.go
- event_handler.go
- events.go
- factory.go
- fuzzy.go
- input.go
- messages.go
- model.go
- model_test.go
- slash_command_input.go
- spinner.go
- stream.go
- styles.go
- tool_approval_input.go
- usage_tracker.go
- usage_tracker_render_test.go
- usage_tracker_test.go
- main.go
- main.go
- mcphost.go
- mcphost_test.go
- README.md
- types.go
- README.md
- unified-bubbletea-architecture.md
- .gitignore
- .golangci.yml
- .goreleaser.yaml
- AGENTS.md
- btca.config.jsonc
- go.mod
- go.sum
- LICENSE
- main.go
- README.md
- skills-lock.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
username
View Details ▼
username
Manage users.
Accessed in configuration mode.
username {{admin}} privilege 15 secret {{password}}
Set up an admin account:
awk
View Details ▼
awk
A versatile programming language for working on files.
Note: Different implementations of AWK often make this a symlink of their binary.
See also: `gawk`.
awk '{print $5}' {{path/to/file}}
Print the fifth column (a.k.a. field) in a space-separated file:
awk '/{{foo}}/ {print $2}' {{path/to/file}}
Print the second column of the lines containing "foo" in a space-separated file:
awk -F ',' '{print $NF}' {{path/to/file}}
Print the last column of each line in a file, using a comma (instead of space) as a field separator:
builtin
View Details ▼
builtin
Execute shell builtins.
builtin {{command}}
Run a shell builtin:
fmt
View Details ▼
fmt
Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default).
fmt {{path/to/file}}
Reformat a file:
fmt {{[-w|--width]}} {{n}} {{path/to/file}}
Reformat a file producing output lines of (at most) `n` characters:
fmt {{[-s|--split-only]}} {{path/to/file}}
Reformat a file without joining lines shorter than the given width together:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
http
View Details ▼
http
HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers.
See also: `xh`.
http {{https://example.com}}
Make a simple GET request (shows response headers and content):
http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}
Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}
Specify the HTTP method when sending a request and use a proxy to intercept the request:
ollama
View Details ▼
ollama
A large language model runner.
For a list of available models, see <https://ollama.com/library>.
ollama serve
Start the daemon required to run other commands:
ollama run {{model}}
Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run {{model}} --think=false "{{prompt}}"
Run a model with a single prompt and thinking turned off:
sed
View Details ▼
sed
Edit text in a scriptable manner.
See also: `awk`, `ed`.
{{command}} | sed 's/apple/mango/g'
Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:
{{command}} | sed 's/apple/mango/g'
Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:
{{command}} | sed 's/apple/mango/g'
[s]ubstitute all occurrences of "apple" with "mango" on all lines, print to `stdout`:
serve
View Details ▼
serve
Static file serving and directory listing.
serve
Start an HTTP server listening on the default port to serve the current directory:
serve -p {{port}} {{path/to/directory}}
Start an HTTP server on a specific [p]ort to serve a specific directory:
serve {{[-C|--cors]}}
Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses:
