Test MCP Server
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., "@Test MCP ServerCheck the MCP server health and greet Sam."
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
My first Model Context Protocol (MCP) server, built with FastMCP and Python. It exposes simple tools that can be used from Claude Desktop.
Available Tools
Tool | Description | Example request |
| Returns the server status and current UTC time. | "Check the MCP server health." |
| Greets a person by name. | "Ask the MCP server to greet Pritam." |
| Adds two numbers. | "Use the MCP server to add 12 and 30." |
| Returns a message unchanged. | "Echo this message using the MCP server." |
Related MCP server: Claude MCP Custom Tools Server
Requirements
Python 3.13 or newer
Claude Desktop
Run Locally
Open PowerShell in the project directory and start the server:
uv run test-mcpThe server runs locally over HTTP at:
http://127.0.0.1:8000/mcpConnect to Claude Desktop
Open the Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.jsonAdd the following inside the top-level mcpServers object. Replace the path with the absolute path to this repository on your computer:
{
"mcpServers": {
"test-mcp": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\prita\\OneDrive\\Desktop\\Agentic AI using LangGraph\\Test_mcp",
"run",
"test-mcp"
]
}
}
}Save the file and restart Claude Desktop. Then try:
Check the health of the test-mcp server.Claude should discover the four tools listed above.
Deployed Server
The server is also deployed with FastMCP Horizon:
https://crooked-indigo-leopard.fastmcp.app/mcpThis endpoint requires authentication. Use the authentication method provided by Horizon when connecting to the deployed server. Never commit deployment credentials, access tokens, or secrets to this repository.
Project Layout
Test_mcp/
├── main.py # Horizon deployment entrypoint
├── pyproject.toml # Project metadata and dependencies
├── uv.lock # Locked dependency versions
└── src/
└── test_mcp/
├── __init__.py
└── main.py # FastMCP server and toolsDevelopment Checks
Compile the entrypoints:
uv run python -m py_compile .\main.py .\src\test_mcp\main.pyBuild the package:
uv buildThis server cannot be deployed
Maintenance
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
One workspace of tools for Claude and ChatGPT: connect 600+ apps, generate media, build tools.
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to perform file operations, retrieve system information, run calculations, and generate timestamps on the local system.-
- FlicenseNot gradedqualityDmaintenanceProvides Claude Desktop with custom tools for math, web search (DuckDuckGo), Wikipedia, ArXiv, and simulated Airbnb searches via MCP.-
- AlicenseNot gradedqualityDmaintenanceA local MCP server that connects Claude Desktop to execute custom local code, such as generating custom greetings.5 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables Claude to control the local desktop via screenshot, mouse, keyboard, and clipboard operations.MIT