LifeTracker MCP Server
Enables logging and retrieving activity data from DynamoDB, supporting activity logging and history queries.
README
LifeTracker MCP Server
MCP server for LifeTracker DynamoDB integration.
Files
main.py- FastMCP server with activity logging toolsfastmcp.json- Deployment configurationGSI_SETUP.md- Guide for creating DynamoDB Global Secondary Index
Prerequisites
Required DynamoDB GSI
For optimal performance and consistency, create a Global Secondary Index on user_name:
Index configuration:
- Index name:
user_name-index - Partition key:
user_name(String) - Projection: ALL
See GSI_SETUP.md for detailed setup instructions.
Note: The server will work without the GSI but will fall back to slower Scan operations with ConsistentRead=True.
Local Development
uv run mcp dev main.py
Deployment Issue
⚠️ Current Issue: FastMCP cloud is throwing "Already running asyncio in this thread" errors.
This appears to be a compatibility issue between:
- FastMCP HTTP transport
- The cloud platform's event loop management
Attempted Fixes
✅ Removed mcp.run()
✅ Lazy DynamoDB initialization
✅ Removed Enum types
✅ Set both AWS_REGION and AWS_DEFAULT_REGION
✅ Created alternative server.py with base MCP Server
Recommended Solutions
- Contact FastMCP Support - This error comes from their platform (cli.py:533)
- Try Different Platform - Deploy to:
- AWS Lambda with API Gateway
- Google Cloud Run
- Docker container on any host
- Use Local/Claude Desktop - Works perfectly with stdio transport
Environment Variables
Required:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_DEFAULT_REGION(use this, not just AWS_REGION)TABLE_PREFIX(optional)
Tools
create_activity_log- Log activitiesget_activity_logs- Fetch activity history
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.