原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

AIMFP

作者:aryanduntley版本 1.70.0i★ –i在你的电脑上运行
注册名称io.github.aryanduntley/aimfp

安装

概览

作者提供的说明(英文原文)

Database-driven directives and project tracking for modular functional-procedural AI coding

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "aimfp": {
      "command": "uvx",
      "args": [
        "aimfp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add aimfp -- uvx aimfp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "aimfp": {
      "command": "uvx",
      "args": [
        "aimfp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "aimfp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "aimfp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 aryanduntley 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 956 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 956 个服务器的 85% 更新
  • 基础检查结果等于或优于此分类中其他 956 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

AIMFP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.70.0)于6天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.03天前更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

AIMFP: AI Modular Functional Procedural Programming

A language-agnostic programming paradigm designed for AI-generated and AI-maintained codebases


Table of Contents

  • What is AIMFP?
  • Core Principles
  • Architecture Overview
  • Database Architecture
  • How It Works
  • Getting Started
  • Platform Support
  • Directives System
  • Project Lifecycle
  • Example Workflow
  • Documentation
  • Development
  • Design Philosophy
  • Features
  • Usage Examples
  • Privacy Policy
  • Support
  • License

What is AIMFP?

AIMFP (AI Modular Functional Procedural) is a programming paradigm that combines:

  • Pure functional programming principles (referential transparency, immutability, composability)
  • Procedural execution patterns (explicit sequencing, no hidden state)
  • Database-driven project management (persistent state, instant context retrieval)
  • Directive-based AI guidance (deterministic workflows, automated compliance)
Two Ways to Use AIMFP

Use Case 1: Regular Software Development

  • Build applications (web apps, libraries, CLI tools, etc.)
  • AIMFP enforces FP compliance and manages your project
  • You write code, AI assists with FP standards and project tracking
  • Example: Building a web server, calculator library, data processor

Use Case 2: Custom Directive Automation

  • Define automation rules (home automation, cloud management, workflows)
  • AIMFP generates and manages the automation codebase for you
  • You write directive definitions (YAML/JSON/TXT), AI generates the implementation
  • The project's code IS the automation code generated from your directives
  • Example: Smart home control system, AWS infrastructure manager, workflow automator

Key Principle: One AIMFP instance per project directory. You would NOT mix a web app with home automation directives. Run separate instances for separate purposes.

Why AIMFP?

Traditional programming paradigms were designed for humans. AIMFP is optimized for AI-human collaboration:

ChallengeTraditional ApproachAIMFP Solution
Context LossAI forgets between sessionsDatabase-driven persistent state
OOP ComplexityClasses, inheritance, polymorphismPure functions, explicit data structures
Infinite DevelopmentProjects never "complete"Finite completion paths with milestones
Code ReasoningParse source code repeatedlyPre-indexed functions, dependencies, interactions
Inconsistent StandardsStyle guides, linters, reviewsImmutable directives enforcing compliance

Core Principles

1. Functional-Procedural Hybrid
# ✅ AIMFP-Compliant

def calculate_total(items: List[Item]) -> float: """Pure function: deterministic, no side effects""" return reduce(lambda acc, item: acc + item.price, items, 0.0)

❌ Not AIMFP-Compliant

class Calculator: def init(self): self.total = 0 # Hidden state

def add_item(self, item): self.total += item.price # Mutation

2. Database-Indexed Logic

Every function, file, and dependency is tracked in SQLite. AI accesses this data through helper tools — not raw SQL:

AI calls: get_functions_by_file(file_id)

→ Returns: all functions in that file with name, purpose, parameters, returns

No source code reparsing required. Instant context retrieval across sessions.

3. AI-Readable Code
  • Flat structure: No deep inheritance hierarchies
  • Explicit dependencies: All parameters passed explicitly
  • Pure functions: Same inputs → same outputs
  • Metadata annotations: Machine-readable function headers
4. Finite Completion Paths
Project: MatrixCalculator

├── Completion Path (3 stages) │ ├── 1. Setup (completed) │ ├── 2. Core Development (in progress) │ │ ├── Milestone: Matrix Operations │ │ │ ├── Task: Implement multiply │ │ │ ├── Task: Implement transpose │ │ │ └── Task: Add validation │ │ └── Milestone: Vector Operations │ └── 3. Finalization (pending)

5. Language-Agnostic

AIMFP works with Python, JavaScript, TypeScript, Rust, Go, and more. FP directives adapt to language-specific syntax while maintaining universal standards.


Architecture Overview

┌─────────────────────────────────────────────────────┐

│ AI Assistant (Claude, GPT-4, etc.) │ │ - Receives natural language commands │ │ - Follows directives (FP baseline + project mgmt) │ │ - Calls MCP tools to read/write databases │ │ - Generates FP-compliant code │ └────────────────────┬────────────────────────────────┘ │ MCP Protocol (JSON-RPC over stdio) ┌────────────────────▼────────────────────────────────┐ │ MCP Server │ │ - Exposes helper tools via JSON-RPC │ │ - Manages four-database connections │ │ - Provides CRUD helpers for all databases │ │ - No business logic — AI makes all decisions │ └───┬────────────────────┬─────────────────────────┬──┘ │ │ │ ┌───▼──────────────┐ ┌───▼────────────────┐ ┌─────▼─────────────────┐ ┌──────▼────────────────┐ │ aimfp_core.db │ │ project.db │ │ user_preferences.db │ │ user_directives.db │ │ (Global, │ │ (Per-Project, │ │ (Per-Project, │ │ (Per-Project, │ │ Read-Only) │ │ Mutable) │ │ Mutable) │ │ Optional) │ │ │ │ │ │ │ │ │ │ - FP directives │ │ - Project metadata │ │ - Directive prefs │ │ - User directives │ │ - Project mgmt │ │ - Files & funcs │ │ - User settings │ │ - Execution stats │ │ - User prefs │ │ - Task hierarchy │ │ - AI learning log │ │ - Dependencies │ │ - User systems │ │ - Themes & flows │ │ - Tracking features │ │ - Generated code refs │ │ - Helper defs │ │ - Completion path │ │ (All opt-in) │ │ - Source file tracking│ │ - Directive flow │ │ - Runtime notes │ │ │ │ (Logs in files) │ └──────────────────┘ └────────────────────┘ └───────────────────────┘ └───────────────────────┘

Use Case 2 adds a second path that never touches the MCP server. Your automation has to run when no AI session is open, so it imports AIMFP as a plain library instead:

┌──────────────────────────────┐        ┌──────────────────────────────┐

│ cron / systemd / your daemon │ │ AI Assistant (a session) │ │ runs forever; AIMFP does not │ │ present only when you are │ └───────────────┬──────────────┘ └───────────────┬──────────────┘ │ starts │ MCP ┌───────────────▼──────────────┐ ┌───────────────▼──────────────┐ │ runner.py (YOUR project) │ │ MCP Server │ │ generated by AIMFP, owned │ │ │ │ and editable by you │ │ check_directive_health │ │ │ │ get_directive_execution_stats│ │ import aimfp.hooks ◄────────┼── a │ get_recent_directive_errors │ │ get_due_directives(...) │ library │ │ run_directive(...) │ call, └───────────────┬──────────────┘ └───────────────┬──────────────┘ not RPC │ reads │ writes │ └────────────► user_directives.db ◄────┘

  • .aimfp-project/logs/

The runner writes; the AI reads it back later. AIMFP itself is inert in between — it has no timer and starts nothing.


Database Architecture

aimfp_core.db (Global, Read-Only)

Location: Within MCP server installation directory (user-defined location, configured in AI client)

Purpose: Immutable knowledge base containing all AIMFP standards, directives, and helper definitions.

Key Tables:

  • directives: All FP, project, and user preference directives (workflows, keywords, thresholds)
  • helper_functions: Database, file, Git, and FP utilities organized across multiple registry files
  • directive_helpers: Many-to-many junction table mapping directives to their helper functions with execution metadata
  • categories: Directive groupings (purity, immutability, task management, etc.)
  • directive_flow: Status-driven directive navigation and routing

Helper-Directive Relationship (New in v1.4):

  • One directive can use many helpers, one helper can serve many directives
  • Junction table stores: execution context, sequence order, parameter mappings
  • Enables flexible helper reuse and clear execution flow
  • Defined in directive_helpers junction table in aimfp_core.db

Helper Classification:

  • Tool: All helpers are exposed as MCP tools (AI calls directly via MCP)
  • Sub-helper (is_sub_helper = TRUE): Internal utility called by other helpers only (not exposed to AI)

Helper Registry (Development Staging):

  • Helper definitions maintained in dev/helpers-json/*.json during development
  • Developers modify JSON files, then import to database when complete
  • Each helper includes used_by_directives field for relationship mapping
  • Database import script populates aimfp_core.db from JSON files before release
  • Production: Users query aimfp_core.db (pre-populated), NOT JSON files
  • JSON files are dev-only staging area, never shipped with package

Read-Only Philosophy: This database is version-controlled and immutable once deployed. AI reads from it but never modifies it.

project.db (Per-Project, Mutable)

Location: /.aimfp-project/project.db

Purpose: Persistent state for a single AIMFP project. Tracks code structure, tasks, and runtime notes.

Key Tables:

  • project: High-level metadata (name, purpose, goals, status, user_directives_status, last_known_git_hash)
  • files, functions, interactions: Code structure tracking
  • themes, flows: Organizational groupings
  • completion_path, milestones, tasks, subtasks, sidequests, items: Hierarchical roadmap
  • task_files: Files worked on for each task/subtask/sidequest — linked automatically while the item is in progress
  • modules, module_files, file_flows: Reusable code boundaries and file-to-flow assignments
  • notes: Runtime logging with optional directive context (source, severity, directive_name)
  • types: Algebraic data types (ADTs)
  • infrastructure: Project setup (language, packages, testing)
  • work_branches: Git collaboration metadata (user, purpose, merge strategy)
  • merge_history: FP-powered merge conflict resolution audit trail

User Directives Integration: The project.user_directives_status field tracks whether user directives are initialized (NULL/in_progress/active/disabled), allowing aimfp_run and aimfp_status directives to include user directive context when active.

Enhanced Notes: The notes table now includes source (user/ai/directive), directive_name (optional context), and severity (info/warning/error) for better traceability.

user_preferences.db (Per-Project, Mutable)

Location: /.aimfp-project/user_preferences.db

Purpose: User-specific AI behavior customizations and opt-in tracking features.

**Ke

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx