FastMCP Example
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., "@FastMCP Exampleecho hello world"
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.
FastMCP Example
A minimal Python FastMCP-style server with a single tool endpoint and Playwright Page Object Model (POM) tests.
Project structure
fastmcp/- package implementing the FastMCP server and tool registryfastmcp/tools/- individual tool implementationstests/- unit tests, browser tests, and BDD scenariostests/pages/- Playwright page object classestests/features/- BDD feature filestests/steps/- BDD step definitionstests/utils/- shared browser and server helpersfastmcp/tools/external_api_tool.py- example business intelligence tool using an external API
Related MCP server: qa-ai-mcp-server-gits
Setup
Install Python 3.10+ and ensure it is on your PATH.
Install the Allure CLI separately so you can view test reports.
From the project root:
python -m pip install --upgrade pip
python -m pip install -e .[dev]
python -m playwright install chromiumRun the server
python server.pyOpen http://127.0.0.1:8000 to verify the serve running.
FastMCP endpoints
GET /- server statusGET /tools- registered tool metadataPOST /tool/{tool_name}- invoke a tool
The new external_api tool can be called at /tool/external_api and returns a simple business intelligence summary from a public API.
Example request:
curl -X POST http://127.0.0.1:8000/tool/echo \
-H "Content-Type: application/json" \
-d '{"prompt":"hello"}'Tests
Run the existing pytest suite:
pytestGenerate Allure results:
pytest --alluredir=allure-resultsView the report locally after installing the Allure CLI:
allure serve allure-resultsOr generate a static HTML report:
allure generate allure-results --clean -o allure-report
allure open allure-reportPage Object Model
The browser tests use a dedicated POM class at tests/pages/root_page.py.
That keeps UI interactions separate from test assertions and makes the suite easier to extend.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Experimental MCP server for current empirical verification of explicit public HTTPS endpoint claims.
Related MCP Servers
- AlicenseBqualityCmaintenanceA production-ready MCP server that exposes Selenium 4 browser automation as MCP tools.27MIT
- AlicenseBqualityDmaintenanceMCP server for end-to-end QA automation: generates test scenarios, discovers Playwright locators, creates TypeScript test code, executes tests, and creates GitHub issues for failures.611 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides structured control of a Playwright browser for QA, scraping, diagnostics, and reproducible browser workflows.4,799 npmMIT
- FlicenseNot gradedqualityBmaintenanceMinimal MCP server for testing GitHub PR checks pipeline, with deterministic tools echo, add, and server_info.-