Enables deployment and running of FastMCP servers on Wasmer Edge, providing a platform for hosting MCP applications with Streamable HTTP transport.
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 Demo Serveradd 15 and 27"
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 Demo Server + Wasmer
This example shows how to run a Model Context Protocol (MCP) server built with FastMCP on Wasmer Edge.
Demo
https://<your-subdomain>.wasmer.app/ (attach /sse when testing from an MCP-compatible client)
How it Works
main.py defines the MCP application:
mcp = FastMCP("Demo")creates a server instance at import time so Wasmer can loadmain:mcp.Three capabilities are registered:
add(a, b)– a simple tool that sums two integers.greeting://{name}– a dynamic resource that returns a personalised greeting.greet_user(name, style)– a prompt template that chooses wording based on the requested style.
When run as a script,
mcp.run(transport="streamable-http")starts the server using the Streamable HTTP transport expected by Wasmer Edge.
Use these patterns to add your own tools, resources, or prompts before deploying.
Running Locally
The server listens for MCP clients on the default port and transport (Streamable HTTP). Point your MCP client (e.g., ChatGPT or Claude Desktop) to the local endpoint.
Deploying to Wasmer (Overview)
Ensure
main.pyexports themcpinstance (entrypointmain:mcp).Deploy to Wasmer Edge.
Connect your MCP-enabled client to
https://<your-subdomain>.wasmer.app/sse.