Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Extract McpAsyncClient and McpSyncClient as an interface

Open
#680 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by searching the Java SDK for McpAsyncClient and McpSyncClient and reviewing existing GitHub issues for overlapping requests. Determine the client behavior that must be exposed consistently for SDK and third-party implementations; done means both clients have a stable interface design that supports customization without source changes and preserves their relevant functionality.

Written by the indexing model from the issue text.

Description

enhancement v2

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.

Expected Behavior

McpAsyncClient and McpSyncClient a interfaces

Current Behavior

classes

Context

We are implementing a relatively complex client to support long-running tool calls and machine restarts. However, the current client implementation makes it difficult to customize without modifying the source code.

We hope to introduce an interface that, while providing the relevant functionality, also provides consistent behavior from the Java SDK to second- and third-party clients.

Dominant language
Java
Stars
3.7k
Forks
1.1k
Avg merge
1d 15h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/java-sdk

All issues in modelcontextprotocol/java-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.