AgentStack
MCP verified MIT Self-run

MCP Client And Server Demo

mcp-chaitanyak77-mcp-client-and-server-demo · by ChaitanyaK77

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 interface.

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add mcp-chaitanyak77-mcp-client-and-server-demo

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of MCP Client And Server Demo? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP Travel Desk — A Minimal MCP Client & Server Demo

This is a simple repository that shows the process of building an MCP server and using Claude Desktop as a client. I have shown here a simple Travel Desk system to handle employee travel requests, approvals, and history tracking — all accessible directly from Claude. One can modify the contents of this repo to develop specific MCP use cases.


Setup Instructions

1. Install Claude Desktop

Download and install Claude Desktop from Anthropic. This acts as your MCP client.


2. Install MCP Python SDK

pip install mcp

3. Install uv (Python Package Manager)

pip install uv

On macOS, if this fails:

brew install uv

4. Initialize MCP Server

uv init

5. Create main.py

append the main.py code in the repo

6. Install the Server into Claude

uv run mcp install main.py

This will:

Create a virtual environment (.venv) Add your server to Claude config Output logs like:

Added server 'TravelDesk' to Claude config
Successfully installed TravelDesk in Claude app

7. macOS Troubleshooting

If the server doesn't start in Claude: Run:

brew install uv

Restart Claude Desktop Go to Claude → Developer Settings and ensure the server is Running

8. Use Claude as MCP Client

Claude reads the MCP config from .mcp/claude.json.

9. Tools Appear in Claude UI

Once installed, the following tools will be available inside Claude:

submittravelrequest gettravelhistory approvedtripscount greeting://{name}

10. Ask Queries via Claude

Try asking: Submit a travel request for E001 to Paris from 2025-01-01 to 2025-01-05 How many approved trips does E002 have? Get travel history for E001 greeting://Chaitanya

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.