Problem/Motivation

When you are trying to setup a server or stdio, you might want to see that the connection/setup actually works, before you save it.

We should add a button that can test this.

Proposed resolution

Add a button that tests the connection/setup.

Issue fork mcp_client-3557647

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marcus_johansson created an issue. See original summary.

harivansh made their first commit to this issue’s fork.

harivansh’s picture

Status: Active » Needs review
harivansh’s picture

StatusFileSize
new239.98 KB

Form screen shot

robertoperuzzo’s picture

StatusFileSize
new94.93 KB

Thank you, @harivansh, for that! It works properly using Streamable HTTP transport, but not for STDIO.
I made a small change to your Ajax callback here because it didn't get the correct transport value, and I get this error message
error msg

harivansh’s picture

@robertoperuzzo thank you for the feedback, I will work on your suggestion.

robertoperuzzo’s picture

Status: Needs review » Needs work
marcus_johansson’s picture

Issue tags: +priority
robertoperuzzo’s picture

Status: Needs work » Needs review
robertoperuzzo’s picture

I tested, and it works properly. I will merge this issue as it is useful to work on #3557648: Create Get/Update Tools Button.

robertoperuzzo’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.