mcp-test
This document provides a guide to testing the interaction between a sample MCP Server and Claude Desktop (MCP Client).
mcp-test
Claude Desktop(MCP Client) μ΄μ©ν΄ μμ MCP Server κ° λμ ν μ€νΈλ₯Ό ν΄λ³΄μ
Skills
- Fastmcp
- uv ν¨ν€μ§
ν¨ν€μ§ μ€μΉ
- requirements.txtμ μλ ν¨ν€μ§ μ€μΉ
pip install -r requirements.txt
μμ μΌμ΄μ€ μ½λ
case1/
βββ rag/
βββ __init__.py
βββ base.py β RAG κ²μ μΆμν ν΄λμ€
βββ pdf.py β PDF νΉν RAG ꡬν
βββ config.py β κ²½λ‘ λ° μ€μ κ°
βββ auto_mcp_json.py β MCP μ€νμ μν config JSON μμ±κΈ°
βββ mcp_server.py β μ€μ MCP μλ² μ§μ
μ
μμ μΌμ΄μ€ μ§ν μ€ν μμ½
- PDF νμΌ /data/*.pdf μ λ£κΈ°
- .envμ OPENAI_API_KEY μ μ
- python auto_mcp_json.py μ€ν β mcp_config.json μμ±
- MCP λ°νμμμ rag-mcp μ€ν
- MCPμ μ°κ²°λ ν΄λΌμ΄μΈνΈκ° semantic_search("What is LangChain?") 쿼리 μ μ‘
- κ²μ κ²°κ³Ό λ§ν¬λ€μ΄ ννλ‘ μλ΅
TODO
- μμ μΌμ΄μ€ μ°Έκ³ ν΄ λμ νμΈ
ν μ€νΈ κ²°κ³Ό
1μ°¨ κΈ°λ³Έ λμ νμΈ :: β μ μλμ
- λ°λͺ¨ MCP Serverλ₯Ό μμ±ν΄ Fastmcpλ‘ μ€μΉνκ³ , ν΄λ‘λ μ±μμ λμ νμΈ
β― fastmcp install mcp_server.py
# Demo MCP server
[03/28/25 23:26:48] INFO Added server 'Demo' to Claude config claude.py:125
INFO Successfully installed Demo in Claude app
open -a Claude
2μ°¨ μμμΌμ΄μ€ νμΈ :: β μ μλμ
# [1] MCP config μμ±
python case1/auto_mcp_json.py
# [2] μμ±λ config.jsonμ ν΄λ‘λ λ°μ€ν¬ν μ€μ μ 볡μ¬
# [3] ν΄λ‘λ λ°μ€ν¬ν μ€ν
open -a Claude
2μ°¨ μμμΌμ΄μ€ ν΄λ‘λ λ°μ€ν¬ν λμ μΊ‘μ³
1. μ°κ²° νμΈ
2. μ§λ¬Έ
Related MCP Servers
View all ai_chatbot servers βexa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
gateway
by centralmind
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI protocols, providing secure, LLM-optimized APIs.
osp_marketing_tools
by open-strategy-partners
A comprehensive suite of tools for technical marketing content creation, optimization, and product positioning based on Open Strategy Partners' proven methodologies.
mcp-server-calculator
by githejie
A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.
repomix
by yamadashy
Repomix is a tool that packs your codebase into AI-friendly formats, making it easier to use with AI tools like LLMs.
ai-agent-marketplace-index-mcp
by AI-Agent-Hub
MCP Server for AI Agent Marketplace Index from DeepNLP, allowing AI assistants to search available AI agents by keywords or categories.