MCP Servers
MoMCP-TUI uses the Model Context Protocol (MCP) to connect to tool servers that provide capabilities like file operations, code editing, and web search.
Built-in MCP Server
MoMCP-TUI ships with a local MCP server (momcp) that provides:
This server is enabled by default and runs as a stdio process.
Server Types
stdio (Local Process)
Runs a local command as a subprocess. Configured via the [mcp.servers.<name>] section in the configuration file with type = "stdio", a command, and optional args and env.
streamableHttp (Remote)
Connects to a remote MCP server via HTTP. Configured with type = "streamableHttp", a url, and optional headers.
Managing Servers
You can add, modify, or delete MCP servers by simply telling the AI assistant what you need — it will handle the configuration automatically.
Copy this prompt and send it to your AI assistant.
The built-in momcp server is essential and cannot be deleted.
File Access Security
The built-in file tools only allow access to:
- The startup root directory
- Paths listed in
allowed_paths
Configure additional allowed paths using the /allow command:
Viewing Available Tools
Use the /tool list command to see all registered MCP tools: