Spaces:
Running
Running
File size: 1,095 Bytes
ff72ec6 0d211dc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
---
title: FastMCP-Space
sdk: docker
app_port: 7860
pinned: true
emoji: π
colorFrom: yellow
colorTo: green
short_description: Example fastmcp server as a Space
---
## FastMCP-Space
### Simple FastMCP demo on a Hugging Face Space
This demonstrates how to deploy a [FastMCP](https://github.com/jlowin/fastmcp) server on Hugging Face Spaces without using Gradio.
#### Live Endpoints
- **MCP Server**: https://fancellu-fastmcp-space.hf.space/mcp
- **Health Check**: https://fancellu-fastmcp-space.hf.space/health
- **Root**: https://fancellu-fastmcp-space.hf.space/
#### Available Tools
- `add(a: int, b: int)` - Adds two numbers together
#### Available Resources
- `resource://greeting` - Returns a simple greeting message
#### Key Features
- Pure FastMCP server (no Gradio dependency)
- Docker-based deployment
- HTTP transport with MCP protocol
- Custom health check endpoint
- Demonstrates MCP tools and resources
#### Usage
Connect any MCP-compatible client to the `/mcp` endpoint to interact with the available tools and resources.
|