# --mcp-local-server

Source: https://zshot-cli.com/reference/flags/agents/mcp-local-server/
Markdown: https://zshot-cli.com/reference/flags/agents/mcp-local-server/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Agents](https://zshot-cli.com/reference/flags/agents/)
CLI: `--mcp-local-server` · REST: CLI only
License: [Pro](https://zshot-cli.com/support/licenses/pro)

Runs a Model Context Protocol server over stdio: JSON-RPC requests on stdin, responses on stdout, logs on stderr. It cannot be combined with [`--server`](/reference/flags/server/server); a server offers MCP over HTTP with [`--server-enable-mcp`](/reference/flags/server/server-enable-mcp) instead.

## Example

**CLI**

```sh
zshot --mcp-local-server
```

## Related

Flags:

- [`--server-enable-mcp`](https://zshot-cli.com/reference/flags/server/server-enable-mcp/)
- [`--server`](https://zshot-cli.com/reference/flags/server/server/)
- [`--install-skill`](https://zshot-cli.com/reference/flags/agents/install-skill/)
- [`--agent-help`](https://zshot-cli.com/reference/flags/agents/agent-help/)

Topics:

- [MCP](https://zshot-cli.com/reference/agents/mcp/)
- [Model Context Protocol](https://modelcontextprotocol.io/)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
      - [--agent-help](https://zshot-cli.com/reference/flags/agents/agent-help/)
      - [--install-skill](https://zshot-cli.com/reference/flags/agents/install-skill/)
      - **--mcp-local-server**
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

