MCP Server & Client Test Environment
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server & Client Test Environmentrun a simple shell command to check system uptime"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server and Client Test Scenarios
This document outlines the steps to test the MCP server setup and client-server interaction.
Scenario 1: Test MCP Server Setup
This scenario verifies the basic functionality of the MCP server.
File:
src/servers/server.pyRun Command:
mcp dev src/servers/server.pyAfter running the command, the MCP inspector will open in your web browser. Use the inspector to verify that the server is running correctly.
Example Inspector URL:
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=def336fb32f8f2b8f6be1f497ebd3c49cc0e2a9b9f0b3335ee6ae3e0db92f9ad
Related MCP server: mcp-server-test
Scenario 2: Test Client-Server Interaction
This scenario tests the interaction between a client and a server that can execute shell commands. The server2.py script will run any shell command passed to the client during interaction.
Client Script:
src/clients/client.pyServer Script:
src/servers/server2.pyRun Command:
python src/clients/client.py src/servers/server2.py
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for deep research or task groups
Security research canary remote MCP server for owned-account testing.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA test server implementing all features of the MCP protocol, including prompts, tools, resources, and sampling, designed for testing MCP clients rather than practical applications.MIT
- -
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP test server for verifying client connectivity, providing tools, resources, and prompts for integration.4 npmISC
- FlicenseNot gradedqualityDmaintenanceA testing server for MCP client implementations that provides tools for echoing data, error handling, timing operations, data generation, LLM sampling, and user elicitations.-