Loading...
Loading...
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.
npx skill4agent add jlowin/fastmcp fastmcp-client-clifastmcp listfastmcp call# Remote server
fastmcp list http://localhost:8000/mcp
# Local Python file (runs via fastmcp run automatically)
fastmcp list server.py
# MCPConfig with multiple servers
fastmcp list mcp.json
# Stdio command (npx, uvx, etc.)
fastmcp list --command 'npx -y @modelcontextprotocol/server-github'
# Include full input/output schemas
fastmcp list server.py --input-schema --output-schema
# Machine-readable JSON
fastmcp list server.py --json
# Include resources and prompts
fastmcp list server.py --resources --prompts--input-schema--output-schema--json# Key=value arguments (auto-coerced to correct types)
fastmcp call server.py greet name=World
fastmcp call server.py add a=3 b=4
# Single JSON object for complex/nested args
fastmcp call server.py create_item '{"name": "Widget", "tags": ["a", "b"]}'
# --input-json with key=value overrides
fastmcp call server.py search --input-json '{"query": "hello", "limit": 5}' limit=10
# JSON output for scripting
fastmcp call server.py add a=3 b=4 --jsonlimit=5verbose=true| Target | Example |
|---|---|
| HTTP/HTTPS URL | |
| Python file | |
| MCPConfig JSON | |
| Stdio command | |
| Discovered name | |
mcp.jsonsource:nameclaude-code:my-servercursor:weatherfastmcp discover--transport ssefastmcp list http://localhost:8000/mcp --transport sse--auth nonefastmcp call http://server/mcp tool --auth none# See all MCP servers in editor/project configs
fastmcp discover
# Filter by source
fastmcp discover --source claude-code
# JSON output
fastmcp discover --json./mcp.jsonclaude-desktopclaude-codecursorgeminigooseproject# 1. See what servers are configured
fastmcp discover
# 2. See what tools a server has
fastmcp list weather
# 3. Call a tool
fastmcp call weather get_forecast city=London