JSPM

@mseep/tripjack-mcp

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q15569F
    • License ISC

    MCP server for Tripjack API integration

    Package Exports

    • @mseep/tripjack-mcp
    • @mseep/tripjack-mcp/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mseep/tripjack-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Ecogo MCP Server Implementation

    Created a TypeScript-based MCP server using the official MCP SDK Implemented three tools: get_flight_data: Search for available flights book_best_flight: Book flights based on search results get_ticket_info: Retrieve booking details and ticket information Added comprehensive error handling and logging API Integration:

    Integrated with Tripjack's flight search, booking, and ticket information APIs Implemented proper request/response handling Added validation for all API requests Configuration:

    How to Use the MCP Server Search for Flights:

    use_mcp_tool( server_name: "ecogoai", tool_name: "get_flight_data", arguments: { "departureCity": "DEL", "arrivalCity": "BOM", "travelDate": "2025-04-01", "adults": 1 } ) Book a Flight:

    use_mcp_tool( server_name: "tripjack", tool_name: "book_best_flight", arguments: { "priceId": "[priceId from search results]", "passengers": { "adults": [ { "firstName": "John", "lastName": "Doe", "title": "Mr" } ] }, "contactInfo": { "email": "john.doe@example.com", "phone": "9999999999" } } ) Get Ticket Information:

    use_mcp_tool( server_name: "tripjack", tool_name: "get_ticket_info", arguments: { "bookingId": "[booking ID from booking response]" } )

    Claude config

    "EcoGo-AI": { "command": "node", "args": [ "/dist/mcp.js" ], "env": { "TRIPJACK_API_KEY": "Conatct sales@ecogo.co.in for API Key" }, "disabled": false, "autoApprove": [], "timeout": 300, "settings": { "preventMockData": true, "requireExplicitUserData": true, "mockDataBlacklist": ["name", "email", "phone", "DOB", "passport", "address", "payment"] } } }