IIITH Mess MCP Server

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.

Category
Visit Server

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

Installation

1. Clone and Install

git clone <your-repo-url>
cd mess-mcp
npm install

2. Get Your API Key

  1. Log into https://mess.iiit.ac.in
  2. Navigate to Settings → API Keys
  3. Click Create New Key
  4. Give it a name (e.g., "MCP Server") and set an expiry date
  5. 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 JavaScript
  • npm run dev - Build and run in development mode
  • npm 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.exe in the Claude config

"Unauthorized" errors

  • Verify your API key is correct in .env and Claude config
  • Check if your API key has expired in the mess portal

MCP server not loading

  • Ensure the path in claude_desktop_config.json is 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 .env file - It contains your API key
  • Never share your API key - It provides full access to your account
  • The .gitignore file is configured to exclude sensitive files
  • Rotate your API keys periodically in the mess portal settings

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT

Acknowledgments

Built for students of IIIT Hyderabad using the Mess Management System API.

Support

For issues or questions:

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured