MCP 원격 서버(Node.js 버전)
이는 BluestoneApps 코딩 표준 및 예제 MCP 서버의 Node.js 구현입니다.
개요
이 MCP 서버는 모델 컨텍스트 프로토콜(MCP)을 통해 React Native 코딩 표준 및 코드 예제에 대한 액세스를 제공합니다. Windsurf IDE와 같은 MCP 클라이언트와 함께 사용할 수 있습니다.
특징
- React Native 코딩 표준에 대한 액세스
- 컴포넌트, 후크, 화면, 서비스 및 테마 코드 예제
- 이름으로 예를 찾기 위한 퍼지 매칭
- MCP 프로토콜과의 완벽한 통합
설치
- 이 저장소를 복제하세요
- 종속성 설치:지엑스피1
- 프로젝트를 빌드하세요:
용법
서버를 시작합니다:
MCP 클라이언트와 함께 사용하려면 이 서버에 연결하도록 구성하세요.
도구
서버는 다음과 같은 도구를 제공합니다.
get_project_structure
: 프로젝트 구조 표준 가져오기get_api_communication
: API 통신 표준 가져오기get_component_design
: 컴포넌트 디자인 표준 가져오기get_state_management
: 상태 관리 표준 가져오기get_component_example
: 특정 구성 요소 예제 가져오기get_hook_example
: 특정 후크 예제 가져오기get_service_example
: 특정 서비스 예제를 가져옵니다get_screen_example
: 특정 화면 예시를 가져옵니다get_theme_example
: 특정 테마 예시를 가져옵니다list_available_examples
: 사용 가능한 모든 코드 예제를 나열합니다.
MCP 클라이언트로 구성
Windsurf IDE의 경우 mcp_config.json
다음과 같이 업데이트합니다.
{
"servers": {
"bluestoneapps": {
"command": "node",
"args": ["/path/to/build/index.js"],
"description": "BluestoneApps Coding Standards and Examples",
"displayName": "BluestoneApps MCP Server",
"timeout": 30000
}
}
}