diff --git a/docs/assets/images/apps-card.png b/docs/assets/images/apps-card.png index 1704c46bb..0bb8d8177 100644 Binary files a/docs/assets/images/apps-card.png and b/docs/assets/images/apps-card.png differ diff --git a/docs/assets/images/clients-card.png b/docs/assets/images/clients-card.png index f9b36cf9b..0d5eb0541 100644 Binary files a/docs/assets/images/clients-card.png and b/docs/assets/images/clients-card.png differ diff --git a/docs/assets/images/servers-card.png b/docs/assets/images/servers-card.png index 534779e96..6db828c76 100644 Binary files a/docs/assets/images/servers-card.png and b/docs/assets/images/servers-card.png differ diff --git a/docs/python-sdk/fastmcp-cli-client.mdx b/docs/python-sdk/fastmcp-cli-client.mdx index 9ac15d640..0351b627e 100644 --- a/docs/python-sdk/fastmcp-cli-client.mdx +++ b/docs/python-sdk/fastmcp-cli-client.mdx @@ -102,13 +102,15 @@ or nested arguments. **Examples:** +``` fastmcp call server.py greet name=World fastmcp call server.py resource://docs/readme fastmcp call server.py analyze --prompt data='[1,2,3]' fastmcp call http://server/mcp create --input-json '{"tags": ["a","b"]}' +``` -### `discover_command` +### `discover_command` ```python discover_command() -> None diff --git a/src/fastmcp/cli/client.py b/src/fastmcp/cli/client.py index d0d070d98..843a10a25 100644 --- a/src/fastmcp/cli/client.py +++ b/src/fastmcp/cli/client.py @@ -838,10 +838,12 @@ async def call_command( or nested arguments. Examples: + ``` fastmcp call server.py greet name=World fastmcp call server.py resource://docs/readme fastmcp call server.py analyze --prompt data='[1,2,3]' fastmcp call http://server/mcp create --input-json '{"tags": ["a","b"]}' + ``` """ if not target: