Feedback

Basic information

Repository
jlowin
Skill
fastmcp-client-cli

About fastmcp-client-cli

Write and evaluate effective Python tests using pytest. Use when writing tests, reviewing test code, debugging test failures, or improving test coverage. Covers test design, fixtures, parameterization, mocking, and async testing.

fastmcp-client-cli is an agent skill listed in the AddMCP.net directory, published by jlowin. Runtime: Python. License: Apache-2.0. The repository has 28,222 GitHub stars. Source code is hosted on github.com. Related topics: agents, fastmcp, llms, mcp, mcp-clients.

Overview

What is fastmcp-client-cli?


name: fastmcp-client-cli description: 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.


FastMCP CLI: List and Call

Use fastmcp list and fastmcp call to interact with any MCP server from the command line.

fastmcp-client-cli tools

# 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 --json

Type coercion is automatic: limit=5 becomes an integer, verbose=true becomes a boolean, based on the tool's input schema.

Server Targets

All commands accept the same server targets:

| Target | Example | |--------|---------| | HTTP/HTTPS URL | http://localhost:8000/mcp | | Python file | server.py | | MCPConfig JSON | mcp.json (must have mcpServers key) | | Stdio command | --command 'npx -y @mcp/server' | | Discovered name | weather or source:name |

Servers 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.

For SSE servers, pass --transport sse:

fastmcp list http://localhost:8000/mcp --transport sse

Auth

HTTP targets automatically use OAuth (no-ops if the server doesn't require auth). Disable with --auth none:

fastmcp call http://server/mcp tool --auth none

Discovering Configured Servers

# See all MCP servers in editor/project configs
fastmcp discover

# Filter by source
fastmcp discover --source claude-code

# JSON output
fastmcp discover --json

Scans Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose, and ./mcp.json. Sources: claude-desktop, claude-code, cursor, gemini, goose, project.

Workflow Pattern

Discover tools first, then call them:

# 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

If you call a nonexistent tool, FastMCP suggests close matches.

Videos

Tutorials, guides, and showcases related to fastmcp-client-cli. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬