FastMCP Example
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., "@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: wopee-mcp
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mehulbhattml-ui/MCPlaywright'
If you have feedback or need assistance with the MCP directory API, please join our Discord server