personal-mcp
A FastMCP server exposing 22 tools for calendar, to-do, notes, web search, math, scratchpad, task queue, and sandboxed code execution, designed for safe RL training with structured outputs and FastMCP transforms.
README
personal-mcp
Personal concierge MCP server — productivity tools and FastMCP transforms for SLM orchestrator RL training.
What this is
A FastMCP server exposing 22 tools that an LLM/SLM orchestrator can call: calendar, to-do, notes, web search, calculator, scratchpad, task queue, and sandboxed code execution. The server is designed to be:
- Safe by default — all state is in-memory and synthetic; no real user data is touched.
- RL-friendly — tools return structured, deterministic outputs; destructive actions require explicit confirmation; errors are returned as
{"error": "..."}dicts (not exceptions) so the agent learns to handle malformed input. - Transform-ready — three FastMCP transforms are wired in by default (ToolTransform for tags, BM25SearchTransform for on-demand discovery, optional CodeMode for the "write Python to orchestrate tools" pattern).
Install
pip install -e ".[dev]"
This installs fastmcp[code-mode] and ddgs, plus dev tools (pytest, ruff, bandit).
Run
# stdio (for Claude Desktop / MCP Inspector)
fastmcp run server.py
# Streamable HTTP (for ART, DeepAgents, remote clients)
fastmcp run server.py --transport streamable-http --port 8000
# or just:
python server.py
Two runtime modes
Toggle with the CODE_MODE_ENABLED env var:
- default (
CODE_MODE_ENABLED=0): clients see 3 tools —search_tools,call_tool,reset_state— and discover the rest on demand via BM25. - code mode (
CODE_MODE_ENABLED=1): clients see 4 meta-tools —tags,search,get_schema,execute— and write Python that chainscall_tool()invocations inside a sandboxed Monty interpreter.
Tools
| Category | Tool | Purpose |
|---|---|---|
| State | reset_state |
Clear all server state (call between training episodes) |
| Calendar | create_event, list_events, find_free_slots, reschedule_event, cancel_event |
Calendar management |
| To-do | create_task, list_tasks, complete_task |
Simple to-do tasks |
| Notes | create_note, search_notes |
Short notes with tag search |
| Search | search, search_and_extract |
DuckDuckGo web + news search |
| Math | calculate |
Safe AST-sandboxed arithmetic |
| Memory | write_scratchpad, read_scratchpad, clear_scratchpad |
Working memory for multi-step plans |
| Planning | create_task_item, list_task_items, update_task_item, delete_task_item |
Explicit task queue for plan decomposition |
| Code | run_python |
Sandboxed Python subprocess (5s default timeout) |
Test
pytest test_app.py -v
ruff check server.py test_app.py
bandit -r server.py
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.
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.
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.
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.