kiliczsh/yolcu360-mcp-server
3.2
If you are the rightful owner of yolcu360-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Yolcu360 MCP Server is a Model Context Protocol server designed for the Yolcu360 car rental API, facilitating AI assistants in managing car rental reservations.
Tools
15
Resources
0
Prompts
0
Yolcu360 MCP Server
MCP (Model Context Protocol) server for the Yolcu360 car rental API. Enables AI assistants to search, book, and manage rental car reservations.
Features
- 15 Tools: Location search, car search, order management, payments, Findeks credit verification
- 5 Resources: Car classes, fuel types, transmission types, delivery types, suppliers
- 2 Prompts: car-search-workflow, booking-workflow
- 2 Transports: HTTP (Streamable HTTP) and stdio (for Claude Desktop)
Prerequisites
- Bun runtime installed
- Yolcu360 API credentials (key and secret)
Installation
# Install dependencies
bun install
# Configure environment
cp .env.example .env
# Edit .env with your Yolcu360 API credentials
Configuration
Edit .env file:
YOLCU360_API_KEY=your-api-key
YOLCU360_API_SECRET=your-api-secret
YOLCU360_API_URL=https://staging.api.pro.yolcu360.com/api/v1
TRANSPORT=http
PORT=3000
Running the Server
HTTP Mode (default)
bun start
# or
bun run start:http
Server endpoints:
- Health:
http://localhost:3000/health - MCP:
http://localhost:3000/mcp
stdio Mode
bun run start:stdio
Available Tools
Location Tools
search-locations- Search for pickup/dropoff locationsget-location-details- Get location coordinates and details
Search Tools
search-cars- Search available rental cars by coordinates and datesget-car-extras- Get available extras (insurance, GPS, child seat, etc.)
Order Tools
create-order- Create a new rental orderget-order- Get order detailscheck-cancel-eligibility- Check if order can be cancelledcancel-order- Cancel an order
Payment Tools
process-payment- Process payment (credit card or agency credit)get-installment-info- Get installment options for a card
Findeks Tools (Credit Verification)
check-findeks-eligibility- Check existing credit statusget-findeks-phones- Get registered phone numbersgenerate-findeks-report- Start credit report generationconfirm-findeks-pin- Confirm SMS PINrenew-findeks-pin- Request new PIN
Health Tool
check-health- Check API service status
Available Resources
| Resource | URI | Description |
|---|---|---|
| car-classes | yolcu360://helper-data/car-classes | Car classes (Economy, SUV, etc.) |
| fuel-types | yolcu360://helper-data/fuel-types | Fuel types (Petrol, Diesel, etc.) |
| transmission-types | yolcu360://helper-data/transmission-types | Transmission types |
| delivery-types | yolcu360://helper-data/delivery-types | Delivery options |
| suppliers | yolcu360://helper-data/suppliers | Car rental suppliers |
Available Prompts
| Prompt | Description |
|---|---|
| car-search-workflow | Guide through searching for rental cars |
| booking-workflow | Complete booking process for a selected car |
Claude Desktop Integration
Add to your Claude Desktop config (~/.config/claude/claude_desktop_config.json on Linux/Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"yolcu360": {
"command": "bun",
"args": ["run", "/path/to/yolcu360-mcp-server/src/index.ts"],
"env": {
"YOLCU360_API_KEY": "your-api-key",
"YOLCU360_API_SECRET": "your-api-secret",
"TRANSPORT": "stdio"
}
}
}
}
Development
# Run with hot reload
bun dev
# Type check
bun run typecheck
# Run tests
bun test
Project Structure
src/
├── index.ts # Entry point
├── server.ts # MCP server setup
├── config.ts # Environment config
├── auth/
│ └── manager.ts # Token management
├── tools/
│ ├── index.ts # Tool aggregator
│ ├── health.tools.ts
│ ├── location.tools.ts
│ ├── search.tools.ts
│ ├── order.tools.ts
│ ├── payment.tools.ts
│ └── findeks.tools.ts
├── resources/
│ ├── index.ts
│ └── helper-data.ts
├── prompts/
│ ├── index.ts
│ └── workflows.ts
├── transports/
│ ├── http.ts
│ └── stdio.ts
└── utils/
└── error-handler.ts
License
MIT