FastMCP Client

The FastMCP Client is a Python client library for talking to any MCP server — local or remote — with full protocol coverage. It supports calling tools, reading resources, getting prompts, declaring roots, monitoring progress, server logging, notifications, user elicitation, LLM sampling, and background tasks across stdio, Streamable HTTP, and SSE transports. Authentication is built in via Bearer tokens, OAuth, and CIMD. A standalone `fastmcp-client` package is available when only the client is needed.

FastMCP Client is one of 6 APIs that FastMCP publishes on the APIs.io network.

Tagged areas include MCP, Client, Python, and Library. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: fastmcp:fastmcp-client
name: FastMCP Client
description: The FastMCP Client is a Python client library for talking to any MCP server — local or remote
  — with full protocol coverage. It supports calling tools, reading resources, getting prompts, declaring
  roots, monitoring progress, server logging, notifications, user elicitation, LLM sampling, and background
  tasks across stdio, Streamable HTTP, and SSE transports. Authentication is built in via Bearer tokens,
  OAuth, and CIMD. A standalone `fastmcp-client` package is available when only the client is needed.
humanURL: https://gofastmcp.com/clients/client
baseURL: ''
tags:
- MCP
- Client
- Python
- Library
properties:
- type: Documentation
  url: https://gofastmcp.com/clients/client
- type: Documentation
  name: Calling Tools
  url: https://gofastmcp.com/clients/tools
- type: Documentation
  name: Reading Resources
  url: https://gofastmcp.com/clients/resources
- type: Documentation
  name: Getting Prompts
  url: https://gofastmcp.com/clients/prompts
- type: Documentation
  name: Client Transports
  url: https://gofastmcp.com/clients/transports
- type: Documentation
  name: Bearer Token Authentication
  url: https://gofastmcp.com/clients/auth/bearer
- type: Documentation
  name: OAuth Authentication
  url: https://gofastmcp.com/clients/auth/oauth
- type: Documentation
  name: CIMD Authentication
  url: https://gofastmcp.com/clients/auth/cimd
- type: Documentation
  name: LLM Sampling
  url: https://gofastmcp.com/clients/sampling
- type: Documentation
  name: User Elicitation
  url: https://gofastmcp.com/clients/elicitation
- type: Documentation
  name: Client-Only Package
  url: https://gofastmcp.com/clients/client-only-package