MCP: AI 에이전트를 모든 것에 연결하기

MCP: Connecting AI Agents to Everything

Model Context Protocol 개념 · 생태계 · Claude Code 로컬 연결 · MATLAB 사례
Model Context Protocol Concepts · Ecosystem · Claude Code Local Integration · MATLAB Case Study
2026-04-15 MCP MATLAB 사례 포함 With MATLAB Case Study
Agentic AI 개념 Agentic AI Concepts MCP 생태계 (현재) MCP Ecosystem (current) AI 개발 시스템 AI Dev System

1. MCP란?

1. What is MCP?

Model Context Protocol(MCP)은 AI 에이전트와 외부 시스템을 연결하는 표준 인터페이스다. USB-C가 다양한 기기를 하나의 포트로 연결하듯, MCP는 AI 에이전트가 파일시스템, 데이터베이스, API, 외부 도구를 동일한 방식으로 호출할 수 있게 한다.

Model Context Protocol (MCP) is a standard interface connecting AI agents to external systems. Like USB-C connects diverse devices through one port, MCP lets AI agents call file systems, databases, APIs, and external tools in a uniform way.

AI Agent (MCP Client) Claude Code VS Code Copilot Gemini CLI Cursor / Windsurf MCP JSON-RPC stdio / SSE MCP Servers (도구 제공자) MCP Servers (Tool Providers) Filesystem Database MATLAB Git / GitHub Figma Notion / Slack Docker Web Search + 500+ Gmail Calendar Salesforce Amplitude Stripe Home Assistant ...
MCP: 하나의 프로토콜로 모든 외부 도구에 연결
MCP: One protocol to connect all external tools

MCP의 세 가지 기능

Three MCP Capabilities

기능Capability 역할Role 예시Example
Tools 에이전트가 동작을 실행. 부수 효과 가능 Agent performs actions. May have side effects 코드 실행, 파일 쓰기, API 호출 Execute code, write files, call APIs
Resources 에이전트가 데이터를 읽기. 읽기 전용 Agent reads data. Read-only 코딩 가이드라인, DB 스키마, 설정 파일 Coding guidelines, DB schema, config files
Prompts 서버가 제공하는 재사용 가능한 템플릿 Server-provided reusable templates 코드 리뷰 템플릿, 분석 워크플로우 Code review template, analysis workflow
💡

MCP 이전: 각 도구마다 별도 API 클라이언트를 구현해야 했다. MCP 이후: 하나의 프로토콜을 구현하면 500개 이상의 도구에 즉시 연결. 에이전트 개발자는 도구 연동이 아닌 로직에 집중할 수 있다.

Before MCP: each tool required a separate API client. After MCP: implement one protocol, instantly connect to 500+ tools. Agent developers focus on logic, not integrations.

2. 아키텍처: Client ↔ Server

2. Architecture: Client ↔ Server

MCP는 Client-Server 모델이다. AI 에이전트(Client)가 MCP 서버에 JSON-RPC로 요청하고, 서버가 도구를 실행한 뒤 결과를 반환한다.

MCP uses a Client-Server model. The AI agent (Client) sends JSON-RPC requests to MCP servers, which execute tools and return results.

구성 요소Component 역할Role 예시Examples
MCP Client 사용자가 쓰는 AI 앱. 서버에 요청을 보낸다 AI app the user interacts with. Sends requests to servers Claude Code, VS Code, Cursor, Gemini CLI
MCP Server 외부 시스템을 MCP 프로토콜로 감싸는 래퍼 Wrapper exposing external systems via MCP protocol Filesystem, MATLAB, Figma, Notion, Git
전송 Transport Client와 Server 간 통신 방식 Communication method between Client and Server stdio (로컬), SSE (원격) stdio (local), SSE (remote)
⚠️

stdio vs SSE: 로컬 MCP 서버는 stdio(표준 입출력)로 연결한다. 프로세스가 로컬에서 직접 실행되므로 빠르고 보안이 높다. 원격 서버는 SSE(Server-Sent Events)를 사용한다.

stdio vs SSE: Local MCP servers connect via stdio (standard I/O). The process runs locally — fast and secure. Remote servers use SSE (Server-Sent Events).

3. MCP 생태계

3. MCP Ecosystem

2026년 현재 500개 이상의 MCP 서버가 존재한다. 주요 영역별 대표 서버를 정리한다.

As of 2026, 500+ MCP servers exist. Here are representative servers by category.

💻
개발 도구
Development
Git · GitHub · Docker
Filesystem · SQLite
⚙️
컴퓨팅
Compute
MATLAB · Python
Jupyter · Wolfram
🎨
디자인
Design
Figma · Canva
Excalidraw
📋
생산성
Productivity
Notion · Slack
Gmail · Calendar
📊
데이터
Data
PostgreSQL · Neon
Snowflake · BigQuery
☁️
인프라
Infrastructure
AWS · Vercel
Cloudflare · Stripe
📚

전체 MCP 서버 목록: github.com/modelcontextprotocol/servers · 커뮤니티 큐레이션: mcpservers.org

Full MCP server list: github.com/modelcontextprotocol/servers · Community curated: mcpservers.org

MATLAB MCP Core Server

MATLAB MCP Core Server

현재 관심있게 보고 있는 MCP 서버 중 하나로, MathWorks가 공식 제공하는 오픈소스 MCP 서버다. 로컬 MATLAB을 AI 에이전트가 직접 제어할 수 있다.

One of the MCP servers we're currently exploring — an official open-source server from MathWorks that lets AI agents directly control your local MATLAB installation.

도구Tool 기능Function
detect_matlab_toolboxesMATLAB 버전 + 설치된 Toolbox 목록MATLAB version + installed toolbox list
check_matlab_code.m 파일 정적 분석 (스타일, 성능, 보안)Static analysis of .m files
evaluate_matlab_codeMATLAB 코드 문자열 실행 + 결과 반환Execute code string + return results
run_matlab_file.m 스크립트 파일 실행Run .m script files
run_matlab_test_file단위 테스트 실행 + 리포트Run unit tests + report

4. Claude Code × MCP

4. Claude Code × MCP

일반 MCP 서버 연결

Connecting Any MCP Server

Claude Code는 MCP Client가 내장되어 있다. 명령 한 줄이면 어떤 MCP 서버든 등록할 수 있고, 세션에서 자연어로 도구를 호출한다.

Claude Code has a built-in MCP Client. One command registers any MCP server, and you call tools via natural language in your session.

# MCP 서버 추가 (stdio transport)
claude mcp add --transport stdio [name] -- /path/to/server-binary [args...]

# 등록된 서버 확인
claude mcp list

~/.claude/settings.json 또는 프로젝트 .claude/settings.local.json에서 관리한다.

Managed in ~/.claude/settings.json or project-level .claude/settings.local.json.

// settings.json 예시 — Filesystem 서버
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-filesystem", "/allowed/path"],
      "transport": "stdio"
    }
  }
}

MATLAB MCP 서버 연결

Connecting MATLAB MCP Server

일반 MCP 연결과 동일한 방식으로 MATLAB을 등록한다. 이후 Claude Code 세션에서 자연어로 MATLAB 코드 실행, 분석, 테스트를 요청할 수 있다.

Register MATLAB the same way as any MCP server. Then request MATLAB code execution, analysis, and testing via natural language in your Claude Code session.

# MATLAB MCP 서버 등록
claude mcp add --transport stdio matlab -- /path/to/matlab-mcp-core-server \
  --initialize-matlab-on-startup true

# 이후 세션에서:
# "이 .m 파일 코드 리뷰해줘" → check_matlab_code 자동 호출
# "FFT 결과 플롯해줘" → evaluate_matlab_code 자동 호출
Claude Code (CLI) > claude MCP Client 내장 Built-in MCP Client settings.json stdio Filesystem · Git · DB 일반 MCP 서버 General MCP Servers MATLAB MCP Server 커스텀 MCP (Python/TS) Custom MCP (Python/TS) 💻 로컬 머신 (stdio) 💻 Local machine (stdio) Remote (SSE) Notion · Slack · Gmail Figma · Canva
Claude Code에서 일반 MCP + MATLAB MCP + 원격 서버 동시 연결
Claude Code: general MCP + MATLAB MCP + remote servers simultaneously

Agentic 워크플로우: Claude Code가 MATLAB MCP를 통해 코드 작성 → 실행 → 결과 확인 → 수정을 자율적으로 반복한다. 일반 MCP 서버(파일, Git)와 MATLAB MCP를 동시에 사용해 완전한 개발 루프를 구성할 수 있다.

Agentic workflow: Claude Code autonomously writes → executes → checks → iterates via MATLAB MCP. Combining general MCP servers (files, Git) with MATLAB MCP enables a complete development loop.

5. MATLAB MCP Core Server 상세

5. MATLAB MCP Core Server Details

MathWorks가 공식 제공하는 오픈소스 MCP 서버의 상세 사양이다. MATLAB R2020b 이상이 필요하며, Go 바이너리 또는 소스 빌드로 설치한다.

Detailed specifications of MathWorks' official open-source MCP server. Requires MATLAB R2020b+, installed via Go binary or source build.

Resources (코딩 가이드)

Resources (Coding Guides)

Resource URI 내용Content
Coding Guidelines guidelines://coding MATLAB 네이밍, 포맷, 성능 모범사례 MATLAB naming, formatting, performance best practices
Live Code Guidelines guidelines://plain-text-live-code Live Script 생성 규칙 (R2025a+) Live Script generation rules (R2025a+)

설정 옵션

Configuration Options

인자Argument 용도Purpose
--matlab-rootMATLAB 설치 경로 지정Specify MATLAB installation path
--initialize-matlab-on-startup세션 시작 시 MATLAB 즉시 실행Start MATLAB immediately on session start
--initial-working-folderMATLAB 시작 디렉토리 설정Set MATLAB's starting directory
--matlab-display-mode데스크톱 표시 여부 (desktop / nodesktop)Desktop visibility (desktop / nodesktop)

6. LightHarness × MCP

6. LightHarness × MCP

LightHarness는 Claude Pro 하나로 동작하는 경량 멀티 에이전트 오케스트레이터다. 이 시스템의 4-Tier 구조에서 MCP는 Tier 3~4의 로컬 도구 연결에 핵심 역할을 한다. 로컬 LLM, 외부 분석 도구, 자동화 스크립트를 MCP로 연결하면 Claude(Tier 1)의 토큰을 절약하면서 기능을 확장할 수 있다.

LightHarness is a lightweight multi-agent orchestrator running on a single Claude Pro subscription. In its 4-Tier architecture, MCP plays a key role in connecting local tools at Tier 3–4. Connecting local LLMs, analysis tools, and automation scripts via MCP extends capabilities while saving Claude (Tier 1) tokens.

Tier MCP 활용MCP Usage 예시Example
T1 MCP Client로서 모든 서버를 호출 Calls all servers as MCP Client Claude Code
T2 Gemini CLI도 MCP Client 지원 Gemini CLI also supports MCP Client Gemini + Filesystem MCP
T3 Groq/로컬 LLM을 MCP Server로 노출 Expose Groq/local LLM as MCP Server 커스텀 MCP 래퍼 Custom MCP wrapper
T4 단순 도구를 MCP Server로 연결 Connect simple tools as MCP Server MATLAB, Python scripts

7. 시작하기

7. Getting Started

# 단계Step 명령 / 행동Command / Action
1 MCP 서버 설치Install MCP server 바이너리 다운로드 또는 npm/pip install Download binary or npm/pip install
2 Claude Code에 등록Register in Claude Code claude mcp add --transport stdio [name] -- [path]
3 확인Verify claude mcp list
4 사용Use Claude Code 세션에서 자연어로 도구 호출 Call tools via natural language in Claude Code

나만의 MCP 서버 만들기

Build Your Own MCP Server

Python SDK 또는 TypeScript SDK로 커스텀 MCP 서버를 만들 수 있다. 내부 API, 사내 도구, 독자적인 분석 파이프라인을 MCP로 감싸면 어떤 AI 에이전트에서든 즉시 사용 가능하다.

Build custom MCP servers with Python SDK or TypeScript SDK. Wrap internal APIs, proprietary tools, or analysis pipelines with MCP to make them instantly usable from any AI agent.

SDK 언어Language 설치Install
Official Python pip install mcp
Official TypeScript npm install @modelcontextprotocol/sdk
JetBrains Kotlin JetBrains 공식 유지 Maintained by JetBrains