
iamrichardd/mcp-server-pinescript
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
문서 액세스 및 코드 검토 기능을 갖춘 PineScript v6 개발을위한 AI 최적화 MCP 서버
개요
AI-optimized Model Context Protocol (MCP)는 PineScript v6 개발을 위한 서버로, 포괄적인 문서 접근, 스타일 가이드 준수 및 AI 코딩 에이전트를 위해 특별히 설계된 코드 검토 기능을 제공합니다. : Memory-First 아키텍처를 통해 4,277x 빠른 데이터 액세스를 <15ms 응답 시간. : - 오류 감지 : SHORT TITLE TOO LONG (39 char > 10 limit) - 오류 감지 : INVALID PRECISION (15 > max allowed 8) - 성능 : Sub-15ms 응답 시간 - 출력 : 취약점 수준과 수정 제안이있는 JSON (pinescript reference): - JSON chunks를 통해 큰 결과 세트에 대한 스트리밍 - 기술 용어에 대한 향상된 키워드 일치 (pinescript review): - 전체 PineScript 프로젝트에 대한 디렉토리 지원 - 멀티 포맷 출력 (JSON, Markdown, 스트리밍) - Severity filtering (errors, warnings, 제안) - 큰 코덱을위한 실시간 스트리밍 - 100 %의 검증 규칙 ...
개요(AI 번역)
AI-optimized Model Context Protocol (MCP)는 PineScript v6 개발을 위한 서버로, 포괄적인 문서 접근, 스타일 가이드 준수 및 AI 코딩 에이전트를 위해 특별히 설계된 코드 검토 기능을 제공합니다.
Performance Metrics: 4,277x 10 한계를 가진 Memory-First 아키텍처를 통해 빠른 데이터 액세스)
- 오류 감지 : INVALID PRECISION (15 > 최대 허용 8)
- 성과: Sub-15ms 응답 시간
- 산출: severity 수준을 가진 Structured JSON 및 수정 제안
핵심 능력
문서 검색 (pinescript_reference):
- 457 기능 + 427 변수에 걸쳐 synonym 확장과 Semantic 검색
- JSON chunks를 통해 큰 결과 세트의 스트리밍 납품
- 기술 용어에 맞는 향상된 키워드
** 코드 리뷰** (pinescript_review):
- PineScript 프로젝트 전체 디렉토리 지원
- 멀티 포맷 출력 (JSON, Markdown, 스트리밍)
- Severity 필터링 (오류, 경고, 제안)
- 대용량 codebase를 위한 실시간 스트리밍
- 100% 시험 적용을 가진 9개의 유효 규칙
기본 사용 명령
** 코드 검증**:
** 문헌 연구 **:
프로젝트 리뷰:
Performance 검증:
통합 설정
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
PineScript MCP Documentation Server
AI-optimized Model Context Protocol (MCP) server for PineScript v6 development, providing comprehensive documentation access, style guide adherence, and code review capabilities specifically designed for AI coding agents.
Performance Metrics: 4,277x faster data access through memory-first architecture with <15ms response times.
Quick Start (2 minutes)
Installation & Verification:
# 1. Install and connect
npm install [email protected]:iamrichardD/mcp-server-pinescript.git
claude mcp add pinescript-docs node ./node_modules/mcp-server-pinescript/index.js
# 2. Verify connection
claude mcp list # Should show "pinescript-docs: Connected ✓"
# 3. Test validation (this code has deliberate errors)
claude -p "Use pinescript_review to check: //@version=6
indicator('RSI Test', shorttitle='RSI_INDICATOR_WITH_LONG_TITLE', overlay=false, precision=15)
plot(ta.rsi(close,14))"
# Expected: 2 errors detected in <15ms with actionable fixes
Verification Indicators:
- Error detection: SHORT_TITLE_TOO_LONG (39 chars > 10 limit)
- Error detection: INVALID_PRECISION (15 > max allowed 8)
- Performance: Sub-15ms response times
- Output: Structured JSON with severity levels and fix suggestions
Core Capabilities
Documentation Search (pinescript_reference):
- Semantic search with synonym expansion across 457 functions + 427 variables
- Streaming delivery for large result sets via JSON chunks
- Enhanced keyword matching for technical terms
Code Review (pinescript_review):
- Directory support for entire PineScript projects
- Multi-format output (JSON, Markdown, streaming)
- Severity filtering (errors, warnings, suggestions)
- Real-time streaming for large codebases
- 9 validation rules with 100% test coverage
Basic Usage Commands
Code Validation:
claude -p "Use pinescript_review to check this code: [your PineScript code]"
Documentation Research:
claude -p "Use pinescript_reference to search 'array functions'"
Project Review:
claude -p "Use pinescript_review with source_type=directory, directory_path=./src"
Performance Verification:
time claude -p "Use pinescript_reference to search 'ta.sma'"
# Target: <15ms total response time
Integration Setup
Claude Desktop Integration - Add to @claude_desktop_config.json:
{
"mcpServers": {
"pinescript": {
"command": "node",
"args": ["/path/to/mcp-server-pinescript/index.js"]
}
}
}
Local Development Mode:
git clone https://github.com/iamrichardD/mcp-server-pinescript.git
cd mcp-server-pinescript && npm install && npm start
# Should show: "PineScript MCP Server ready with preloaded documentation!"
Performance & Architecture
Performance Characteristics:
- Response Times: 5-15ms for typical queries (70-85% faster than baseline)
- Memory Usage: ~12MB RAM with 555KB preloaded documentation
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"pinescript": {
"command": "node",
"args": ["/path/to/mcp-server-pinescript/index.js"]
}
}
}