Test MCP Server
Click on "Install 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., "@Test MCP Servergive me a programming joke"
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.
Test MCP Server
A sample MCP (Model Context Protocol) server with three tools that fetch data from public APIs.
Features
This server provides three tools:
get_quote: Fetches random inspirational quotes
get_joke: Fetches random programming jokes
get_advice: Fetches random advice
Installation
Clone this repository or download the files
Install dependencies:
pip install -r requirements.txtOr using the package:
pip install -e .Usage
With Claude Desktop
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"test-mcp-server": {
"command": "python",
"args": ["/absolute/path/to/test-mcp/src/test_mcp_server.py"]
}
}
}Replace /absolute/path/to/test-mcp/ with the actual path to this directory.
Running Standalone
You can also run the server directly:
python src/test_mcp_server.pyThe server communicates via stdio and follows the MCP protocol.
Requirements
Python 3.10+
mcp >= 1.0.0
aiohttp >= 3.9.0
Development
To modify or extend this server:
Edit
src/test_mcp_server.pyAdd new tools in the
list_tools()functionImplement tool handlers in the
call_tool()function
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pkj-m/test-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server