
peppemas/mcp_server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
peppemas/mcp server는 https://github.com/peppemas/mcp_server.]에서 가져온 MCP 서버 후보입니다
개요
peppemas/mcp server는 https://github.com/peppemas/mcp_server.]에서 가져온 MCP 서버 후보입니다
개요(AI 번역)
Pluggable 모듈 아키텍처를 가진 Model Context Protocol Server의 C++ 구현.
| 서버 | 리소스 | Prompts | 도구 | 샘플링 | 알림 | 루트 | Elicitation | |------------|-------|---------|-------|------|-------|-------|-------|-------|-------|| | MCP-SERVER | ✅* | ✅ | ❌ | ✅** | ❌ | ❌ |
* 리소스 템플릿은 아직 지원되지 않습니다.
** 부분적으로 지원
Claude 코드 구성
Setup 로그 디렉토리
기본적으로 mcp 서버가 ./logs 디렉토리에 로그인합니다 (MUST BE EXISTS)
-l] 명령줄 옵션을 사용하여 선호한 dir로 로그인할 수 있습니다.
지원된 수송
| 교통 | 지원 | 허가 |
|---|---|---|
| 스트라이크 | ✅ | |
| 인포메이션 | ||
| 인포메이션 | ✅ | ❌ |
지원 플랫폼
| 플랫폼 | 지원 | Compiler |
|---|---|---|
| 윈도우 | ✅ | MINGW64 |
| 우분투 리눅스 | ✅ | GCC |
| 맥 OS | ✅ | GCC |
컴파일하는 방법
당신의 국부적으로 기계에 저장소를 복제하십시오
뚱 베어
MCP 서버 아키텍처
MCP Server는 Model Context Protocol을 구현하여 모듈 및 확장 가능한 아키텍처를 가능하게 합니다. 이름 *
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
CPP MCP-SERVER
A C++ implementation of a Model Context Protocol Server with a pluggable module architecture.
| Server | Resources | Prompts | Tools | Sampling | Notifications | Roots | Elicitations |
|---|---|---|---|---|---|---|---|
| MCP-SERVER | ✅* | ✅ | ✅ | ❌ | ✅** | ❌ | ❌ |
* Resource Templates aren’t supported yet
** Partially supported
Claude Code Configuration
claude mcp add --transport http cpp_mcp_server http://localhost:8080/mcp
Setup Logs Directory
By default, the mcp server logs into ./logs directory (MUST BE EXISTS)
You can redirect logs into your preferred dir using the -l command line option.
Supported Transports
| Transport | Supported | Authorization |
|---|---|---|
| Stdio | ✅ | ❌ |
| SSE | ✅ | ❌ |
| HttpStream | ✅ | ❌ |
Supported Platforms
| Platform | Supported | Compiler |
|---|---|---|
| Windows | ✅ | MINGW64 |
| Ubuntu Linux | ✅ | GCC |
| Mac OS | ✅ | GCC |
How to compile
Clone the repository on your local machine
git clone https://github.com/peppemas/mcp_server.git
Compile
cd mcp_server
mkdir build
cd build
cmake ..
make
MCP Server Architecture
The MCP Server is designed to implement a Model Context Protocol, enabling a modular and extensible architecture. Below is an overview of the project’s architecture:
Core Components
-
Server Core:
The central component of the server that handles the initialization and management of all major functionalities, including communication with clients, logging, and plugin management. -
Command-Line Interface:
Provides command-line arguments for configuration:-n: Specifies the name of the server to expose to clients. (optional)-p: Sets the path to the plugins directory where to search the plugins (it searches also in subdirectories).-l: Sets the path to the log directory.
-
Plugin System:
The server is designed to load plugins dynamically from a specified directory (-pargument). Each plugin extends the server’s functionality, allowing for future expansion without modifying the core codebase. -
Logging Module:
Logging is centralized, with logs stored in the directory specified by the-lparameter. This enhances debugging and monitoring of the server’s activity.
Execution Flow
-
Initialization:
- The server starts by parsing the command-line arguments to configure the server name, plugin directory, and logs directory.
- Logs are initialized, and the plugin system is prepared.
-
Plugin Loading:
- Plugins from the specified directory are identified and loaded dynamically.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"mcp-server": {
"command": "C:\\mcp-server\\mcp_server.exe",
"args": [
"-n","developer-server",
"-l","C:\\mcp-server\\logs",
"-p","C:\\mcp-server\\plugins"
],
"env": {
"CUSTOM_API_KEY_1": "your-api-key-here",
"CUSTOM_API_KEY_2": "your-api-key-here",
"SAVE_DIR": "/path/to/save/directory"
}
}
}
}