mcporter은(는) 무엇을 하나요?
mcporter를 사용하여 MCP 서버와 직접 작업하세요.
빠른 시작
mcporter listmcporter list <server> --schemamcporter call <server.tool> key=value
도구 호출
- 선택자:
mcporter call linear.list_issues team=ENG limit:5 - 함수 구문:
mcporter call "linear.create_issue(title: \"Bug\")" - 전체 URL:
mcporter call https://api.example.com/mcp.fetch url:https://example.com - Stdio:
mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com - JSON 페이로드:
mcporter call <server.tool> --args '{"limit":5}'
인증 + 구성
- OAuth:
mcporter auth <server | url> [--reset] - 구성:
mcporter config list|get|add|remove|import|login|logout
데몬
mcporter daemon start|status|stop|restart
코드 생성
- CLI:
mcporter generate-cli --server <name>또는--command <url> - 검사:
mcporter inspect-cli <path> [--json] - TS:
mcporter emit-ts <server> --mode client|types
참고 사항
- 기본 구성 파일:
./config/mcporter.json(--config로 재정의 가능). - 기계 판독 가능한 결과를 원할 경우
--output json을 선호합니다.