IIITH Mess MCP Server
Enables AI assistants to interact with the IIIT Hyderabad Mess Management System through natural language, allowing students to view menus, manage meal registrations, check bills, submit feedback, and configure preferences.
README
Mess MCP Server
An MCP (Model Context Protocol) server for the IIIT Mess Management System. This allows AI assistants like Claude to interact with the mess portal through natural language.
Features
- 🍽️ View Menus - Get menus for any date at all messes
- 📝 Manage Registrations - Register, cancel, or uncancel meals
- 💰 Check Bills - View your monthly mess bill with projections
- ⭐ Submit Feedback - Rate and review meals
- 🍕 Extra Items - View and register for extra items
- 📅 Monthly Plans - Manage monthly mess registrations
- ⚙️ Preferences - Control notification and meal settings
- 👤 Profile - View your user information
Prerequisites
- Node.js 18+ (Download from nodejs.org)
- Claude Desktop (Download from claude.ai/download)
- Mess Portal API Key (Get from mess.iiit.ac.in)
Installation
1. Clone and Install
git clone <your-repo-url>
cd mess-mcp
npm install
2. Get Your API Key
- Log into https://mess.iiit.ac.in
- Navigate to Settings → API Keys
- Click Create New Key
- Give it a name (e.g., "MCP Server") and set an expiry date
- Copy the key immediately (it's only shown once!)
3. Configure Environment
Copy the example environment file and add your API key:
cp .env.example .env
Edit .env and replace your-api-key-here with your actual API key:
MESS_API_KEY=your-actual-api-key-here
MESS_API_URL=https://mess.iiit.ac.in/api
4. Build the Project
npm run build
5. Configure Claude Desktop
Find your Claude Desktop config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the MCP server configuration:
{
"mcpServers": {
"mess": {
"command": "node",
"args": ["/absolute/path/to/mess-mcp/dist/index.js"],
"env": {
"MESS_API_KEY": "your-actual-api-key-here",
"MESS_API_URL": "https://mess.iiit.ac.in/api"
}
}
}
}
Important: Replace /absolute/path/to/mess-mcp with the actual path to your project.
Example paths:
- Windows:
"args": ["C:/Users/YourName/mess-mcp/dist/index.js"] - macOS/Linux:
"args": ["/home/yourname/mess-mcp/dist/index.js"]
6. Restart Claude Desktop
Close Claude Desktop completely (check system tray/menu bar) and reopen it. The MCP server will load automatically.
Usage
Once set up, you can interact with the mess system using natural language in Claude Desktop:
Example Conversations
View Today's Menu:
"What's for lunch today?" "Show me today's menu at Kadamba Veg"
Register for Meals:
"Register me for dinner tomorrow at Yuktahar" "Sign me up for breakfast on Friday at Palash"
Cancel/Manage Registrations:
"Cancel my breakfast for tomorrow" "Show my registrations for this week" "Uncancel my lunch on December 5th"
Check Bills:
"What's my mess bill this month?" "How much have I spent so far?"
View Capacities:
"Is there space at Kadamba for dinner tonight?" "Show me available spots for lunch tomorrow"
Submit Feedback:
"Rate today's lunch 4 stars with remark 'Good food'"
Manage Preferences:
"Turn off meal reminder notifications" "Enable unregistered meal access"
Available Tools
The MCP server exposes 30+ tools organized into categories:
🏢 Mess Information
- Get mess info, menus, rates, capacities, and timings
📝 Registrations
- View, create, cancel, and manage meal registrations
💰 Billing & Feedback
- Check bills, submit feedback, view ratings
🍕 Extra Items
- Browse and register for extra food items
📅 Monthly Plans
- Manage monthly mess subscriptions
⚙️ Configuration
- View/update preferences, check windows and limits
👤 User Profile
- View profile, reset QR token
Development
Project Structure
mess-mcp/
├── src/
│ ├── index.ts # Main MCP server entry point
│ ├── client.ts # HTTP client for Mess API
│ ├── types.ts # TypeScript type definitions
│ └── tools/
│ ├── auth.ts # User authentication tools
│ ├── mess.ts # Mess information tools
│ ├── registrations.ts # Registration management
│ ├── billing.ts # Bills and feedback
│ ├── extras.ts # Extra items
│ ├── monthly.ts # Monthly registrations
│ └── config.ts # Preferences and settings
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
├── .env # Your config (not in git)
├── .env.example # Template for .env
└── README.md
Scripts
npm run build- Compile TypeScript to JavaScriptnpm run dev- Build and run in development modenpm start- Run the compiled server
Troubleshooting
"Command not found" or "node not found"
- Make sure Node.js is installed and in your system PATH
- Try using the full path to
node.exein the Claude config
"Unauthorized" errors
- Verify your API key is correct in
.envand Claude config - Check if your API key has expired in the mess portal
MCP server not loading
- Ensure the path in
claude_desktop_config.jsonis absolute and correct - Check Claude Desktop logs for errors
- Restart Claude Desktop after config changes
Menu not showing items
- The menu might not be updated for the current week
- Try a different date or mess
Security
- Never commit
.envfile - It contains your API key - Never share your API key - It provides full access to your account
- The
.gitignorefile is configured to exclude sensitive files - Rotate your API keys periodically in the mess portal settings
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
MIT
Acknowledgments
Built for students of IIIT Hyderabad using the Mess Management System API.
Support
For issues or questions:
- Open an issue on GitHub
- Check the MCP Documentation
- Review the Mess Portal API docs
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。