servo-fetch-cli 0.7.1

A browser engine in a binary — fetch, render, and extract web content powered by Servo.
1
2
3
4
5
6
7
8
9
//! MCP server subcommand.

use crate::cli::McpArgs;

/// Start the MCP server (stdio or HTTP transport).
pub(crate) fn run(args: &McpArgs) -> anyhow::Result<()> {
    let rt = tokio::runtime::Runtime::new()?;
    rt.block_on(crate::mcp::run(args.port))
}