MCP Restaurant Ordering API Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Restaurant Ordering API Serverplace an order for a pepperoni pizza"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ฝ๏ธ MCP Restaurant Ordering API Server
Welcome to the MCP-compatible Restaurant API built with Django + Django REST Framework.
Simulate customer orders from a dummy restaurant menu and track their status in real-time . Ideal for integration with any MCP server.
๐ง Why MCP Server?
We call this an MCP server because it follows the Model-Context-Protocol pattern:
Model โ The
Ordermodel defines the data structure (items, status, time).Context โ Recent queries like
/recent/?hours=2give contextual insights (e.g., last 2 hours).Protocol โ RESTful APIs define a structured communication protocol.
Think of it like a food court AI assistant:
๐ Model = What's on the menu
โฐ Context = What's trending now
๐ก Protocol = How it communicates with you (API)
This makes it ideal for plugging into larger AI/automation pipelines where structured data, temporal context, and clean APIs matter.
Related MCP server: FoodDash
๐ Project Directory
โโโ mcp_server/
โ โโโ requirements.txt
โ โโโ db.sqlite3
โ โโโ README.md
โ โโโ .env
โ โโโ manage.py
โ โโโ orders/
โ โ โโโ models.py
โ โ โโโ serializers.py
โ โ โโโ apps.py
โ โ โโโ admin.py
โ โ โโโ tests.py
โ โ โโโ urls.py
โ โ โโโ views.py
โ โโโ mcp_server/
โ โ โโโ asgi.py
โ โ โโโ settings.py
โ โ โโโ urls.py
โ โ โโโ wsgi.py๐ Quickstart
# 1. Clone the repo
git clone https://github.com/sachnaror/restaurant-mcp-server.git
cd restaurant-mcp-server
# 2. Setup environment
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# 3. Add secrets to `.env`
echo "SECRET_KEY=your_django_secret_key" > .env
echo "DEBUG=True" >> .env
# 4. Run DB & server
python manage.py migrate
python manage.py runserver
๐งช Example Usage (cURL)
# Create a new order
curl -X POST http://localhost:8000/api/orders/ \
-H "Content-Type: application/json" \
-d '{"item_name": "Biryani", "status": "success"}'
# Get recent orders in last 2 hours
curl http://localhost:8000/api/orders/recent/?hours=2
๐ API Endpoints
Base URL: http://localhost:8000/api/
Method | Endpoint | Description | Sample Payload |
|
| ๐ Place a new order |
|
|
| ๐ List all orders | โ |
|
| ๐ Get single order by ID | โ |
|
| โ๏ธ Update an order |
|
|
| ๐๏ธ Delete an order | โ |
|
| โฑ๏ธ Get orders from last 2 hours | โ |
๐ง Tech Stack
๐ Python 3.11+
๐งฑ Django 5.x
๐ Django REST Framework
๐ SQLite (Dev DB)
๐ฆ python-dotenv
๐ Roadmap (Ideas)
๐ Token-based user authentication (optional)
๐ Dashboard for order analytics
๐ฅ Webhook or async order processing simulation
๐ง OpenAI GPT integration for dynamic menu or chat
๐ธ Screenshots
๐ฉ Contact
Name | Details |
๐จโ๐ป Developer | Sachin Arora |
๐ง Email | |
๐ Location | Noida, India |
๐ GitHub | |
๐ Website | |
๐ฑ Phone |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sachnaror/mcp-restaurant-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server