プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Aifp

作者:aryanduntleyバージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.aryanduntley/aifp

インストール

概要

作者による説明(英語の原文)

Database-driven FP enforcement and project management for AI-maintained codebases

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 文書・表計算・事務作業

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add aifp -- uvx aifp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント aryanduntley で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

文書・表計算・事務作業のほかのサーバーとの比較i

  • このカテゴリのほかの3529件のうち0%よりスターが多い
  • このカテゴリのほかの3529件のうち2%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3529件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Aifpは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは9 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

パソコンで動く★ 4,276MIT7 日前更新
インストール

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

パソコンで動く★ 847MIT4 日前更新
インストール

作者の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に聞く