Architect MCP Serverのロゴ

Architect MCP Server

コミュニティ
ageborn-dev

A powerful, self-extending MCP server for dynamic AI tool orchestration. Features sandboxed JS execution, capability-based security, automated rate limiting, marketplace integration, and a built-in monitoring dashboard. Built for the Model Context Protocol (MCP).

公開者ageborn-dev
リポジトリarchitect-mcp-server
言語TypeScript
フォーク
4
スター
25
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Architect MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには25件のスターと4件のフォークがあります。

Architect MCP Server

The AI agent workshop that builds its own tools.


🚀 What is Architect?

AI agents are incredibly smart, but they hit a wall when they need a tool that doesn't exist yet. Architect MCP removes that wall.

Instead of giving your AI agent a fixed, rigid toolbox, you give it an entire workshop. If your agent needs to call an unconventional API, parse an obscure file format, or hook into a database, it simply writes a custom tool for it on the fly.

Once approved by you, that tool runs securely in an isolated sandbox. The next time your agent hits the same problem? The customized tool is already there, ready to go.


✨ Key Features

  • Automated Tool Creation: Agents construct, test, and permanently save their own JavaScript tools on the fly.
  • Ironclad Security & Sandboxing: Every custom tool is executed in a highly restricted sandbox. Network or file system access requires explicit user approval through granular capability scopes.
  • Built-in Web Dashboard: A beautiful, real-time dashboard UI (running on port 3001 out of the box). Manage your active tools, watch execution logs unfold in real time, monitor failures, and securely manage secrets.
  • Cron Scheduling: Not just for manual use! Agents can set up custom tools to run on cron schedules or build continuous background pipelines.
  • Global Marketplace: Why build from scratch if someone else already did? Agents can search (marketplace_browse), install (marketplace_install), and even share your creations (marketplace_publish) using a GitHub token.
  • Persistent Data Layer: Built-in, blazing-fast SQLite storage to manage tools, run logs, and execution states reliably.

🛠️ Getting Started

1. Simple Local Setup

You can get running in seconds if you have Node.js installed.

bash
npm install
npm run build
npm start

Or once published to npm, run it with zero setup:

bash
npx architect-mcp-server

MCP client config (Claude Desktop / Claude Code / Cursor):

json
{
  "mcpServers": {
    "architect": {
      "command": "npx",
      "args": ["architect-mcp-server"]
    }
  }
}

(Pro-tip: For development, use npm run dev to enable auto-restarts.)

2. Docker Setup (Recommended)

Don't want to mess with Node environments? Just spin it up with Docker Compose:

bash
docker compose up -d

Your data and tools remain safe inside persistent Docker volumes, and the dashboard is instantly available at http://localhost:3001.


⚙️ Gateway API (Token Optimization)

Every exposed MCP tool costs context tokens in the AI client's session. Architect exposes its entire management surface through just 8 gateway tools (~2K tokens total instead of ~23K for 170+ individual tools):

GatewayCovers
toolcreate, update, validate, approve, activate, test, version, templates, import/export
findlist, search, view source, dependency graph, intent matching
runbatches, aliases, pipelines
automatecron schedules, webhooks
storesecrets, key-value memory, MCP resources and prompts
sharemarketplace publish/browse/install, peers
adminstats, audit logs, caches, anomalies, personas, system status
browserall browser automation actions

Each gateway is called as {action: "<name>", args: {...}}. Calling {action: "help"} lists available actions; {action: "help", args: {action: "create_tool"}} returns that action's full parameter schema. Custom tools created by agents are always registered as directly callable MCP tools.

The webhook server (port 3002) starts on demand — when a webhook exists or is created.

Security: capability approvals are bound to a SHA-256 hash of the tool's code and imports. Any code change invalidates the approval and the tool must be re-approved — a tool can never silently inherit permissions for new code. Imported tools never carry their own permissions.

🧱 Sandbox Execution

Tool code runs in a pool of reusable child processes, not in the main server process:

  • Real isolation — each tool executes in a separate OS process with its own memory, in a fresh vm context per execution (no state leaks between tools).
  • Hard timeouts — a runaway tool (even an infinite loop) is killed at the process level, not just signalled.
  • Per-process memory cap — enforced via --max-old-space-size.
  • Brokered capabilities — net, fs, child_process, env, secrets, and callTool are never available inside the sandbox directly; the child sends a request to the parent, which enforces the approved capability scope and performs the operation. The sandbox only ever sees results it is allowed to see.
  • Warm pool — processes are reused across calls (recycled after a set number of executions or after any timeout), so there is no per-call spawn cost.

Tunable via environment variables: ARCHITECT_SANDBOX_POOL (max processes, default 4), ARCHITECT_SANDBOX_MAX_EXEC (executions before recycle, default 50), ARCHITECT_SANDBOX_MEMORY_MB (heap cap per process, default 128).

🛡️ Trust & Reliability

  • Secret redaction — tool outputs, logs, and error messages are scanned for stored secret values before being returned to the AI; matches are replaced with [REDACTED:NAME], blocking prompt-injection exfiltration.
  • Test-gated activation — if a tool has test cases, they must pass in the sandbox before the tool activates (create_tool, save_tool, and templates all enforce this). Pass tests as a JSON array: [{name, input, expect?, expectError?}].
  • Signed exports — export_tool signs the tool with a local ed25519 key; import_tool refuses any signed export whose content was tampered with, and labels unsigned imports as untrusted.
  • Atomic writes — version snapshot and tool write happen in a single SQLite transaction; schema migrations run automatically on startup.
  • Quarantine — tools that fail to load (corrupt data, stale approvals) are quarantined and listed in get_system_status instead of silently skipped.
  • Health & rotation — GET http://localhost:3001/health for liveness; the audit log is automatically capped (default 10,000 rows, tune with ARCHITECT_AUDIT_MAX_ROWS).
  • Encryption and signing keys live in data/ (never committed or published).

🧠 How the Workflow Looks

  1. Create: Your AI agent needs to accomplish something new, so it writes the JavaScript code to do it.
  2. Review & Approve: You review the tool's requested permissions and click "Approve", granting it secure network or file access. No rogue scripts allowed.
  3. Execute: The agent runs its shiny new tool safely inside the isolated sandbox.
  4. Automate & Share: The agent can set the tool to run on a schedule, chain it with other tools, or publish it to the global marketplace.

Built with ❤️ and mass amounts of coffee by Ageborn Dev.
Because agents should be builders, not just users.

インストール

TypingMind
{
  "mcpServers": {
    "architect-mcp-server": {
      "command": "npx",
      "args": [
        "architect-mcp-server"
      ]
    }
  }
}

Architect MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Architect MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Architect MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Architect MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "architect-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "architect-mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてArchitect MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Architect MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Architect MCP Serverを使ってこのタスクを手伝ってもらえますか?
Architect MCP Server
はい、読みました。
Architect MCP Serverで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

Architect MCP Serverがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを貼り付けてください。
  2. Architect MCP Serverの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. Architect MCP Serverの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でArchitect MCP Serverのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でArchitect MCP Serverのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Architect MCP Serverを使ってこのタスクを手伝ってもらえますか?
Architect MCP Server
はい、読みました。
Architect MCP Serverで調べた結果をお伝えします。

よくある質問

Architect MCP Server MCPサーバーは何に使いますか?

Architect MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでArchitect MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでArchitect MCP Serverを利用できます。

TypingMindでArchitect MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Architect MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Architect MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Architect MCP Serverは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでArchitect MCP Server MCPのどのようなツールを利用できますか?

Architect MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Architect MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Architect MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇