Skip to main content
Glama
dganesh5

Mock MCP Apps Server

by dganesh5

Mock MCP Apps Server

A local, no-auth FastAPI + FastMCP server exposing MCP over Streamable HTTP at POST /v1/mcp, with a React 18 + Vite widget frontend built on @modelcontextprotocol/ext-apps.

Two mocked tools:

  • get_weather_forecast — returns a mocked 5-day forecast and renders an interactive widget.

  • list_supported_cities — plain text list of mocked cities (no widget).

No auth of any kind. Intended for local development and testing against MCP hosts (ChatGPT dev mode, Claude, MCP Inspector) via a tunnel like ngrok.

Quickstart

poetry install
cd app/web && npm install && npm run build && cd ../..
./start_mcp.sh

This starts:

Port

What

8000

FastAPI + MCP (/v1/mcp, /health, /apidoc/swagger)

4444

Static widget assets (CORS-enabled)

To expose it to a remote MCP host:

ngrok http 8000

Then add https://<your-ngrok-domain>/v1/mcp as a custom connector in the host.

Related MCP server: weather mcp

Smoke test

curl -s http://localhost:8000/health

curl -s -X POST http://localhost:8000/v1/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

See docs/MOCK_MCP_APP_RECREATION_GUIDE.md for the full spec this project implements.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.
    23
  • F
    license
    Not graded
    quality
    D
    maintenance
    A lightweight Model Context Protocol (MCP) server that gives AI assistants the ability to fetch real-time weather data for any city using the OpenWeatherMap API.
    1
  • A
    license
    Not graded
    quality
    C
    maintenance
    A no-API-key-required MCP server that wraps Open-Meteo APIs to provide geocoding and weather forecast data, enabling city lookups and multi-day forecasts through tools, resources, and prompts.
    MIT

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/dganesh5/weather-mcp'

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