Skip to main content

Command line tool for interacting with MCP servers

Project description

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:

fastmcp-tool --server https://mcp.example.com/sse call my_tool --params '{"key": "value"}'

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
--help Show help message

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"}'

# List resources with debug output
fastmcp-tool --server "python server.py" --debug resources

License

Apache License 2.0 - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastmcp_tool-0.1.2.tar.gz (72.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastmcp_tool-0.1.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file fastmcp_tool-0.1.2.tar.gz.

File metadata

  • Download URL: fastmcp_tool-0.1.2.tar.gz
  • Upload date:
  • Size: 72.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastmcp_tool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 113794c8b3198316b8dd481e254b3087f9fb5f9d1f01ab9f5cd6309fc3edf90d
MD5 ee106ebf6d9fee2d6ccc4c00df5def26
BLAKE2b-256 2f7b5fc5eab67d8b829496fa3e823a669168098b72718e015d78efa29a6db947

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_tool-0.1.2.tar.gz:

Publisher: publish.yml on jonpspri/fastmcp-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastmcp_tool-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fastmcp_tool-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastmcp_tool-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4588ed3b11221a4d075ce02bd7a068b948462a337b0463724842e35e174815bc
MD5 26df2e35fc14b1a739c428513c33607c
BLAKE2b-256 1e2d53b5e71ff43c7baa1cdb06c5c4033807f610b0d3a9531695978e0f8058a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_tool-0.1.2-py3-none-any.whl:

Publisher: publish.yml on jonpspri/fastmcp-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page