ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

AIMFP

โดย aryanduntleyรุ่น 1.70.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.aryanduntley/aimfp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ฐานข้อมูลและชุดข้อมูล

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

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

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add aimfp -- uvx aimfp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub aryanduntley ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 954 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 86% ของอีก 954 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 954 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

AIMFP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.70.0) เข้า registry 6 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

โดย supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

บนเครื่องหรือคลาวด์★ 2,993Apache-2.0อัปเดต วันนี้
ติดตั้ง

MongoDB MCP Server

โดย mongodb-js

MongoDB Model Context Protocol Server

รันบนเครื่อง★ 1,157Apache-2.0อัปเดต เมื่อวานซืน
ติดตั้ง

Elasticsearch MCP Server

โดย cr7258

MCP server for interacting with Elasticsearch

รันบนเครื่อง★ 315Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx