🧳 MCP Travel Desk — A Minimal MCP Client & Server Demo
@ChaitanyaK77
🧳 MCP Travel Desk — A Minimal MCP Client & Server Demo について
This project demonstrates how to build a minimal MCP server using the `mcp` Python SDK and connect it to Claude Desktop as a client. It simulates a simple Travel Desk system with tools to submit, view, and track employee travel requests — all accessible directly from Claude's int
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"MCP-Client-and-Server-Demo": {
"command": "uv",
"args": [
"init"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is 🧳 MCP Travel Desk?
🧳 MCP Travel Desk is a minimal demonstration of an MCP server built with the MCP Python SDK and used with Claude Desktop as an MCP client. It implements a simple Travel Desk system that allows employees to submit travel requests, check approval status, and view travel history — all accessible directly from Claude.
How to use 🧳 MCP Travel Desk?
Install Claude Desktop, then install the MCP Python SDK (pip install mcp) and uv (Python package manager). Create a main.py file with the server code and run uv run mcp install main.py to register the server in Claude’s configuration. Once installed, the tools appear in Claude’s UI and you can ask queries like “Submit a travel request for E001 to Paris.”
Key features of 🧳 MCP Travel Desk
submit_travel_request– submit a new employee travel requestget_travel_history– retrieve travel history for an employeeapproved_trips_count– count approved trips for an employeegreeting– a simple demo tool that responds with a greeting- Demonstrates building an MCP server and using Claude Desktop as client
Use cases of 🧳 MCP Travel Desk
- Submit a travel request for an employee with destination and dates
- Check how many approved trips a given employee has
- Retrieve the full travel history of an employee
- Use as a learning example for MCP server development
FAQ from 🧳 MCP Travel Desk
What are the runtime dependencies?
You need Claude Desktop, Python, the mcp Python package, and uv (Python package manager). On macOS, uv can be installed via Homebrew.
How do I install the server into Claude?
Run uv run mcp install main.py in the project directory. This creates a virtual environment, adds the server to Claude’s config, and prints a success message.
What tools does the server expose?
The server exposes four tools: submit_travel_request, get_travel_history, approved_trips_count, and greeting.
Why doesn’t the server start in Claude on macOS?
If the server fails to start, ensure uv is installed via Homebrew (brew install uv), then restart Claude Desktop and check that the server shows as “Running” in Developer Settings.
Can I use a different MCP client?
The demonstration is designed specifically for Claude Desktop as the MCP client. No other clients are mentioned in the setup instructions.
「メディアとデザイン」の他のコンテンツ
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
コメント