docs: use article "an" before "MCP" instead of "a" (#1558)
This commit is contained in:
parent
6f2cd0cef0
commit
202af49857
1 changed files with 5 additions and 5 deletions
|
|
@ -67,7 +67,7 @@ def _build_uv_command(
|
||||||
with_editable: Path | None = None,
|
with_editable: Path | None = None,
|
||||||
with_packages: list[str] | None = None,
|
with_packages: list[str] | None = None,
|
||||||
) -> list[str]:
|
) -> list[str]:
|
||||||
"""Build the uv run command that runs a MCP server through mcp run."""
|
"""Build the uv run command that runs an MCP server through mcp run."""
|
||||||
cmd = ["uv"]
|
cmd = ["uv"]
|
||||||
|
|
||||||
cmd.extend(["run", "--with", "mcp"])
|
cmd.extend(["run", "--with", "mcp"])
|
||||||
|
|
@ -117,7 +117,7 @@ def _parse_file_path(file_spec: str) -> tuple[Path, str | None]:
|
||||||
|
|
||||||
|
|
||||||
def _import_server(file: Path, server_object: str | None = None):
|
def _import_server(file: Path, server_object: str | None = None):
|
||||||
"""Import a MCP server from a file.
|
"""Import an MCP server from a file.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
file: Path to the file
|
file: Path to the file
|
||||||
|
|
@ -244,7 +244,7 @@ def dev(
|
||||||
),
|
),
|
||||||
] = [],
|
] = [],
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Run a MCP server with the MCP Inspector."""
|
"""Run an MCP server with the MCP Inspector."""
|
||||||
file, server_object = _parse_file_path(file_spec)
|
file, server_object = _parse_file_path(file_spec)
|
||||||
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
|
|
@ -317,7 +317,7 @@ def run(
|
||||||
),
|
),
|
||||||
] = None,
|
] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Run a MCP server.
|
"""Run an MCP server.
|
||||||
|
|
||||||
The server can be specified in two ways:\n
|
The server can be specified in two ways:\n
|
||||||
1. Module approach: server.py - runs the module directly, expecting a server.run() call.\n
|
1. Module approach: server.py - runs the module directly, expecting a server.run() call.\n
|
||||||
|
|
@ -412,7 +412,7 @@ def install(
|
||||||
),
|
),
|
||||||
] = None,
|
] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Install a MCP server in the Claude desktop app.
|
"""Install an MCP server in the Claude desktop app.
|
||||||
|
|
||||||
Environment variables are preserved once added and only updated if new values
|
Environment variables are preserved once added and only updated if new values
|
||||||
are explicitly provided.
|
are explicitly provided.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue