PIF
Created 6 months ago
A self-modifying MCP server in ClojureScript enabling runtime tool creation and safe self-modification.
development
documentation
public
metaprogramming
AI
What is PIF?
A Personal Intelligence Framework (PIF), providing tools for file operations, structured reasoning, and journal-based documentation to support continuity and evolving human-AI collaboration across sessions.
Documentation
MCP-PIF-CLJS Documentation
Quick Start# Prerequisites
- Node.js 16+
- Java 11+ (for ClojureScript compiler)
Installation
- Clone and build:
git clone cd MCP-PIF npm install npx shadow-cljs compile mcp-server - Configure Claude Desktop: Edit your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "mcp-pif-cljs": { "command": "node", "args": ["/full/path/to/MCP-PIF/out/mcp-server.js"] } } }
- Restart Claude Desktop
Available Tools
memory-store: Store key-value pairs in memorymemory-retrieve: Retrieve stored valuesjournal-recent: View recent activity journalserver-info: Get comprehensive server informationmeta-evolve: Create new tools at runtimeexecute-tool: Execute any tool by name
Safety Mechanisms
- Sandboxed Execution: Limited to arithmetic and string operations
- Code Validation: Blocks dangerous operations
- Namespace Protection: Core namespaces cannot be modified
- Activity Journal: All actions are logged and auditable
- Session-Only: Changes don't persist between restarts
License
MIT
Server Config
{
"mcpServers": {
"pif-server": {
"command": "npx",
"args": [
"pif"
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
May 23, 2025
Updated At:
Aug 07, 2025
Author:
hungryrobot1
Category:
community
License:
MIT
Tags:
development
documentation
public