MCP server for Personal Context Technology

MCP server for Personal Context Technology

pct-mcp-server•bymikhashev

An MCP server that lets AI assistants read and update structured personal context data so information persists across sessions.

License: MIT License•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Stores personal context including preferences, goals, and learning style for reuse by AI assistants.
  • •Exposes context as MCP resources, available as full context or selected sections such as basic_info and preferences.
  • •Provides an updateContext MCP tool to change specific fields in the stored context.
  • •Tracks changes to the context over time and includes an instruction block controlling how AI systems may use the data.

BEST FOR

  • •Personalizing assistant responses using a stored learning style and preferences.
  • •Persisting personal preferences and goals between separate AI sessions.
  • •Updating preferences conversationally so future assistant behavior adapts.

ABOUT PCT-MCP-SERVER

MCP server for Personal Context Technology is cataloged as an MCP server attributed to mikhashev. An MCP server that lets AI assistants read and update structured personal context data so information persists across sessions. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Personal Context Technology are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What sections does the default personal context contain?

It includes basic_info, preferences, instruction, and metadata with version tracking and update history.

Can I choose which parts of my context an assistant sees?

Yes, context can be shared as a whole or limited to specific sections.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 4010f02b341c · 采集于 2026-11-13 11:19:50 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Personal Context Technology MCP Server

This repository implements a server for Personal Context Technology (PCT) using the Model Context Protocol (MCP). It enables AI assistants like Claude to access and update your personalized context data, creating persistent memory between sessions.

What is Personal Context Technology?

Personal Context Technology allows you to structure and manage personal data that AI assistants can use to provide more personalized and relevant responses. With PCT:

  • Your context is preserved between AI sessions
  • You control where your data is stored (locally, cloud, etc.)
  • You define explicit instructions for how AI systems should use your data
  • You can update context as your preferences and situation change

Features

  • Persistent Context Storage: Store your preferences, goals, learning style, and other personal information
  • Privacy Controls: Instruction block defines which information is private/public
  • Section-based Access: Access full context or individual sections
  • Context Updates: Update specific fields via the updateContext tool
  • Version Tracking: Maintain history of context changes

Demo

Watch the Personal Context Technology MCP Server in action:

PCT MCP Server Demo

The demo shows how to:

  • Access personal context data using the MCP tool
  • Update context information using the updateContext tool
  • See how Claude's responses improve with personalized context

Installation

Prerequisites

  • Node.js (v16+)
  • npm (included with Node.js)

Setup Instructions

  1. Clone the repository
git clone https://github.com/mikhashev/pct-mcp-server.git
cd pct-mcp-server
  1. Install dependencies
npm install
  1. Build the server
npm run build
  1. Start the server
npm start

Connecting to Claude Desktop

To use this server with Claude Desktop:

Windows

  1. Open Claude Desktop
  2. Navigate to Settings > Developer > Edit Config
  3. This will open %AppData%\Claude Desktop\ directory
  4. Create or edit claude_desktop_config.json with the following content:
{
  "mcpServers": {
    "personal-context-server": {
      "command": "node",
      "args": ["PATH_TO_YOUR_PROJECT/pct-mcp-server/dist/index.js"],
      "env": {}
    }
  }
}

Replace PATH_TO_YOUR_PROJECT with the actual path to your project.

macOS

  1. Open Claude Desktop
  2. Navigate to Settings > Developer > Edit Config
  3. This will open ~/Library/Application Support/Claude Desktop/ directory
  4. Create or edit claude_desktop_config.json with the following content:
{
  "mcpServers": {
    "personal-context-server": {
      "command": "node",
      "args": ["/path/to/your/project/pct-mcp-server/dist/index.js"],
      "env": {}
    }
  }
}

Linux

  1. Open Claude Desktop
  2. Navigate to Settings > Developer > Edit Config
  3. This will open ~/.config/Claude Desktop/ directory
  4. Create or edit claude_desktop_config.json with the following content:
{
  "mcpServers": {
    "personal-context-server": {
      "command": "node",
      "args": ["/path/to/your/project/pct-mcp-server/dist/index.js"],
      "env": {}
    }
  }
}

Using the Personal Context Server

With Claude Desktop

  1. Start your PCT MCP server using npm start
  2. Restart Claude Desktop (if needed)
  3. In Claude, click the MCP tool icon (wrench/tool icon) in the input field
  4. You'll see "personal-context-server" with available tools and resources:
    • Resources: Access your context data (full context or by section)
    • Tools: Update specific fields in your context

Accessing Context Data

Claude can access your personal context data in two ways:

  1. Full Context: Select "All Sections" to give Claude access to your entire personal context
  2. Section-based: Select specific sections (basic_info, preferences, etc.) to share only certain parts of your context

Example prompt: "Using my context data, recommend some learning resources that would match my learning style."

Updating Context Data

You can update your personal context using the updateContext tool:

Example prompt: "Update my learning_style in preferences to 'visual and hands-on' because I've found I learn better with practical examples."

Customizing Your Context

The default personal context includes:

  • basic_info: Name, location, etc.
  • preferences: Communication style, learning preferences, etc.
  • instruction: Rules for how AI should use and update your context
  • metadata: Version tracking, update history

You can modify the default structure by editing the DEFAULT_CONTEXT object in src/storage/contextStorage.ts. Or just replace update file data [PATH_TO_YOUR_PROJECT/pct-mcp-server/data/personal_context.json] from template data in repo (https://github.com/mikhashev/personal-context-manager/blob/main/use-cases/self-education/personal_context_self_education_template.json) or another one.

Project Structure

pct-mcp-server/
├── .git/                      # Git repository data
├── .gitignore                 # Git ignore rules
├── LICENSE                    # License file
├── README.md                  # Project documentation
├── package-lock.json          # Lock file for npm dependencies 
├── package.json               # Project configuration and dependencies
├── tsconfig.json              # TypeScript configuration
└── src/                       # Source code
    ├── index.ts               # Main application entry point
    ├── resources/             # MCP resources implementation
    │   └── personalContext.ts # Personal context resource
    ├── storage/               # Storage implementation
    │   └── contextStorage.ts  # Context storage functionality
    ├── tools/                 # MCP tools implementation
    │   ├── contextSuggestion.ts  # Context suggestion tool
    │   └── updateContext.ts   # Update context tool
    └── utils/                 # Utility functions
        └── instructionHandler.ts  # Instruction handling logic

# Generated directories (not in repository)
# ----------------------------------------
# dist/                        # Compiled JavaScript files (gitignored)
# node_modules/                # Dependencies (gitignored)
# data/                        # User data (gitignored or contains only samples)
#   └── personal_context.json  # Personal context data (sample only) (don't change filename personal_context.json, update data if need)

Advanced Configuration

Using HTTP Transport

The default implementation uses stdio transport for development. For production use, you can switch to HTTP transport:

  1. Edit src/index.ts
  2. Uncomment the HTTP transport section
  3. Configure your desired port and CORS settings
  4. Rebuild and restart the server

! I reccomend use stdio transport for development locally on your machine always.

Multi-User Support

To support multiple users, modify the contextStorage.js file to store contexts in user-specific files based on user IDs.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is released under the MIT License - See LICENSE that covers the project.

Acknowledgments

This project is based on the Personal Context Technology concept and implements the Model Context Protocol (MCP) developed by Anthropic to enable AI systems to access external context.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Personal Context Technology from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/pct-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent