프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Agent Pattern MCP

제작자: olk버전 1.0.4i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.olk/agent-pattern-mcp

설치

개요

제작자가 쓴 설명(영어 원문)

MCP server that provides AI agent pattern expertise for designing agent systems

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 기타
  • 입력해야 할 값: GENERATOR_API_KEY, EMBEDDER_API_KEY

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: GENERATOR_API_KEY, GENERATOR_PROVIDER, GENERATOR_MODEL, GENERATOR_BASE_URL, PATTERN_DIRECTORY, EMBEDDER_PROVIDER, EMBEDDER_BASE_URL, EMBEDDER_API_KEY, RERANKER_BASE_URL

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "agent-pattern": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GENERATOR_API_KEY",
        "-e",
        "GENERATOR_PROVIDER",
        "-e",
        "GENERATOR_MODEL",
        "-e",
        "GENERATOR_BASE_URL",
        "-e",
        "PATTERN_DIRECTORY",
        "-e",
        "EMBEDDER_PROVIDER",
        "-e",
        "EMBEDDER_BASE_URL",
        "-e",
        "EMBEDDER_API_KEY",
        "-e",
        "RERANKER_BASE_URL",
        "docker.io/olkowa/agent-pattern-mcp:1.0.4",
        "--transport",
        "stdio"
      ],
      "env": {
        "GENERATOR_API_KEY": "your-value",
        "GENERATOR_PROVIDER": "your-value",
        "GENERATOR_MODEL": "your-value",
        "GENERATOR_BASE_URL": "your-value",
        "PATTERN_DIRECTORY": "your-value",
        "EMBEDDER_PROVIDER": "your-value",
        "EMBEDDER_BASE_URL": "your-value",
        "EMBEDDER_API_KEY": "your-value",
        "RERANKER_BASE_URL": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add agent-pattern --env GENERATOR_API_KEY=your-value --env GENERATOR_PROVIDER=your-value --env GENERATOR_MODEL=your-value --env GENERATOR_BASE_URL=your-value --env PATTERN_DIRECTORY=your-value --env EMBEDDER_PROVIDER=your-value --env EMBEDDER_BASE_URL=your-value --env EMBEDDER_API_KEY=your-value --env RERANKER_BASE_URL=your-value -- docker run -i --rm -e GENERATOR_API_KEY -e GENERATOR_PROVIDER -e GENERATOR_MODEL -e GENERATOR_BASE_URL -e PATTERN_DIRECTORY -e EMBEDDER_PROVIDER -e EMBEDDER_BASE_URL -e EMBEDDER_API_KEY -e RERANKER_BASE_URL docker.io/olkowa/agent-pattern-mcp:1.0.4 --transport stdio

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "agent-pattern": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GENERATOR_API_KEY",
        "-e",
        "GENERATOR_PROVIDER",
        "-e",
        "GENERATOR_MODEL",
        "-e",
        "GENERATOR_BASE_URL",
        "-e",
        "PATTERN_DIRECTORY",
        "-e",
        "EMBEDDER_PROVIDER",
        "-e",
        "EMBEDDER_BASE_URL",
        "-e",
        "EMBEDDER_API_KEY",
        "-e",
        "RERANKER_BASE_URL",
        "docker.io/olkowa/agent-pattern-mcp:1.0.4",
        "--transport",
        "stdio"
      ],
      "env": {
        "GENERATOR_API_KEY": "your-value",
        "GENERATOR_PROVIDER": "your-value",
        "GENERATOR_MODEL": "your-value",
        "GENERATOR_BASE_URL": "your-value",
        "PATTERN_DIRECTORY": "your-value",
        "EMBEDDER_PROVIDER": "your-value",
        "EMBEDDER_BASE_URL": "your-value",
        "EMBEDDER_API_KEY": "your-value",
        "RERANKER_BASE_URL": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "agent-pattern": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GENERATOR_API_KEY",
        "-e",
        "GENERATOR_PROVIDER",
        "-e",
        "GENERATOR_MODEL",
        "-e",
        "GENERATOR_BASE_URL",
        "-e",
        "PATTERN_DIRECTORY",
        "-e",
        "EMBEDDER_PROVIDER",
        "-e",
        "EMBEDDER_BASE_URL",
        "-e",
        "EMBEDDER_API_KEY",
        "-e",
        "RERANKER_BASE_URL",
        "docker.io/olkowa/agent-pattern-mcp:1.0.4",
        "--transport",
        "stdio"
      ],
      "env": {
        "GENERATOR_API_KEY": "your-value",
        "GENERATOR_PROVIDER": "your-value",
        "GENERATOR_MODEL": "your-value",
        "GENERATOR_BASE_URL": "your-value",
        "PATTERN_DIRECTORY": "your-value",
        "EMBEDDER_PROVIDER": "your-value",
        "EMBEDDER_BASE_URL": "your-value",
        "EMBEDDER_API_KEY": "your-value",
        "RERANKER_BASE_URL": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • GENERATOR_API_KEY 비밀 필수 env
    API key for the generator LLM (LiteLLM provider).
  • GENERATOR_PROVIDER env
    LiteLLM provider prefix, e.g. openai, anthropic, openrouter, minimax.
  • GENERATOR_MODEL env
    Model name, combined as / via LiteLLM.
  • GENERATOR_BASE_URL env
    OpenAI-compatible base URL (LiteLLM api_base).
  • PATTERN_DIRECTORY env
    Directory with *-pattern.json files. The image bakes the 61-pattern catalog at /app/pattern.
  • EMBEDDER_PROVIDER env
    Embedding backend for pattern retrieval: tei, openai, ollama, vllm or hosted_vllm.
  • EMBEDDER_BASE_URL env
    Embedder endpoint. For TEI sidecars on the host use http://host.docker.internal:8080/v1 (add --add-host=host.docker.internal:host-gateway on Linux).
  • EMBEDDER_API_KEY 비밀 env
    API key for the embedder. Required for startup even with keyless TEI; use 'not-needed' there.
  • RERANKER_BASE_URL env
    TEI cross-encoder reranker endpoint used during pattern retrieval.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 olk 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 32433개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 32433개 중 59%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 32433개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Agent Pattern MCP, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: GENERATOR_API_KEY, EMBEDDER_API_KEY

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.4)은 27일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Spec Driven Development

제작자: formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

내 컴퓨터에서 실행★ 440MIT14개월 전 업데이트
설치

Remote Desktop Commander

제작자: desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

클라우드에서 실행★ 211어제 업데이트
설치

Symantec Cloud DLP AIops

제작자: AIops-tools

Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.

내 컴퓨터에서 실행오늘 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

agent-pattern-mcp

An MCP (Model Context Protocol) server that provides agent system design expertise to AI coding agents. Given a requirements string and a domain, it analyses the problem, selects matching agent patterns (from 68 built-in patterns), generates a concrete agent system design with agents, relationships, tool contracts, state models, and message contracts, and evaluates it against quality attributes (reliability, cost efficiency, latency, output quality, observability, safety, simplicity). Coding agents that write the implementation themselves can call analyze_agent_system for topology and scored-pattern guidance without generating a design.


Table of Contents

  • ⚡ Quickstart
  • Install via AI Agent
  • 🔌 Connect Your Agent
  • Claude Code
  • OpenCode
  • Codex CLI
  • 🧑🏫 SKILL for AI Agents
  • 🧪 Use the Tools
  • Design your first agent system
  • Explore the pattern catalog
  • 🛠️ Tools at a Glance
  • 📖 Pattern Catalog
  • Install Alternatives
  • Docker (manual)
  • Local Development (uv)
  • Configuration
  • Structured Reasoning (shannonthinking / code-reasoning)
  • Extending with Custom Patterns
  • Long-running tools & timeouts
  • Troubleshooting
  • Building & Development
  • Publishing
  • systemd Service (Linux)
  • License

⚡ Quickstart

# 1. Clone

git clone https://github.com/olk/agent-pattern-mcp.git && cd agent-pattern-mcp

2. Add your API key (the dev compose reads MINIMAXAI_API_KEY and pins

GENERATOR_PROVIDER=minimax)

export MINIMAXAI_API_KEY=sk-...

3. Start (needs images: make docker-build-all once, or prebuilt pulls

per INSTALL.md Path A)

docker compose -f docker/docker-compose.yml up -d

4. Demo (analyze-only: fast. For the full design: make client-design)

make client-analyze

Server starts on streamable-http at http://localhost:8821/mcp (dev compose host port; systemd uses 8811). Then connect your agent below.


Install via AI Agent

To have an AI coding agent install the Docker stack from prebuilt images (no local build), point it at [INSTALL.md](INSTALL.md) — the non-interactive agent runbook (copy-paste commands, expected outputs, verification probes).

Clone this repo, then follow INSTALL.md Path A (compose stack, port 8821).

My generator API key is: sk-...

Pick one path in INSTALL.md:

  • Path A — Compose stack (:8821): evaluating / developing, no sudo needed. Own TEI sidecar copies.
  • Path B — systemd stack (:8811): persistent host service, starts at boot, needs sudo. Uses the shared pattern-tei-infra TEI stack.

The agent needs a repo clone, Docker ≥ v2.20 with group membership, ~5 GB free, a MINIMAXAI_API_KEY (or another provider per INSTALL.md#switching-the-generator-llm), and linux/amd64 (on arm64 it builds locally via make docker-build-all). After install, continue with Connect Your Agent below.


🔌 Connect Your Agent

Claude Code
# Install (one-time)

uv pip install -e .

Run as stdio subprocess — pass API key via env

claude mcp add agent-pattern \ -e GENERATOR_API_KEY=your_key \ -e GENERATOR_PROVIDER=openai \ -- agent-pattern-mcp --transport stdio

Or add to your project for the whole team:

claude mcp add --scope project agent-pattern \

-e GENERATOR_API_KEY=your_key \ -- agent-pattern-mcp --transport stdio

OpenCode

OpenCode uses HTTP transport. Start the server first, then configure opencode:

# Terminal 1: start the server

docker compose -f docker/docker-compose.yml up --build # serves :8821

or locally on the same port:

uv run python -m src.main --port 8821

Terminal 2: add to ~/.config/opencode/opencode.json

{

"$schema": "https://opencode.ai/config.json", "mcp": { "agent-pattern": { "type": "remote", "url": "http://localhost:8821/mcp" } } }

Note: GENERATOR_API_KEY is read from the server's config file (~/.config/agent-pattern-mcp/config.json), not from opencode's environment.

Codex CLI
# Install (one-time)

uv pip install -e .

Add to ~/.codex/config.toml:

[mcp_servers.agent-pattern]

command = "agent-pattern-mcp" args = ["--transport", "stdio"]

[mcp_servers.agent-pattern.env] GENERATOR_API_KEY = "your_key" GENERATOR_PROVIDER = "openai"

Or via CLI:

codex mcp add agent-pattern \

-e GENERATOR_API_KEY=your_key \ -- agent-pattern-mcp --transport stdio


🧑🏫 SKILL for AI Agents

The SKILL in skills/agent-pattern-mcp/ is written for Oh My Pi (OMP), where this server's tools are reached as xd://mcp__agent_pattern_* devices and every MCP request is bounded by a deadline (OMP_MCP_TIMEOUT_MS → per-server timeout → 30 s). It teaches the agent which entry point fits that deadline, how to read the results, and the full workflow recipes.

skills/agent-pattern-mcp/

├── SKILL.md # OMP constraints, entry-point decision guide, device quick reference └── references/ ├── tools.md # 9 tool signatures, output schemas, error codes, design-dict shape └── workflows.md # recipes, result interpretation, OMP troubleshooting

Install for OMP — copy the skill directory into the user skills root, or point skills.customDirectories at this repository's skills/ directory in OMP's config:

cp -r skills/agent-pattern-mcp ~/.omp/agent/skills/

The skill then tells the agent:

  • Which entry point fits OMP's deadline: the async job trio by default, one-shot design_agent_system only after raising the server's timeout (every LLM tool aborts under the 30 s default — submit_agent_design_job answers in ~0.05 s)
  • That analyze_agent_system is the analysis-only path for coding agents that write the code themselves — topology, scored patterns, quality metrics, no design generated — while design_agent_system is for callers that want the design artifact
  • How to phrase requirements, domain, and topology as separate structured arguments
  • How to interpret final_quality_score, attempts > 1, and evaluation.recommendations
  • That read mcp://pattern://… is ambiguous while the sibling architecture-pattern server is connected, so the tool route (get_agent_pattern) is authoritative

The tool schemas, error codes and design-dict shape in references/ are client-agnostic; only the deadline/device guidance is OMP-specific.


🧪 Use the Tools

All tools accept requirements (free text) and domain (e.g. tool-use-tasks, data-processing, customer-support) as arguments. The examples below show the exact tool call shape so you can use them in any MCP client or API consumer.

Design your first agent system

In Claude Code (or any MCP client), paste the natural-language instruction:

Build a research assistant agent that answers multi-hop questions by combining

web search results with sandboxed Python computation, iterating until it can synthesise a final cited answer.

Your agent calls design_agent_system internally. The server returns a full agent system design: agents (planner, searcher, coder, synthesizer), quality attribute scores (reliability: 8.0, output_quality: 8.5, …), and specific recommendations.

That is the design path: the server's LLM generates the design artifact for you, which is why a call takes minutes. If your agent writes the implementation itself and only needs the pattern expertise, call analyze_agent_system instead — it returns the recommended topology, the selected patterns with scores, quality_metrics (per-attribute 0–10), and matched domains without generating a design, so the generate and evaluate phases never run. Measured basis: a single live analyze_agent_system call on this host returned in 23.3 s, while the committed full-pipeline corpus measured p50 ≈ 304 s and p95 ≈ 375 s over 20 scenarios (benchmarks/base/summary.json).

Or call tools directly from your agent:

Call analyze_agent_system with:

requirements: "Research assistant combining web search with sandboxed code execution for multi-hop questions" domain: "tool-use-tasks"

Call generate_agent_system with: requirements: "Research assistant: decompose into sub-questions, search or code per sub-question, synthesise cited answer" domain: "tool-use-tasks" selected_patterns: ["react"]

Call evaluate_agent_system with: agent_system: { ... paste a design dict here ... } criteria: "reliability, safety"

Call list_agent_patterns() # all 68 patterns Call list_agent_patterns(category="multi_agent") # filter by category Call get_agent_pattern(name="supervisor-worker") # full pattern JSON

Async job pattern: submit_agent_design_job + get_agent_design_status

ONLY for clients with short request timeouts (Cursor, Claude Desktop, TS-SDK). The default design path is design_agent_system with heartbeat defence. submit_agent_design_job returns a job_id immediately; poll get_agent_design_status until done:

# Step 1: start the job

Call submit_agent_design_job with: requirements: "Research assistant combining web search with sandboxed code execution for multi-hop questions" domain: "tool-use-tasks"

Step 2: poll every 10-30 seconds

Call get_agent_design_status with: job_id: " "

→ status is "pending" | "running" | "completed" | "failed" | "cancelled"

When status is "completed", the full design is in result.design

When status is "failed", the error is in result.error

In Python (via the MCP HTTP API directly — see examples/agent_client_async.py):

import asyncio

from fastmcp import Client

SERVER = "http://localhost:8821/mcp" POLL_EVERY = 15 # seconds

async def main(): async with Client(SERVER) as client:

Start

started = await client.call_tool("submit_agent_design_job", { "requirements": "Research assistant: web search + sandboxed code for multi-hop questions", "domain": "tool-use-tasks", }) job_id = started.data["job_id"] print(f"Job started: {job_id}")

Poll

while True: await asyncio.sleep(POLL_EVERY) status = await client.call_tool("get_agent_design_status", {"job_id": job_id}) data = status.data print(f" status={data['status']} message={data['message']}") if data["status"] in ("completed", "failed", "cancelled"): break

print(data.get("result", data)) # full design when completed

See examples/agent_client_async.py for the complete runnable example. Run it with:

docker compose -f docker/docker-compose.yml up --build   # Terminal 1

make client-async # Terminal 2

Explore the pattern catalog
Call list_agent_patterns() with no filters to see all patterns.

Or get details on a specific pa

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기