Skip to main content
Glama
rudushi4

FastMCP Demo Server

by rudushi4

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)

Related MCP server: Python MCP Server

How it Works

main.py defines the MCP application:

  • mcp = FastMCP("Demo") creates a server instance at import time so Wasmer can load main: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

python -m venv .venv
source .venv/bin/activate
pip install mcp
python main.py

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)

  1. Ensure main.py exports the mcp instance (entrypoint main:mcp).

  2. Deploy to Wasmer Edge.

  3. Connect your MCP-enabled client to https://<your-subdomain>.wasmer.app/sse.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    A demonstration MCP server that provides calculator tools for arithmetic operations, personalized greeting resources, and code review prompt templates. Enables users to perform basic math calculations, generate dynamic greetings, and access reusable code review templates through the Model Context Protocol.
    Last updated
  • F
    license
    D
    quality
    D
    maintenance
    A demonstration MCP server built with fastmcp that provides basic utility tools including number addition and greeting functionality. Integrates with Gemini CLI to enable natural language interaction with simple mathematical and greeting operations.
    Last updated
    2
  • F
    license
    -
    quality
    B
    maintenance
    A simple MCP server demonstrating resources, tools, and prompts, including a greeting resource, an addition tool, and a calculation prompt.
    Last updated

View all related MCP servers

Related MCP Connectors

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

Latest Blog Posts

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/rudushi4/mcp-chatgpt-starter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server