feat: MCP server for AI-powered trip management#242
Open
candogruyol wants to merge 1 commit into
Open
Conversation
MCP (Model Context Protocol) server exposing TRIP's API as AI tools. 22 tools covering trips, days, items, places, categories, packing, checklist, and sharing. Built with FastMCP + SSE transport. Deploy with Docker alongside TRIP. AI assistants (Claude, OpenClaw, etc.) can create and manage trips via natural language. - mcp-server/server.py: 22 tool definitions - mcp-server/auth.py: JWT login with token caching - mcp-server/Dockerfile: containerized deployment - mcp-server/README.md: setup and connection guide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP (Model Context Protocol) server that exposes TRIP's API as AI tools. Lets Claude, OpenClaw, and other AI assistants create and manage trips via natural language.
22 Tools
Stack
Usage
Claude Code config:
{"mcpServers": {"trip": {"type": "sse", "url": "http://localhost:3001/sse"}}}Then ask Claude: "Create a 3-day trip to Porto" and it calls the tools automatically.
Files
mcp-server/server.py— 22 tool definitionsmcp-server/auth.py— JWT login + token cachemcp-server/Dockerfile— containerizedmcp-server/README.md— setup guideNo changes to existing TRIP code. Only adds the
mcp-server/directory.