fastmcp-tool
A command line tool for interacting with MCP (Model Context Protocol) servers.
Installation
pip install fastmcp-tool
Or with uv:
uv pip install fastmcp-tool
Usage
Connecting to a Server
Use the --server option to specify an MCP server. This can be either:
- An HTTP/HTTPS URL for streamable HTTP transport
- A shell command for stdio transport
# HTTP server
fastmcp-tool --server https://mcp.example.com/sse <command>
# Stdio server (runs command via bash)
fastmcp-tool --server "python my_mcp_server.py" <command>
Commands
List Tools
List all available tools on the MCP server:
fastmcp-tool --server https://mcp.example.com/sse tools
Call a Tool
Call a specific tool with optional JSON parameters:
# Pass parameters as a JSON string
fastmcp-tool --server https://mcp.example.com/sse call my_tool --params '{"key": "value"}'
# Or read parameters from a JSON file
fastmcp-tool --server https://mcp.example.com/sse call my_tool --params-file params.json
The --params and --params-file options are mutually exclusive.
List Resources
List all available resources:
fastmcp-tool --server https://mcp.example.com/sse resources
List Prompts
List all available prompts:
fastmcp-tool --server https://mcp.example.com/sse prompts
Options
| Option | Description |
|---|---|
--server |
MCP server URL or stdio command |
--debug |
Enable debug logging |
--bearer-token |
Bearer token for HTTP server authentication |
--help |
Show help message |
Call Options
| Option | Description |
|---|---|
--params |
JSON string of parameters to pass to the tool |
--params-file |
Path to a JSON file containing parameters |
Examples
# List tools from a local stdio server
fastmcp-tool --server "uv run my_server.py" tools
# Call a tool with parameters
fastmcp-tool --server https://api.example.com/mcp call search --params '{"query": "hello"}'
# Call a tool with parameters from a file
fastmcp-tool --server https://api.example.com/mcp call search --params-file search_params.json
# List resources with debug output
fastmcp-tool --server "python server.py" --debug resources
License
Apache License 2.0 - see LICENSE for details.
Metadata
Release files for fastmcp-tool 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastmcp_tool-0.1.3.tar.gz | 73.7 kB | With provenance | Details for fastmcp_tool-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastmcp_tool-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for fastmcp_tool-0.1.3-py3-none-any.whl |
Total release size: 81.8 kB
Release files / fastmcp_tool-0.1.3.tar.gz
| Download URL | fastmcp_tool-0.1.3.tar.gz |
|---|---|
| Size | 73.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62be1ac07dd326a5f69c6cb986383f62efff4f6a4c8e1bd2e8ceffdb94c37d2b
|
|
BLAKE2b-256 checksum How to use checksums |
cf9441fe88f3fa373d361a034a30cc21b5c6ab55f9697b9f7134aeda61b88ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 10, 2026.
Transparency logRelease files / fastmcp_tool-0.1.3-py3-none-any.whl
| Download URL | fastmcp_tool-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9458ae9b2abc07d37d91103f22fc6ac0781d2367282accb23c516f15bd83f76e
|
|
BLAKE2b-256 checksum How to use checksums |
7190b97d7ee404108b0fca644a848cd786bd44d2b526f7fd7d29870197c9f18c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 10, 2026.
Transparency logSecurity for fastmcp-tool 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for fastmcp_tool-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.