[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-prefect-fastmcp-client-cli":3,"mdc--eoz07l-key":42,"related-repo-prefect-fastmcp-client-cli":1241,"related-org-prefect-fastmcp-client-cli":1249},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":37,"sourceUrl":40,"mdContent":41},"fastmcp-client-cli","query and invoke tools on MCP servers","Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server offers, call tools, or integrate MCP servers into workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"prefect","Prefect","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fprefect.png","PrefectHQ",[13,17,20],{"name":14,"slug":15,"type":16},"Automation","automation","tag",{"name":18,"slug":19,"type":16},"CLI","cli",{"name":21,"slug":22,"type":16},"MCP","mcp",26188,"https:\u002F\u002Fgithub.com\u002FPrefectHQ\u002Ffastmcp","2026-07-14T05:19:43.605249",null,2130,[29,30,31,22,32,33,34,35,36],"agents","fastmcp","llms","mcp-clients","mcp-servers","mcp-tools","model-context-protocol","python",{"repoUrl":24,"stars":23,"forks":27,"topics":38,"description":39},[29,30,31,22,32,33,34,35,36],"🚀 The fast, Pythonic way to build MCP servers and clients.","https:\u002F\u002Fgithub.com\u002FPrefectHQ\u002Ffastmcp\u002Ftree\u002FHEAD\u002Fskills\u002Ffastmcp-client-cli","---\nname: fastmcp-client-cli\ndescription: Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server offers, call tools, or integrate MCP servers into workflows.\n---\n\n# FastMCP CLI: List and Call\n\nUse `fastmcp list` and `fastmcp call` to interact with any MCP server from the command line.\n\n## Listing Tools\n\n```bash\n# Remote server\nfastmcp list http:\u002F\u002Flocalhost:8000\u002Fmcp\n\n# Local Python file (runs via fastmcp run automatically)\nfastmcp list server.py\n\n# MCPConfig with multiple servers\nfastmcp list mcp.json\n\n# Stdio command (npx, uvx, etc.)\nfastmcp list --command 'npx -y @modelcontextprotocol\u002Fserver-github'\n\n# Include full input\u002Foutput schemas\nfastmcp list server.py --input-schema --output-schema\n\n# Machine-readable JSON\nfastmcp list server.py --json\n\n# Include resources and prompts\nfastmcp list server.py --resources --prompts\n```\n\nDefault output shows tool signatures and descriptions. Use `--input-schema` or `--output-schema` to include full JSON schemas, `--json` for structured output.\n\n## Calling Tools\n\n```bash\n# Key=value arguments (auto-coerced to correct types)\nfastmcp call server.py greet name=World\nfastmcp call server.py add a=3 b=4\n\n# Single JSON object for complex\u002Fnested args\nfastmcp call server.py create_item '{\"name\": \"Widget\", \"tags\": [\"a\", \"b\"]}'\n\n# --input-json with key=value overrides\nfastmcp call server.py search --input-json '{\"query\": \"hello\", \"limit\": 5}' limit=10\n\n# JSON output for scripting\nfastmcp call server.py add a=3 b=4 --json\n```\n\nType coercion is automatic: `limit=5` becomes an integer, `verbose=true` becomes a boolean, based on the tool's input schema.\n\n## Server Targets\n\nAll commands accept the same server targets:\n\n| Target | Example |\n|--------|---------|\n| HTTP\u002FHTTPS URL | `http:\u002F\u002Flocalhost:8000\u002Fmcp` |\n| Python file | `server.py` |\n| MCPConfig JSON | `mcp.json` (must have `mcpServers` key) |\n| Stdio command | `--command 'npx -y @mcp\u002Fserver'` |\n| Discovered name | `weather` or `source:name` |\n\nServers configured in editor configs (Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose) or project-level `mcp.json` can be referenced by name. Use `source:name` (e.g. `claude-code:my-server`, `cursor:weather`) to target a specific source. Run `fastmcp discover` to see available names.\n\nFor SSE servers, pass `--transport sse`:\n\n```bash\nfastmcp list http:\u002F\u002Flocalhost:8000\u002Fmcp --transport sse\n```\n\n## Auth\n\nHTTP targets automatically use OAuth (no-ops if the server doesn't require auth). Disable with `--auth none`:\n\n```bash\nfastmcp call http:\u002F\u002Fserver\u002Fmcp tool --auth none\n```\n\n## Discovering Configured Servers\n\n```bash\n# See all MCP servers in editor\u002Fproject configs\nfastmcp discover\n\n# Filter by source\nfastmcp discover --source claude-code\n\n# JSON output\nfastmcp discover --json\n```\n\nScans Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose, and `.\u002Fmcp.json`. Sources: `claude-desktop`, `claude-code`, `cursor`, `gemini`, `goose`, `project`.\n\n## Workflow Pattern\n\nDiscover tools first, then call them:\n\n```bash\n# 1. See what servers are configured\nfastmcp discover\n\n# 2. See what tools a server has\nfastmcp list weather\n\n# 3. Call a tool\nfastmcp call weather get_forecast city=London\n```\n\nIf you call a nonexistent tool, FastMCP suggests close matches.\n",{"data":43,"body":44},{"name":4,"description":6},{"type":45,"children":46},"root",[47,56,79,86,374,403,409,658,679,685,690,820,863,876,909,915,927,965,971,1065,1121,1127,1132,1230,1235],{"type":48,"tag":49,"props":50,"children":52},"element","h1",{"id":51},"fastmcp-cli-list-and-call",[53],{"type":54,"value":55},"text","FastMCP CLI: List and Call",{"type":48,"tag":57,"props":58,"children":59},"p",{},[60,62,69,71,77],{"type":54,"value":61},"Use ",{"type":48,"tag":63,"props":64,"children":66},"code",{"className":65},[],[67],{"type":54,"value":68},"fastmcp list",{"type":54,"value":70}," and ",{"type":48,"tag":63,"props":72,"children":74},{"className":73},[],[75],{"type":54,"value":76},"fastmcp call",{"type":54,"value":78}," to interact with any MCP server from the command line.",{"type":48,"tag":80,"props":81,"children":83},"h2",{"id":82},"listing-tools",[84],{"type":54,"value":85},"Listing Tools",{"type":48,"tag":87,"props":88,"children":93},"pre",{"className":89,"code":90,"language":91,"meta":92,"style":92},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Remote server\nfastmcp list http:\u002F\u002Flocalhost:8000\u002Fmcp\n\n# Local Python file (runs via fastmcp run automatically)\nfastmcp list server.py\n\n# MCPConfig with multiple servers\nfastmcp list mcp.json\n\n# Stdio command (npx, uvx, etc.)\nfastmcp list --command 'npx -y @modelcontextprotocol\u002Fserver-github'\n\n# Include full input\u002Foutput schemas\nfastmcp list server.py --input-schema --output-schema\n\n# Machine-readable JSON\nfastmcp list server.py --json\n\n# Include resources and prompts\nfastmcp list server.py --resources --prompts\n","bash","",[94],{"type":48,"tag":63,"props":95,"children":96},{"__ignoreMap":92},[97,109,129,139,148,165,173,182,199,207,216,249,257,266,293,301,310,331,339,348],{"type":48,"tag":98,"props":99,"children":102},"span",{"class":100,"line":101},"line",1,[103],{"type":48,"tag":98,"props":104,"children":106},{"style":105},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[107],{"type":54,"value":108},"# Remote server\n",{"type":48,"tag":98,"props":110,"children":112},{"class":100,"line":111},2,[113,118,124],{"type":48,"tag":98,"props":114,"children":116},{"style":115},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[117],{"type":54,"value":30},{"type":48,"tag":98,"props":119,"children":121},{"style":120},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[122],{"type":54,"value":123}," list",{"type":48,"tag":98,"props":125,"children":126},{"style":120},[127],{"type":54,"value":128}," http:\u002F\u002Flocalhost:8000\u002Fmcp\n",{"type":48,"tag":98,"props":130,"children":132},{"class":100,"line":131},3,[133],{"type":48,"tag":98,"props":134,"children":136},{"emptyLinePlaceholder":135},true,[137],{"type":54,"value":138},"\n",{"type":48,"tag":98,"props":140,"children":142},{"class":100,"line":141},4,[143],{"type":48,"tag":98,"props":144,"children":145},{"style":105},[146],{"type":54,"value":147},"# Local Python file (runs via fastmcp run automatically)\n",{"type":48,"tag":98,"props":149,"children":151},{"class":100,"line":150},5,[152,156,160],{"type":48,"tag":98,"props":153,"children":154},{"style":115},[155],{"type":54,"value":30},{"type":48,"tag":98,"props":157,"children":158},{"style":120},[159],{"type":54,"value":123},{"type":48,"tag":98,"props":161,"children":162},{"style":120},[163],{"type":54,"value":164}," server.py\n",{"type":48,"tag":98,"props":166,"children":168},{"class":100,"line":167},6,[169],{"type":48,"tag":98,"props":170,"children":171},{"emptyLinePlaceholder":135},[172],{"type":54,"value":138},{"type":48,"tag":98,"props":174,"children":176},{"class":100,"line":175},7,[177],{"type":48,"tag":98,"props":178,"children":179},{"style":105},[180],{"type":54,"value":181},"# MCPConfig with multiple servers\n",{"type":48,"tag":98,"props":183,"children":185},{"class":100,"line":184},8,[186,190,194],{"type":48,"tag":98,"props":187,"children":188},{"style":115},[189],{"type":54,"value":30},{"type":48,"tag":98,"props":191,"children":192},{"style":120},[193],{"type":54,"value":123},{"type":48,"tag":98,"props":195,"children":196},{"style":120},[197],{"type":54,"value":198}," mcp.json\n",{"type":48,"tag":98,"props":200,"children":202},{"class":100,"line":201},9,[203],{"type":48,"tag":98,"props":204,"children":205},{"emptyLinePlaceholder":135},[206],{"type":54,"value":138},{"type":48,"tag":98,"props":208,"children":210},{"class":100,"line":209},10,[211],{"type":48,"tag":98,"props":212,"children":213},{"style":105},[214],{"type":54,"value":215},"# Stdio command (npx, uvx, etc.)\n",{"type":48,"tag":98,"props":217,"children":219},{"class":100,"line":218},11,[220,224,228,233,239,244],{"type":48,"tag":98,"props":221,"children":222},{"style":115},[223],{"type":54,"value":30},{"type":48,"tag":98,"props":225,"children":226},{"style":120},[227],{"type":54,"value":123},{"type":48,"tag":98,"props":229,"children":230},{"style":120},[231],{"type":54,"value":232}," --command",{"type":48,"tag":98,"props":234,"children":236},{"style":235},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[237],{"type":54,"value":238}," '",{"type":48,"tag":98,"props":240,"children":241},{"style":120},[242],{"type":54,"value":243},"npx -y @modelcontextprotocol\u002Fserver-github",{"type":48,"tag":98,"props":245,"children":246},{"style":235},[247],{"type":54,"value":248},"'\n",{"type":48,"tag":98,"props":250,"children":252},{"class":100,"line":251},12,[253],{"type":48,"tag":98,"props":254,"children":255},{"emptyLinePlaceholder":135},[256],{"type":54,"value":138},{"type":48,"tag":98,"props":258,"children":260},{"class":100,"line":259},13,[261],{"type":48,"tag":98,"props":262,"children":263},{"style":105},[264],{"type":54,"value":265},"# Include full input\u002Foutput schemas\n",{"type":48,"tag":98,"props":267,"children":269},{"class":100,"line":268},14,[270,274,278,283,288],{"type":48,"tag":98,"props":271,"children":272},{"style":115},[273],{"type":54,"value":30},{"type":48,"tag":98,"props":275,"children":276},{"style":120},[277],{"type":54,"value":123},{"type":48,"tag":98,"props":279,"children":280},{"style":120},[281],{"type":54,"value":282}," server.py",{"type":48,"tag":98,"props":284,"children":285},{"style":120},[286],{"type":54,"value":287}," --input-schema",{"type":48,"tag":98,"props":289,"children":290},{"style":120},[291],{"type":54,"value":292}," --output-schema\n",{"type":48,"tag":98,"props":294,"children":296},{"class":100,"line":295},15,[297],{"type":48,"tag":98,"props":298,"children":299},{"emptyLinePlaceholder":135},[300],{"type":54,"value":138},{"type":48,"tag":98,"props":302,"children":304},{"class":100,"line":303},16,[305],{"type":48,"tag":98,"props":306,"children":307},{"style":105},[308],{"type":54,"value":309},"# Machine-readable JSON\n",{"type":48,"tag":98,"props":311,"children":313},{"class":100,"line":312},17,[314,318,322,326],{"type":48,"tag":98,"props":315,"children":316},{"style":115},[317],{"type":54,"value":30},{"type":48,"tag":98,"props":319,"children":320},{"style":120},[321],{"type":54,"value":123},{"type":48,"tag":98,"props":323,"children":324},{"style":120},[325],{"type":54,"value":282},{"type":48,"tag":98,"props":327,"children":328},{"style":120},[329],{"type":54,"value":330}," --json\n",{"type":48,"tag":98,"props":332,"children":334},{"class":100,"line":333},18,[335],{"type":48,"tag":98,"props":336,"children":337},{"emptyLinePlaceholder":135},[338],{"type":54,"value":138},{"type":48,"tag":98,"props":340,"children":342},{"class":100,"line":341},19,[343],{"type":48,"tag":98,"props":344,"children":345},{"style":105},[346],{"type":54,"value":347},"# Include resources and prompts\n",{"type":48,"tag":98,"props":349,"children":351},{"class":100,"line":350},20,[352,356,360,364,369],{"type":48,"tag":98,"props":353,"children":354},{"style":115},[355],{"type":54,"value":30},{"type":48,"tag":98,"props":357,"children":358},{"style":120},[359],{"type":54,"value":123},{"type":48,"tag":98,"props":361,"children":362},{"style":120},[363],{"type":54,"value":282},{"type":48,"tag":98,"props":365,"children":366},{"style":120},[367],{"type":54,"value":368}," --resources",{"type":48,"tag":98,"props":370,"children":371},{"style":120},[372],{"type":54,"value":373}," --prompts\n",{"type":48,"tag":57,"props":375,"children":376},{},[377,379,385,387,393,395,401],{"type":54,"value":378},"Default output shows tool signatures and descriptions. Use ",{"type":48,"tag":63,"props":380,"children":382},{"className":381},[],[383],{"type":54,"value":384},"--input-schema",{"type":54,"value":386}," or ",{"type":48,"tag":63,"props":388,"children":390},{"className":389},[],[391],{"type":54,"value":392},"--output-schema",{"type":54,"value":394}," to include full JSON schemas, ",{"type":48,"tag":63,"props":396,"children":398},{"className":397},[],[399],{"type":54,"value":400},"--json",{"type":54,"value":402}," for structured output.",{"type":48,"tag":80,"props":404,"children":406},{"id":405},"calling-tools",[407],{"type":54,"value":408},"Calling Tools",{"type":48,"tag":87,"props":410,"children":412},{"className":89,"code":411,"language":91,"meta":92,"style":92},"# Key=value arguments (auto-coerced to correct types)\nfastmcp call server.py greet name=World\nfastmcp call server.py add a=3 b=4\n\n# Single JSON object for complex\u002Fnested args\nfastmcp call server.py create_item '{\"name\": \"Widget\", \"tags\": [\"a\", \"b\"]}'\n\n# --input-json with key=value overrides\nfastmcp call server.py search --input-json '{\"query\": \"hello\", \"limit\": 5}' limit=10\n\n# JSON output for scripting\nfastmcp call server.py add a=3 b=4 --json\n",[413],{"type":48,"tag":63,"props":414,"children":415},{"__ignoreMap":92},[416,424,450,491,498,506,539,546,554,603,610,618],{"type":48,"tag":98,"props":417,"children":418},{"class":100,"line":101},[419],{"type":48,"tag":98,"props":420,"children":421},{"style":105},[422],{"type":54,"value":423},"# Key=value arguments (auto-coerced to correct types)\n",{"type":48,"tag":98,"props":425,"children":426},{"class":100,"line":111},[427,431,436,440,445],{"type":48,"tag":98,"props":428,"children":429},{"style":115},[430],{"type":54,"value":30},{"type":48,"tag":98,"props":432,"children":433},{"style":120},[434],{"type":54,"value":435}," call",{"type":48,"tag":98,"props":437,"children":438},{"style":120},[439],{"type":54,"value":282},{"type":48,"tag":98,"props":441,"children":442},{"style":120},[443],{"type":54,"value":444}," greet",{"type":48,"tag":98,"props":446,"children":447},{"style":120},[448],{"type":54,"value":449}," name=World\n",{"type":48,"tag":98,"props":451,"children":452},{"class":100,"line":131},[453,457,461,465,470,475,481,486],{"type":48,"tag":98,"props":454,"children":455},{"style":115},[456],{"type":54,"value":30},{"type":48,"tag":98,"props":458,"children":459},{"style":120},[460],{"type":54,"value":435},{"type":48,"tag":98,"props":462,"children":463},{"style":120},[464],{"type":54,"value":282},{"type":48,"tag":98,"props":466,"children":467},{"style":120},[468],{"type":54,"value":469}," add",{"type":48,"tag":98,"props":471,"children":472},{"style":120},[473],{"type":54,"value":474}," a=",{"type":48,"tag":98,"props":476,"children":478},{"style":477},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[479],{"type":54,"value":480},"3",{"type":48,"tag":98,"props":482,"children":483},{"style":120},[484],{"type":54,"value":485}," b=",{"type":48,"tag":98,"props":487,"children":488},{"style":477},[489],{"type":54,"value":490},"4\n",{"type":48,"tag":98,"props":492,"children":493},{"class":100,"line":141},[494],{"type":48,"tag":98,"props":495,"children":496},{"emptyLinePlaceholder":135},[497],{"type":54,"value":138},{"type":48,"tag":98,"props":499,"children":500},{"class":100,"line":150},[501],{"type":48,"tag":98,"props":502,"children":503},{"style":105},[504],{"type":54,"value":505},"# Single JSON object for complex\u002Fnested args\n",{"type":48,"tag":98,"props":507,"children":508},{"class":100,"line":167},[509,513,517,521,526,530,535],{"type":48,"tag":98,"props":510,"children":511},{"style":115},[512],{"type":54,"value":30},{"type":48,"tag":98,"props":514,"children":515},{"style":120},[516],{"type":54,"value":435},{"type":48,"tag":98,"props":518,"children":519},{"style":120},[520],{"type":54,"value":282},{"type":48,"tag":98,"props":522,"children":523},{"style":120},[524],{"type":54,"value":525}," create_item",{"type":48,"tag":98,"props":527,"children":528},{"style":235},[529],{"type":54,"value":238},{"type":48,"tag":98,"props":531,"children":532},{"style":120},[533],{"type":54,"value":534},"{\"name\": \"Widget\", \"tags\": [\"a\", \"b\"]}",{"type":48,"tag":98,"props":536,"children":537},{"style":235},[538],{"type":54,"value":248},{"type":48,"tag":98,"props":540,"children":541},{"class":100,"line":175},[542],{"type":48,"tag":98,"props":543,"children":544},{"emptyLinePlaceholder":135},[545],{"type":54,"value":138},{"type":48,"tag":98,"props":547,"children":548},{"class":100,"line":184},[549],{"type":48,"tag":98,"props":550,"children":551},{"style":105},[552],{"type":54,"value":553},"# --input-json with key=value overrides\n",{"type":48,"tag":98,"props":555,"children":556},{"class":100,"line":201},[557,561,565,569,574,579,583,588,593,598],{"type":48,"tag":98,"props":558,"children":559},{"style":115},[560],{"type":54,"value":30},{"type":48,"tag":98,"props":562,"children":563},{"style":120},[564],{"type":54,"value":435},{"type":48,"tag":98,"props":566,"children":567},{"style":120},[568],{"type":54,"value":282},{"type":48,"tag":98,"props":570,"children":571},{"style":120},[572],{"type":54,"value":573}," search",{"type":48,"tag":98,"props":575,"children":576},{"style":120},[577],{"type":54,"value":578}," --input-json",{"type":48,"tag":98,"props":580,"children":581},{"style":235},[582],{"type":54,"value":238},{"type":48,"tag":98,"props":584,"children":585},{"style":120},[586],{"type":54,"value":587},"{\"query\": \"hello\", \"limit\": 5}",{"type":48,"tag":98,"props":589,"children":590},{"style":235},[591],{"type":54,"value":592},"'",{"type":48,"tag":98,"props":594,"children":595},{"style":120},[596],{"type":54,"value":597}," limit=",{"type":48,"tag":98,"props":599,"children":600},{"style":477},[601],{"type":54,"value":602},"10\n",{"type":48,"tag":98,"props":604,"children":605},{"class":100,"line":209},[606],{"type":48,"tag":98,"props":607,"children":608},{"emptyLinePlaceholder":135},[609],{"type":54,"value":138},{"type":48,"tag":98,"props":611,"children":612},{"class":100,"line":218},[613],{"type":48,"tag":98,"props":614,"children":615},{"style":105},[616],{"type":54,"value":617},"# JSON output for scripting\n",{"type":48,"tag":98,"props":619,"children":620},{"class":100,"line":251},[621,625,629,633,637,641,645,649,654],{"type":48,"tag":98,"props":622,"children":623},{"style":115},[624],{"type":54,"value":30},{"type":48,"tag":98,"props":626,"children":627},{"style":120},[628],{"type":54,"value":435},{"type":48,"tag":98,"props":630,"children":631},{"style":120},[632],{"type":54,"value":282},{"type":48,"tag":98,"props":634,"children":635},{"style":120},[636],{"type":54,"value":469},{"type":48,"tag":98,"props":638,"children":639},{"style":120},[640],{"type":54,"value":474},{"type":48,"tag":98,"props":642,"children":643},{"style":477},[644],{"type":54,"value":480},{"type":48,"tag":98,"props":646,"children":647},{"style":120},[648],{"type":54,"value":485},{"type":48,"tag":98,"props":650,"children":651},{"style":477},[652],{"type":54,"value":653},"4",{"type":48,"tag":98,"props":655,"children":656},{"style":120},[657],{"type":54,"value":330},{"type":48,"tag":57,"props":659,"children":660},{},[661,663,669,671,677],{"type":54,"value":662},"Type coercion is automatic: ",{"type":48,"tag":63,"props":664,"children":666},{"className":665},[],[667],{"type":54,"value":668},"limit=5",{"type":54,"value":670}," becomes an integer, ",{"type":48,"tag":63,"props":672,"children":674},{"className":673},[],[675],{"type":54,"value":676},"verbose=true",{"type":54,"value":678}," becomes a boolean, based on the tool's input schema.",{"type":48,"tag":80,"props":680,"children":682},{"id":681},"server-targets",[683],{"type":54,"value":684},"Server Targets",{"type":48,"tag":57,"props":686,"children":687},{},[688],{"type":54,"value":689},"All commands accept the same server targets:",{"type":48,"tag":691,"props":692,"children":693},"table",{},[694,713],{"type":48,"tag":695,"props":696,"children":697},"thead",{},[698],{"type":48,"tag":699,"props":700,"children":701},"tr",{},[702,708],{"type":48,"tag":703,"props":704,"children":705},"th",{},[706],{"type":54,"value":707},"Target",{"type":48,"tag":703,"props":709,"children":710},{},[711],{"type":54,"value":712},"Example",{"type":48,"tag":714,"props":715,"children":716},"tbody",{},[717,735,752,779,796],{"type":48,"tag":699,"props":718,"children":719},{},[720,726],{"type":48,"tag":721,"props":722,"children":723},"td",{},[724],{"type":54,"value":725},"HTTP\u002FHTTPS URL",{"type":48,"tag":721,"props":727,"children":728},{},[729],{"type":48,"tag":63,"props":730,"children":732},{"className":731},[],[733],{"type":54,"value":734},"http:\u002F\u002Flocalhost:8000\u002Fmcp",{"type":48,"tag":699,"props":736,"children":737},{},[738,743],{"type":48,"tag":721,"props":739,"children":740},{},[741],{"type":54,"value":742},"Python file",{"type":48,"tag":721,"props":744,"children":745},{},[746],{"type":48,"tag":63,"props":747,"children":749},{"className":748},[],[750],{"type":54,"value":751},"server.py",{"type":48,"tag":699,"props":753,"children":754},{},[755,760],{"type":48,"tag":721,"props":756,"children":757},{},[758],{"type":54,"value":759},"MCPConfig JSON",{"type":48,"tag":721,"props":761,"children":762},{},[763,769,771,777],{"type":48,"tag":63,"props":764,"children":766},{"className":765},[],[767],{"type":54,"value":768},"mcp.json",{"type":54,"value":770}," (must have ",{"type":48,"tag":63,"props":772,"children":774},{"className":773},[],[775],{"type":54,"value":776},"mcpServers",{"type":54,"value":778}," key)",{"type":48,"tag":699,"props":780,"children":781},{},[782,787],{"type":48,"tag":721,"props":783,"children":784},{},[785],{"type":54,"value":786},"Stdio command",{"type":48,"tag":721,"props":788,"children":789},{},[790],{"type":48,"tag":63,"props":791,"children":793},{"className":792},[],[794],{"type":54,"value":795},"--command 'npx -y @mcp\u002Fserver'",{"type":48,"tag":699,"props":797,"children":798},{},[799,804],{"type":48,"tag":721,"props":800,"children":801},{},[802],{"type":54,"value":803},"Discovered name",{"type":48,"tag":721,"props":805,"children":806},{},[807,813,814],{"type":48,"tag":63,"props":808,"children":810},{"className":809},[],[811],{"type":54,"value":812},"weather",{"type":54,"value":386},{"type":48,"tag":63,"props":815,"children":817},{"className":816},[],[818],{"type":54,"value":819},"source:name",{"type":48,"tag":57,"props":821,"children":822},{},[823,825,830,832,837,839,845,847,853,855,861],{"type":54,"value":824},"Servers configured in editor configs (Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose) or project-level ",{"type":48,"tag":63,"props":826,"children":828},{"className":827},[],[829],{"type":54,"value":768},{"type":54,"value":831}," can be referenced by name. Use ",{"type":48,"tag":63,"props":833,"children":835},{"className":834},[],[836],{"type":54,"value":819},{"type":54,"value":838}," (e.g. ",{"type":48,"tag":63,"props":840,"children":842},{"className":841},[],[843],{"type":54,"value":844},"claude-code:my-server",{"type":54,"value":846},", ",{"type":48,"tag":63,"props":848,"children":850},{"className":849},[],[851],{"type":54,"value":852},"cursor:weather",{"type":54,"value":854},") to target a specific source. Run ",{"type":48,"tag":63,"props":856,"children":858},{"className":857},[],[859],{"type":54,"value":860},"fastmcp discover",{"type":54,"value":862}," to see available names.",{"type":48,"tag":57,"props":864,"children":865},{},[866,868,874],{"type":54,"value":867},"For SSE servers, pass ",{"type":48,"tag":63,"props":869,"children":871},{"className":870},[],[872],{"type":54,"value":873},"--transport sse",{"type":54,"value":875},":",{"type":48,"tag":87,"props":877,"children":879},{"className":89,"code":878,"language":91,"meta":92,"style":92},"fastmcp list http:\u002F\u002Flocalhost:8000\u002Fmcp --transport sse\n",[880],{"type":48,"tag":63,"props":881,"children":882},{"__ignoreMap":92},[883],{"type":48,"tag":98,"props":884,"children":885},{"class":100,"line":101},[886,890,894,899,904],{"type":48,"tag":98,"props":887,"children":888},{"style":115},[889],{"type":54,"value":30},{"type":48,"tag":98,"props":891,"children":892},{"style":120},[893],{"type":54,"value":123},{"type":48,"tag":98,"props":895,"children":896},{"style":120},[897],{"type":54,"value":898}," http:\u002F\u002Flocalhost:8000\u002Fmcp",{"type":48,"tag":98,"props":900,"children":901},{"style":120},[902],{"type":54,"value":903}," --transport",{"type":48,"tag":98,"props":905,"children":906},{"style":120},[907],{"type":54,"value":908}," sse\n",{"type":48,"tag":80,"props":910,"children":912},{"id":911},"auth",[913],{"type":54,"value":914},"Auth",{"type":48,"tag":57,"props":916,"children":917},{},[918,920,926],{"type":54,"value":919},"HTTP targets automatically use OAuth (no-ops if the server doesn't require auth). Disable with ",{"type":48,"tag":63,"props":921,"children":923},{"className":922},[],[924],{"type":54,"value":925},"--auth none",{"type":54,"value":875},{"type":48,"tag":87,"props":928,"children":930},{"className":89,"code":929,"language":91,"meta":92,"style":92},"fastmcp call http:\u002F\u002Fserver\u002Fmcp tool --auth none\n",[931],{"type":48,"tag":63,"props":932,"children":933},{"__ignoreMap":92},[934],{"type":48,"tag":98,"props":935,"children":936},{"class":100,"line":101},[937,941,945,950,955,960],{"type":48,"tag":98,"props":938,"children":939},{"style":115},[940],{"type":54,"value":30},{"type":48,"tag":98,"props":942,"children":943},{"style":120},[944],{"type":54,"value":435},{"type":48,"tag":98,"props":946,"children":947},{"style":120},[948],{"type":54,"value":949}," http:\u002F\u002Fserver\u002Fmcp",{"type":48,"tag":98,"props":951,"children":952},{"style":120},[953],{"type":54,"value":954}," tool",{"type":48,"tag":98,"props":956,"children":957},{"style":120},[958],{"type":54,"value":959}," --auth",{"type":48,"tag":98,"props":961,"children":962},{"style":120},[963],{"type":54,"value":964}," none\n",{"type":48,"tag":80,"props":966,"children":968},{"id":967},"discovering-configured-servers",[969],{"type":54,"value":970},"Discovering Configured Servers",{"type":48,"tag":87,"props":972,"children":974},{"className":89,"code":973,"language":91,"meta":92,"style":92},"# See all MCP servers in editor\u002Fproject configs\nfastmcp discover\n\n# Filter by source\nfastmcp discover --source claude-code\n\n# JSON output\nfastmcp discover --json\n",[975],{"type":48,"tag":63,"props":976,"children":977},{"__ignoreMap":92},[978,986,998,1005,1013,1035,1042,1050],{"type":48,"tag":98,"props":979,"children":980},{"class":100,"line":101},[981],{"type":48,"tag":98,"props":982,"children":983},{"style":105},[984],{"type":54,"value":985},"# See all MCP servers in editor\u002Fproject configs\n",{"type":48,"tag":98,"props":987,"children":988},{"class":100,"line":111},[989,993],{"type":48,"tag":98,"props":990,"children":991},{"style":115},[992],{"type":54,"value":30},{"type":48,"tag":98,"props":994,"children":995},{"style":120},[996],{"type":54,"value":997}," discover\n",{"type":48,"tag":98,"props":999,"children":1000},{"class":100,"line":131},[1001],{"type":48,"tag":98,"props":1002,"children":1003},{"emptyLinePlaceholder":135},[1004],{"type":54,"value":138},{"type":48,"tag":98,"props":1006,"children":1007},{"class":100,"line":141},[1008],{"type":48,"tag":98,"props":1009,"children":1010},{"style":105},[1011],{"type":54,"value":1012},"# Filter by source\n",{"type":48,"tag":98,"props":1014,"children":1015},{"class":100,"line":150},[1016,1020,1025,1030],{"type":48,"tag":98,"props":1017,"children":1018},{"style":115},[1019],{"type":54,"value":30},{"type":48,"tag":98,"props":1021,"children":1022},{"style":120},[1023],{"type":54,"value":1024}," discover",{"type":48,"tag":98,"props":1026,"children":1027},{"style":120},[1028],{"type":54,"value":1029}," --source",{"type":48,"tag":98,"props":1031,"children":1032},{"style":120},[1033],{"type":54,"value":1034}," claude-code\n",{"type":48,"tag":98,"props":1036,"children":1037},{"class":100,"line":167},[1038],{"type":48,"tag":98,"props":1039,"children":1040},{"emptyLinePlaceholder":135},[1041],{"type":54,"value":138},{"type":48,"tag":98,"props":1043,"children":1044},{"class":100,"line":175},[1045],{"type":48,"tag":98,"props":1046,"children":1047},{"style":105},[1048],{"type":54,"value":1049},"# JSON output\n",{"type":48,"tag":98,"props":1051,"children":1052},{"class":100,"line":184},[1053,1057,1061],{"type":48,"tag":98,"props":1054,"children":1055},{"style":115},[1056],{"type":54,"value":30},{"type":48,"tag":98,"props":1058,"children":1059},{"style":120},[1060],{"type":54,"value":1024},{"type":48,"tag":98,"props":1062,"children":1063},{"style":120},[1064],{"type":54,"value":330},{"type":48,"tag":57,"props":1066,"children":1067},{},[1068,1070,1076,1078,1084,1085,1091,1092,1098,1099,1105,1106,1112,1113,1119],{"type":54,"value":1069},"Scans Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose, and ",{"type":48,"tag":63,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":54,"value":1075},".\u002Fmcp.json",{"type":54,"value":1077},". Sources: ",{"type":48,"tag":63,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":54,"value":1083},"claude-desktop",{"type":54,"value":846},{"type":48,"tag":63,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":54,"value":1090},"claude-code",{"type":54,"value":846},{"type":48,"tag":63,"props":1093,"children":1095},{"className":1094},[],[1096],{"type":54,"value":1097},"cursor",{"type":54,"value":846},{"type":48,"tag":63,"props":1100,"children":1102},{"className":1101},[],[1103],{"type":54,"value":1104},"gemini",{"type":54,"value":846},{"type":48,"tag":63,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":54,"value":1111},"goose",{"type":54,"value":846},{"type":48,"tag":63,"props":1114,"children":1116},{"className":1115},[],[1117],{"type":54,"value":1118},"project",{"type":54,"value":1120},".",{"type":48,"tag":80,"props":1122,"children":1124},{"id":1123},"workflow-pattern",[1125],{"type":54,"value":1126},"Workflow Pattern",{"type":48,"tag":57,"props":1128,"children":1129},{},[1130],{"type":54,"value":1131},"Discover tools first, then call them:",{"type":48,"tag":87,"props":1133,"children":1135},{"className":89,"code":1134,"language":91,"meta":92,"style":92},"# 1. See what servers are configured\nfastmcp discover\n\n# 2. See what tools a server has\nfastmcp list weather\n\n# 3. Call a tool\nfastmcp call weather get_forecast city=London\n",[1136],{"type":48,"tag":63,"props":1137,"children":1138},{"__ignoreMap":92},[1139,1147,1158,1165,1173,1189,1196,1204],{"type":48,"tag":98,"props":1140,"children":1141},{"class":100,"line":101},[1142],{"type":48,"tag":98,"props":1143,"children":1144},{"style":105},[1145],{"type":54,"value":1146},"# 1. See what servers are configured\n",{"type":48,"tag":98,"props":1148,"children":1149},{"class":100,"line":111},[1150,1154],{"type":48,"tag":98,"props":1151,"children":1152},{"style":115},[1153],{"type":54,"value":30},{"type":48,"tag":98,"props":1155,"children":1156},{"style":120},[1157],{"type":54,"value":997},{"type":48,"tag":98,"props":1159,"children":1160},{"class":100,"line":131},[1161],{"type":48,"tag":98,"props":1162,"children":1163},{"emptyLinePlaceholder":135},[1164],{"type":54,"value":138},{"type":48,"tag":98,"props":1166,"children":1167},{"class":100,"line":141},[1168],{"type":48,"tag":98,"props":1169,"children":1170},{"style":105},[1171],{"type":54,"value":1172},"# 2. See what tools a server has\n",{"type":48,"tag":98,"props":1174,"children":1175},{"class":100,"line":150},[1176,1180,1184],{"type":48,"tag":98,"props":1177,"children":1178},{"style":115},[1179],{"type":54,"value":30},{"type":48,"tag":98,"props":1181,"children":1182},{"style":120},[1183],{"type":54,"value":123},{"type":48,"tag":98,"props":1185,"children":1186},{"style":120},[1187],{"type":54,"value":1188}," weather\n",{"type":48,"tag":98,"props":1190,"children":1191},{"class":100,"line":167},[1192],{"type":48,"tag":98,"props":1193,"children":1194},{"emptyLinePlaceholder":135},[1195],{"type":54,"value":138},{"type":48,"tag":98,"props":1197,"children":1198},{"class":100,"line":175},[1199],{"type":48,"tag":98,"props":1200,"children":1201},{"style":105},[1202],{"type":54,"value":1203},"# 3. Call a tool\n",{"type":48,"tag":98,"props":1205,"children":1206},{"class":100,"line":184},[1207,1211,1215,1220,1225],{"type":48,"tag":98,"props":1208,"children":1209},{"style":115},[1210],{"type":54,"value":30},{"type":48,"tag":98,"props":1212,"children":1213},{"style":120},[1214],{"type":54,"value":435},{"type":48,"tag":98,"props":1216,"children":1217},{"style":120},[1218],{"type":54,"value":1219}," weather",{"type":48,"tag":98,"props":1221,"children":1222},{"style":120},[1223],{"type":54,"value":1224}," get_forecast",{"type":48,"tag":98,"props":1226,"children":1227},{"style":120},[1228],{"type":54,"value":1229}," city=London\n",{"type":48,"tag":57,"props":1231,"children":1232},{},[1233],{"type":54,"value":1234},"If you call a nonexistent tool, FastMCP suggests close matches.",{"type":48,"tag":1236,"props":1237,"children":1238},"style",{},[1239],{"type":54,"value":1240},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1242,"total":101},[1243],{"slug":4,"name":4,"fn":5,"description":6,"org":1244,"tags":1245,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1246,1247,1248],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},{"items":1250,"total":101},[1251],{"slug":4,"name":4,"fn":5,"description":6,"org":1252,"tags":1253,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1254,1255,1256],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16}]