by hungryrobot1
MCP-PIF is a TypeScript implementation of the Personal Intelligence Framework (PIF) within the Model Context Protocol (MCP), designed to facilitate structured human-AI collaboration and understanding.
MCP-PIF is a TypeScript implementation of the Personal Intelligence Framework (PIF) built on the Model Context Protocol (MCP). It aims to create a structured environment for human-AI collaboration by providing tools for file operations, structured reasoning, and journal-based documentation. The core idea is to foster a deeper understanding and continuity between human and AI interactions across sessions, allowing for the progressive development of insights.
To use MCP-PIF, you need Node.js 18+, npm, TypeScript 5.0+, and the Claude Desktop Client configured for custom servers. The setup involves:
mcp-pif
directory.npm install
.MCP_WORKSPACE_ROOT
or MCP_CONFIG
environment variables, or by editing src/config.ts
.npm run build
.claude_desktop_config.json
to include mcp-pif
as a custom server, specifying the command to run index.js
.The server will manage a workspace/
directory containing home/meta/journal/
for journal entries and home/projects/
for user projects.
pwd
, cd
, read
, write
, mkdir
, delete
, move
, rename
for managing workspace context.reason
for developing connected insights and think
for temporal contemplation.journal_create
to document developments and journal_read
to explore patterns, maintaining framework continuity.core/
, mcp_modules/
, and api/
for clear structure and extensibility.Q: What are the prerequisites for running MCP-PIF? A: You need Node.js 18+, npm, TypeScript 5.0+, and the Claude Desktop Client configured for custom servers.
Q: How do I configure the workspace root?
A: You can set the MCP_WORKSPACE_ROOT
environment variable, MCP_CONFIG
environment variable with a JSON string, or directly edit src/config.ts
.
Q: Is MCP-PIF cross-platform? A: Yes, it is designed to work seamlessly on Windows, macOS, and Linux, with automatic path normalization and environment variable-based configuration.
Q: What kind of tools does MCP-PIF provide?
A: It provides filesystem operations (e.g., read
, write
), reasoning tools (reason
, think
), and a journal system (journal_create
, journal_read
).
Q: How does MCP-PIF support continuity in human-AI collaboration? A: Through its journal system and structured documentation, it helps maintain historical context and allows for the evolutionary development of understanding across sessions.
This project implements the Model Context Protocol (MCP) as a practical embodiment of the Personal Intelligence Framework (PIF). Through structured tools and progressive interaction patterns, it creates spaces for meaningful development of understanding between humans and AI.
Note: This implementation has been tested on both Windows and macOS/Linux systems.
git clone [https://github.com/hungryrobot1/MCP-PIF]
cd mcp-pif
npm install
Configure the server:
MCP_WORKSPACE_ROOT
environment variable to specify a workspace locationMCP_CONFIG
environment variable with a JSON string of configuration optionssrc/config.ts
to modify the default configurationBuild the server:
npm run build
Configure Claude Desktop Client:
claude_desktop_config.json
:
{
"mcpServers": {
"mcp-pif": {
"command": "node",
"args": ["path/to/your/mcp-pif/build/index.js"],
"cwd": "path/to/your/mcp-pif",
"env": {}
}
}
}
path/to/your/mcp-pif
with your actual repository pathConnect Claude Desktop Client:
The server will create and manage the following structure in your configured workspace:
workspace/
├── home/
│ ├── meta/
│ │ └── journal/ # For storing journal entries
│ └── projects/ # For user projects
The implementation provides a set of core tools designed to support structured interaction:
pwd
, cd
, read
, write
, mkdir
, delete
, move
, rename
reason
: Develop connected insightsthink
: Create temporal spaces for contemplationjournal_create
: Document developmentsjournal_read
: Explore patterns// Create a structured thought pattern
reason: {
thoughts: [
{ content: "Initial observation" },
{
content: "Building on previous thought",
relationType: "sequence",
relationTo: 0
}
]
}
// Document development
journal_create: {
title: "Implementation Pattern",
content: "Insights about development...",
tags: ["development", "patterns"]
}
The MCP-PIF server is designed to work seamlessly on Windows, macOS, and Linux environments:
The system is built around modular tools that create conditions for structured emergence:
src/
├── core/ # Framework foundations
├── mcp_modules/ # Tool implementations
└── api/ # External integrations
Each tool follows consistent patterns while maintaining its unique role:
The PIF represents a new approach to human-AI collaboration based on:
Rather than prescribing fixed patterns, the implementation creates bounded spaces where understanding can emerge through:
Understanding develops through:
The system supports different levels of engagement:
For those primarily interested in practical implementation:
For those interested in extending the system:
For those interested in deeper patterns:
This project welcomes contributions that engage with both implementation and theoretical aspects:
Comprehensive documentation is available:
The project continues to evolve through:
This implementation embodies a view where:
The system is more than a set of tools - it is a space for exploring how human and AI intelligence can develop through structured interaction. Each session is an opportunity to discover new patterns of understanding and collaboration.
Please log in to share your review and rating for this MCP.