
supermemoryai/install-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
supermemoryai/install-mcp는 https://github.com/supermemoryai/install-mcp.에서 가져온 MCP 서버 후보입니다.
개요
supermemoryai/install-mcp는 https://github.com/supermemoryai/install-mcp.에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
MCP 서버를 설치하고 관리하는 CLI 도구입니다.
MCP 설치가 엄청 번거로워서 CLI 도구를 만들어 더 쉽게 만들었습니다.
사용
CLI는 이제 자동 감지가 가능한 여러 설치 방법을 지원합니다:
간단한 패키지 이름
스코프 패키지
전체 명령어 (사용자 지정 인자용)
원격 URL (자동 이름 설정 포함)
도구는 자동으로 다음과 같습니다:
- 단순한 패키지 이름을 [[T0]로 변환합니다.
- 전체 명령어를 있는 그대로 보존
- 패키지 이름이나 URL에서 서버 이름을 추론합니다(예:
mcp.example.com→mcp-example-com) - 원격 서버의 OAuth 인증 처리
슈퍼메모리 프로젝트 지원
https://api.supermemory.ai/*에 호스팅된 서버를 설치할 때, 프로젝트 이름을 --project를 통해 전달할 수 있습니다. 이는 헤더 x-sm-project: 를 추가하기 위한 편의적인 별칭입니다.
규칙:
https://api.supermemory.ai/*를 타겟팅한 URL 설치에만 적용됩니다.- 값은 공백을 포함해서는 안 된다.
- 이 URL들에 [
--project을 누락하면 안내가 표시됩니다. 엔터를 누르면default을 사용합니다. - 값은
--header플래그와 함께 헤더로 주입됩니다.
예시:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Install MCP CLI
A CLI tool to install and manage MCP servers.
Installing MCPs is a huge pain, so I made a CLI tool to make it easier.
Usage
The CLI now supports multiple installation methods with automatic detection:
Simple package names
npx install-mcp mcp-package-name --client claude-desktop
Scoped packages
npx install-mcp @org/mcp-server --client claude-desktop
Full commands (for custom arguments)
npx install-mcp 'npx some-mcp-server --custom-args' --client claude-desktop
Remote URLs (with automatic naming)
npx install-mcp https://mcp.example.com/server --client claude-desktop
The tool automatically:
- Converts simple package names to
npx package-name - Preserves full commands as-is
- Infers server names from package names or URLs (e.g.,
mcp.example.com→mcp-example-com) - Handles OAuth authentication for remote servers
Supermemory project support
When installing a server hosted on https://api.supermemory.ai/*, you can pass a project name via --project. This is a convenience alias for adding the header x-sm-project: .
Rules:
- Only applies to URL installs targeting
https://api.supermemory.ai/*. - Values must not contain spaces.
- If you omit
--projectfor these URLs, you’ll be prompted. Pressing Enter usesdefault. - The value is injected as a header alongside any
--headerflags.
Examples:
# Explicit project
npx install-mcp https://api.supermemory.ai/servers/my-server \
--client cursor \
--project myproj
# Prompted for project (Enter defaults to "default")
npx install-mcp https://api.supermemory.ai/servers/my-server --client cursor
Warp users: the generated config will include --header "x-sm-project: " in the args array when installing Supermemory URLs.
Headers Support
You can pass headers for authentication or other purposes using the --header flag:
# Single header
npx install-mcp https://api.example.com/mcp --client claude-desktop --header "Authorization: Bearer token123"
# Multiple headers
npx install-mcp https://api.example.com/mcp --client claude-desktop \
--header "Authorization: Bearer token123" \
--header "X-API-Key: secret-key"
OAuth Authentication for Remote Servers
When installing remote servers (URLs), the CLI will ask if the server uses OAuth authentication:
npx install-mcp https://api.example.com/mcp --client claude-desktop
# Output: Does this server use OAuth authentication? (Y/n)
You can bypass this prompt using the --oauth flag:
# Automatically run OAuth authentication
npx install-mcp https://api.example.com/mcp --client claude-desktop --oauth yes
# Skip OAuth authentication entirely
npx install-mcp https://api.example.com/mcp --client claude-desktop --oauth no
If you answer yes, the authentication flow:
- Runs automatically before installation
- Handles OAuth flows seamlessly in the background
설치
npx install-mcp mcp-package-name --client claude-desktop