Book4Time MCP Server
Enables interaction with the Book4Time API through an Azure Function-hosted server. It allows users to query product information and manage bookings using MCP-compatible clients like Claude Desktop.
README
Book4Time MCP Server — Azure Function App
File structure
mcp_azure/
├── function_app.py # Azure Function entry point + HTTP trigger
├── mcp_server.py # FastMCP server + product tool
├── requirements.txt # Python dependencies
├── host.json # Azure Functions host config
├── local.settings.json.template # Copy → local.settings.json for local dev
└── README.md
How it works
- MCP client (e.g. Claude Desktop) sends a JSON-RPC
POSTto your Azure Function URL. function_app.pycatches the request via themcp/{*path}HTTP trigger.- The request is forwarded into FastMCP's Streamable HTTP ASGI app.
- FastMCP routes it to the
producttool inmcp_server.py. - The tool calls the Book4Time API with your credentials from App Settings.
- The JSON response travels back up the chain to the MCP client.
Local development
# 1. Install dependencies
pip install -r requirements.txt
# 2. Configure secrets
cp local.settings.json.template local.settings.json
# Edit local.settings.json — fill in BOOK4TIME_API_TOKEN and BOOK4TIME_ACCOUNT_TOKEN
# 3. Start the Functions runtime
func start
The MCP endpoint will be at:
http://localhost:7071/api/mcp
Deploy to Azure
# 1. Create resource group and Function App (one-time)
az group create --name rg-book4time-mcp --location uksouth
az functionapp create \
--resource-group rg-book4time-mcp \
--consumption-plan-location uksouth \
--runtime python \
--runtime-version 3.11 \
--functions-version 4 \
--name <YOUR_APP_NAME> \
--storage-account <YOUR_STORAGE_ACCOUNT>
# 2. Set the API tokens as App Settings (not in code)
az functionapp config appsettings set \
--name <YOUR_APP_NAME> \
--resource-group rg-book4time-mcp \
--settings \
BOOK4TIME_API_TOKEN="your_real_api_token" \
BOOK4TIME_ACCOUNT_TOKEN="your_real_account_token"
# 3. Deploy the code
func azure functionapp publish <YOUR_APP_NAME>
The live MCP endpoint will be:
https://<YOUR_APP_NAME>.azurewebsites.net/api/mcp
Connect from Claude Desktop
In claude_desktop_config.json:
{
"mcpServers": {
"book4time": {
"url": "https://<YOUR_APP_NAME>.azurewebsites.net/api/mcp?code=<FUNCTION_KEY>"
}
}
}
Get your function key from the Azure Portal → Function App → App keys.
Adding more tools
Add new @mcp.tool() functions to mcp_server.py — they are automatically
discovered and registered. No changes needed in function_app.py.
@mcp.tool()
async def bookings(location_id: str = "11506000") -> dict:
"""Fetch bookings from Book4Time."""
...
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.