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.1.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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastmcp_tool-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7df8604be4448fd02191a834e2efca7625b25427c83f6f7a455cde961ea27c5f
MD5 29dc24d7b6bf86073314a226ffe26ad3
BLAKE2b-256 68e1021e6f0b3c150c42a7fd9b623cd8d2e06a1bf09ffdce2d21b1287dc1d51d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_tool-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: fastmcp_tool-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17c6b31c9966fc3a06b247dd0f6c3bdf8c8a3c186c13f49552b974c8e00055c9
MD5 f52f83d0ca962537b108d68a9b8e5fea
BLAKE2b-256 0fdb116302ecba863787fbe3bd0483de2e1e9acde6a350b66d7f66c7213777e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_tool-0.1.1-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