fastmcp-space / README.md
Fancellu's picture
Better README
0d211dc
---
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.