mcp-client-patterns

Official

MCP client patterns: connect, call tools.

Authoraussierobots
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pattern for Turul MCP clients that unifies connect, tool invocation, and task workflow across MCP versions. This guide explains how to auto-detect transports, manage sessions, call tools, and handle long-running tasks with the Turul MCP client.

Core Features & Use Cases

  • Auto-detect and select HttpTransport or SseTransport based on server capabilities and MCP version.
  • Unified client API: connect, list_tools, call_tool, call_tool_with_task, list_resources, read_resource, list_prompts, ping, and disconnect.
  • Task workflow support with TaskCreated and handling of long-running operations alongside robust error handling.

Quick Start

Create an MCP client with McpClientBuilder, connect, perform a tool call, and then disconnect.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mcp-client-patterns
Download link: https://github.com/aussierobots/turul-mcp-framework/archive/main.zip#mcp-client-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.