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 Server show me the deployment status on FastMCP Cloud"
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 simple MCP (Model Context Protocol) server project demonstrating both local and remote MCP server setups using FastMCP, LangChain, and uv.
Requirements
Python 3.9+
pipuv
Related MCP server: MCP Server Example
First-Time Setup
1. Install uv
pip install uv2. Navigate to the project directory
cd test_mcp_server3. Initialize the project with uv
uv init .4. Add FastMCP
uv add fastmcpLocal MCP Server Setup
1. Create the local server file
Create a file named:
local_server.pyThis file contains your MCP server implementation.
2. Add required dependencies
uv add langchain langchain-openai langchain_mcp_adapters3. Create the client
Create a client file:
client.py4. Run the local server using STDIO
The local MCP server communicates via STDIO.
Run the client:
uv run client.pyRemote MCP Server Setup
1. Create MCP tools
Define your MCP tools for the remote server
Ensure they are compatible with FastMCP Cloud
2. Deploy to FastMCP Cloud
Deploy the server to FastMCP Cloud
Obtain the remote server configuration
3. Update configuration
Add the remote MCP server configuration to your config file
Replace the local STDIO setup with the remote server endpoint
4. Run the client with the remote server
uv run client.pyNotes
Local server uses STDIO for communication
Remote server runs on FastMCP Cloud
uvhandles dependency management and executionSame client can be used for both local and remote servers by changing configuration
Remote MCP Server Deployment (FastMCP Cloud)
GitHub Access
GitHub repository access was granted to FastMCP Cloud
FastMCP Cloud pulls the source code directly from the repository
Deployment Steps
Created MCP tools for the remote server
Connected the GitHub repository to FastMCP Cloud
FastMCP Cloud executed the server using:
main.pyThe server was successfully deployed as a remote MCP server
Client Configuration
Updated the MCP configuration file to point to the remote FastMCP Cloud endpoint
Reused the same
client.pyfor both local and remote execution
Running the Client
uv run client.pyAvailable Tools
2 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: 'add' for addition and 'sub' for subtraction. With only two basic arithmetic operations, there is no ambiguity or overlap in functionality.
Both tool names follow a consistent pattern: short, lowercase verbs representing mathematical operations. There are no deviations in style or convention across the set.
With only two tools, the server feels thin and under-scoped for a general-purpose 'Test MCP Server'. This minimal set lacks coverage for even basic arithmetic operations like multiplication or division, making it inadequate for typical testing or utility purposes.
The tool surface is severely incomplete for a test server domain. It only covers addition and subtraction, missing fundamental operations like multiplication, division, and other common functions, which will cause agent failures in most testing scenarios.
Maintenance
Related MCP Connectors
A simple MCP server built with FastMCP and python
Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…
MCP server for developers documentation, generated by doc2mcp.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic example MCP server built with the FastMCP framework for demonstration and learning purposes. Provides a starting point for developers to understand MCP server implementation.-
- FlicenseBqualityDmaintenanceA simple example MCP server that demonstrates basic server functionality and can be easily run using uv package manager. Provides a minimal implementation for learning and development purposes.1-
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.-
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.-