mcp-tui

command module
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 12 Imported by: 0

README

MCP-TUI

go install npm Docs

Fast terminal UI and CLI for testing, debugging, and automating Model Context Protocol servers.

STDIO, SSE, HTTP, and Streamable HTTP transports — built on the official MCP Go SDK.

MCP-TUI connect screen with discovered configurations

Install

# Go (recommended)
go install github.com/standardbeagle/mcp-tui@latest

# npm
npm install -g @standardbeagle/mcp-tui

Quick start

Launch the TUI against the official sample server:

mcp-tui --cmd npx --args "@modelcontextprotocol/server-everything,stdio"

Or use CLI mode for scripting:

mcp-tui --cmd npx --args "@modelcontextprotocol/server-everything,stdio" tool list

Listing tools from a stdio MCP server

mcp-tui --cmd npx --args "@modelcontextprotocol/server-everything,stdio" \
  tool call echo message='hello mcp'

Calling a tool with arguments

What it does

  • Visual exploration — browse tools, resources, prompts; execute with auto-generated forms.
  • CI-friendly CLI — every TUI action has a CLI equivalent. c in the TUI copies it.
  • All MCP transports — STDIO, SSE, HTTP, Streamable HTTP.
  • Config discovery — finds Claude Desktop, VS Code MCP, and native configs automatically.
  • Real debuggingCtrl+D opens HTTP timing, MCP message trace, and structured error classification.

Browsing tools, resources, and prompts

Documentation

Full docs at https://standardbeagle.github.io/mcp-tui/.

Contributing

See CONTRIBUTING.md and ARCHITECTURE.md. Issues and PRs welcome.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cli
cli/conform
Package conform implements the end-to-end MCP conformance suite.
Package conform implements the end-to-end MCP conformance suite.
cli/verify
Package verify implements behavior probes for MCP servers introduced in SDK v1.4.0–v1.6.0.
Package verify implements behavior probes for MCP servers introduced in SDK v1.4.0–v1.6.0.
mcp
mcp/capabilities
Package capabilities provides a stable, JSON-friendly view of the negotiated MCP capabilities for both the connected server and the local client.
Package capabilities provides a stable, JSON-friendly view of the negotiated MCP capabilities for both the connected server and the local client.
mcp/elicitation
Package elicitation provides client-side handlers for MCP elicitation/create requests.
Package elicitation provides client-side handlers for MCP elicitation/create requests.
mcp/notifications
Package notifications captures and renders the seven server-to-client notifications defined by the MCP spec:
Package notifications captures and renders the seven server-to-client notifications defined by the MCP spec:
mcp/oauth
Package oauth wires the MCP SDK's auth packages into mcp-tui.
Package oauth wires the MCP SDK's auth packages into mcp-tui.
mcp/outputvalidation
Package outputvalidation validates an MCP tool's structured result against the tool's advertised outputSchema.
Package outputvalidation validates an MCP tool's structured result against the tool's advertised outputSchema.
mcp/roots
Package roots provides user-declared root directory parsing and config-file loading for the MCP roots/list capability.
Package roots provides user-declared root directory parsing and config-file loading for the MCP roots/list capability.
mcp/sampling
Package sampling provides client-side handlers for MCP sampling/createMessage requests.
Package sampling provides client-side handlers for MCP sampling/createMessage requests.
mcp/uritemplate
Package uritemplate provides minimal RFC 6570 URI Template support for mcp-tui's resource template handling.
Package uritemplate provides minimal RFC 6570 URI Template support for mcp-tui's resource template handling.
testutil
Package testutil provides cross-platform helpers for tests that need to spawn a real child process -- typically a stand-in MCP server.
Package testutil provides cross-platform helpers for tests that need to spawn a real child process -- typically a stand-in MCP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL