modelcontextprotocol / modelcontextprotocol/kotlin-sdk

Provide easy way to create testing client from server

Open
#303 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement P3 tests
Dominant language
Kotlin
Stars
1.5k
Forks
248
Avg merge
1d 20h
Merged PRs (30d)
23

Description

Is your feature request related to a problem? Please describe.

It's difficult to test a server ATM since creating a client for it is not straightforward - you probably need to implement your own transport to link them.

Describe the solution you'd like

A straightforward way to create a client from a server for testing. Could be in a dedicated testing artifact.

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.

Research direction

Start by reading the existing server, client, and transport entry points to understand how they are currently connected and why a custom transport is needed. Define a testing artifact or API that creates a client from a server, then verify that a server can be exercised without implementing a separate transport.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.