Skip to main content
Glama

Pensieve MCP Server

by EmjayAhn

Pensieve MCP Server

A MCP (Model Context Protocol) server that enables conversation history sharing between ChatGPT and Claude with multi-user support and cloud deployment.

Features

  • Multi-user Support: Each user has their own isolated conversation space
  • Authentication: Secure JWT-based authentication
  • Cloud Deployment: Deploy to Azure Container Apps
  • Save Conversations: Store conversation history securely
  • Load Conversations: Retrieve saved conversations by ID
  • List Conversations: View all saved conversations
  • Search Conversations: Search conversation content by keywords
  • Append to Conversations: Add new messages to existing conversations

Installation

  1. Clone the repository:
git clone <repository-url> cd pensieve-mcp
  1. Install dependencies:
uv pip install -e .

Usage in Claude

  1. Open Claude Desktop configuration file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following configuration:
{ "mcpServers": { "pensieve-mcp": { "command": "uv", "args": ["run", "python", "-m", "mcp_server.server"], "cwd": "/path/to/pensieve-mcp" } } }
  1. Restart Claude Desktop

Usage Examples

Save Conversation

Use the save_conversation tool to save the current conversation. You can add metadata like title or tags.

Load Conversation

Use the load_conversation tool to retrieve a previous conversation by its ID.

Search Conversations

Use the search_conversations tool to find conversations containing specific keywords.

Architecture

Local Mode

Conversation data is stored as JSON files in the ~/.pensieve-mcp/conversations/ directory.

Cloud Mode (Azure)

  • API Server: FastAPI backend deployed on Azure Container Apps
  • Database: Azure Cosmos DB (MongoDB API)
  • Authentication: JWT-based user authentication
  • MCP Client: Connects to the cloud API

Azure Deployment

  1. Prerequisites:
    • Azure CLI installed and logged in
    • Docker installed
  2. Deploy to Azure:
    cd deploy ./deploy-azure.sh
  3. Configure MCP client: Set the API URL in your environment:
    export PENSIEVE_API_URL="https://your-api-url.azurecontainerapps.io"

Using with Authentication

  1. Register a new account:
    Use the 'register' tool with your email and password
  2. Login:
    Use the 'login' tool with your credentials
  3. Your token will be automatically saved for subsequent requests.
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables conversation history sharing between ChatGPT and Claude with secure multi-user support. Allows users to save, load, search, and manage conversations across different AI platforms with cloud deployment options.

  1. Features
    1. Installation
      1. Usage in Claude
        1. Usage Examples
          1. Save Conversation
          2. Load Conversation
          3. Search Conversations
        2. Architecture
          1. Local Mode
          2. Cloud Mode (Azure)
        3. Azure Deployment
          1. Using with Authentication

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
              Last updated -
              1
              35
              140
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.
              Last updated -
              11
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              MCP ChatGPT Responses connects Claude to ChatGPT through two essential tools: standard queries for AI-to-AI conversations and web-enabled requests for current information. It uses OpenAI's Responses API to maintain conversation state automatically.
              Last updated -
              13
            • -
              security
              F
              license
              -
              quality
              A tool that makes memories stored in ChatGPT accessible across various language models without requiring logins or paywalls.
              Last updated -

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/EmjayAhn/pensieve-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server