Aifp logo

Aifp

Tracks AI-maintained codebases in SQLite, enforcing functional-programming workflows through MCP tools for architecture, tasks, directives, and notes.

Install Aifp

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "aifp": {
      "command": "uvx",
      "args": [
        "aimfp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

aifp MCP server connects an AI assistant to SQLite databases that hold project structure, functional-programming directives, user preferences, and directive records. Its MCP tools let agents manage themes, flows, modules, files, functions, dependencies, completion paths, tasks, milestones, directives, and audit notes. The server uses JSON-RPC over stdio and keeps project state across sessions rather than relying on repeated source-code parsing. Reach for aifp when an AI-maintained project needs explicit architectural relationships, finite work tracking, and persistent workflow guidance.

Use cases

  • Track project work through completion paths, milestones, tasks, and subtasks
  • Map files, modules, flows, themes, functions, and dependencies in an AI-maintained codebase
  • Persist directive preferences and project context across AI sessions
  • Record architecture decisions and runtime events in an audit trail

Key features

  • SQLite-backed project and directive state
  • Functional-programming and project-management directives
  • Explicit module, flow, theme, and file relationships
  • Function interaction and type-usage tracking
  • Batch operations for files, links, items, and dependencies
  • MCP JSON-RPC communication over stdio

Tools300

What Aifp lets your agent do. Expand a tool for its parameters.

Verified live~39.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/17 checks healthy over the last 111d

What it can do

From the 300 tools this server returned when we ran it; 300 declare their own safety hints.

Runs commands · 5Can delete or modify data · 38Writes files · 2Handles credentials · 3Makes network requests · 2Read-only tools · 256
Network at startup2 connections
Files written at startup30

Observed 2026-10-20 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · aimfp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit16d agoMost recent push to the default branch.
Tools exposed300Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Aifp works

What aifp does

aifp provides the database-backed coordination layer for AIMFP, a language-agnostic approach to AI-generated and AI-maintained software. It combines functional-programming guidance with procedural project tracking: code is organized around explicit functions, modules, flows, themes, and dependency relationships, while work is arranged into completion paths, milestones, tasks, subtasks, sidequests, and items.

The project model is intended to preserve context between AI sessions. Files, functions, interactions, notes, directives, preferences, and work state are stored in SQLite so an assistant can retrieve structured project information instead of reconstructing it by repeatedly examining source files. A single AIMFP instance is intended for one project directory; separate projects should use separate instances.

How it works

An AI assistant communicates with the MCP server through JSON-RPC over standard input and output. The server manages connections to four SQLite databases:

  • aimfp_core.db stores the global, read-only knowledge base of standards, directives, and helper definitions.
  • project.db stores mutable project metadata, source entities, architecture, work tracking, and runtime notes.
  • user_preferences.db stores project-scoped preferences, settings, tracking information, and learning records.
  • user_directives.db optionally stores custom directives, execution data, dependencies, generated-code references, and related records.

The server exposes database helper operations; the AI assistant decides which operations to perform. Activating a directive changes its status and records a timestamp, but does not deploy a service. For custom automation, a generated project runner can use AIMFP as a regular library outside an AI session, while the MCP server later reads the resulting directive data and logs.

Setup and configuration

Configure the MCP server as a stdio-based server in the AI client. The location of the global core database is user-defined and configured through the client. Project databases are associated with the project directory, and the design expects one instance per project.

AIMFP is language-agnostic and is described as adaptable to Python, JavaScript, TypeScript, Rust, Go, and other languages. The automation path uses project-owned runner code and does not require the MCP server to remain active between runs.

Tools and capabilities

The exposed operations cover several related areas:

  • Architecture: create modules, assign files to modules or flows, create flows and themes, link flows to themes, and record function interactions.
  • Dependency indexing: add function-to-function relationships and link tracked types to the functions that use them.
  • Project planning: create completion paths, milestones, tasks, subtasks, sidequests, and work items, then connect milestones to flows and paths to themes.
  • Directives and preferences: activate directives, manage directive preferences, add custom directive records, and record directive notes.
  • Project history: add audit notes, tracking notes, project entries, settings, and user settings.

Several operations have batch variants for assigning files, linking entities, creating items, and recording interactions. These reduce repeated calls and commonly skip duplicate relationships rather than creating them again. Some operations enforce structural rules: flows require at least one theme, finalized files should be assigned to a flow, and task creation is intended to proceed as work advances.

Limitations and notes

aifp provides database helpers rather than making project decisions itself. The AI assistant remains responsible for interpreting directives, choosing workflow actions, generating code, and handling deployment. The core database is read-only, while project and preference databases are mutable.

Directive automation is not a built-in scheduler. A cron job, systemd service, or another daemon must run the generated project runner when automation needs to continue without an AI session. The runner writes execution information, which the assistant can inspect later through the stored directive data and logs.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Aifp

aifp is an MCP server that connects AI assistants to SQLite databases for AIMFP project management and functional-programming guidance. Its main tools track modules, files, flows, themes, functions, dependencies, completion paths, milestones, tasks, directives, preferences, and audit notes across AI-maintained codebases.

Configure aifp as a standard-input/output MCP server in your AI client. The client must be given the user-defined location of the global, read-only core database, while project databases are associated with the project directory.

Yes, aifp can work with Cursor when configured as a standard stdio MCP server. Its communication uses MCP JSON-RPC over standard input and output, so the client connects to the server process and its project databases.

No, activating a directive does not deploy services. The AI handles deployment through the directive workflow, while custom automation runs through project-owned runner code started by a scheduler or daemon.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAifp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/aifp?style=directory)](https://allmcps.com/mcp/aifp)
HTML Embed
<a href="https://allmcps.com/mcp/aifp"><img src="https://allmcps.com/api/badge/aifp?style=directory" alt="Aifp on AllMCPs" /></a>