Menghubungkan ke MCP server menggunakan Streamable HTTP atau stdio dengan dukungan bearer authentication dan custom headers.
Juga dikenal sebagai eliware/mcp-client, @eliware/mcp-client
- Stars
- 0
- Tools
- —
- Unduhan, 30 hari
- 1.464
- Versi terbaru
- —
- Commit terakhir
- 27 Okt 2026
- Lisensi
- MIT
Apa itu MCP Client MCP?
MCP Client adalah MCP server. Menghubungkan ke MCP server menggunakan Streamable HTTP atau stdio dengan dukungan bearer authentication dan custom headers.
Ringkasan dibuat dari README proyek
Tentang MCP Client MCP server
Fungsi utama dari client ini adalah menghubungkan ke Model Context Protocol server melalui berbagai transport layer. Tool ini memungkinkan developer untuk membangun koneksi menggunakan stdio atau Streamable HTTP. Tool ini dirancang untuk lingkungan Node.js versi 26 atau yang lebih baru dan dibangun sebagai pure ESM package untuk SDK v2.
User dapat mengelola koneksi yang aman dengan mengimplementasikan bearer authentication, custom HTTP headers, atau token provider tertentu. Client ini menyediakan structured logs untuk membantu memantau interaksi dan menyertakan method listTools untuk menemukan kapabilitas yang tersedia pada server yang terhubung. Tool ini ditujukan bagi developer yang sedang membangun aplikasi yang perlu berinteraksi dengan MCP server remote atau lokal melalui instalasi npm.
Apa yang bisa Anda lakukan dengannya
- 1Discover available server toolsMinta client untuk mengambil daftar semua tools yang disediakan oleh MCP server yang terhubung.
- 2Establish secure HTTP connectionsTerhubung ke remote MCP server menggunakan URL spesifik dan authentication headers.
- 3Integrate MCP into Node.js appsTambahkan kapabilitas MCP client ke dalam proyek JavaScript menggunakan npm.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal MCP Client MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal MCP Client MCP di Claude Code
$ claude mcp add mcp-client -- npx -y @eliware/mcp-clientInstal MCP Client MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-client": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-client"
]
}
}
}Instal MCP Client MCP di VS Code
.vscode/mcp.json
{
"servers": {
"mcp-client": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eliware/mcp-client"
]
}
}
}Instal MCP Client MCP di VS Code CLI
$ code --add-mcp '{"name":"mcp-client","type":"stdio","command":"npx","args":["-y","@eliware/mcp-client"]}'Instal MCP Client MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp-client": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-client"
]
}
}
}Instal MCP Client MCP di Codex
$ codex mcp add mcp-client -- npx -y @eliware/mcp-clientInstal MCP Client MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.mcp-client] command = "npx" args = ["-y", "@eliware/mcp-client"]
Instal MCP Client MCP di Gemini CLI
$ gemini mcp add -s user mcp-client npx -- -y @eliware/mcp-clientInstal MCP Client MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"mcp-client": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-client"
]
}
}
}Pengecekan otomatis
Berjalan 15 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkaueliware/mcp-client is public and reachablegithub.com/eliware/mcp-client ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernya@eliware/mcp-client names eliware/mcp-client as sourcenpmjs.com/package/@eliware/mcp-client ↗Lolos
- Provenance build (atestasi Sigstore)Sigstore attestation for @eliware/mcp-clientnpmjs.com/package/@eliware/mcp-client/v/15.0.1#provenance ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-10-27github.com/eliware/mcp-client ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerNo popular package one edit away from @eliware/mcp-clientLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHub@eliware/mcp-client

Pure ESM MCP client for SDK v2, Streamable HTTP, stdio, and bearer authentication.
Table of Contents
- Features
- Requirements
- Setup
- Usage
- Development
- Testing
- Troubleshooting
- Security
- API
- Packaging
- Examples
- Support
- Links
- License
Features
Connect to MCP servers through Streamable HTTP or stdio. Use bearer tokens, custom HTTP headers, token providers, and structured logs.
Requirements
Use Node.js 26 or later.
Setup
Install the package with npm install @eliware/mcp-client.
Usage
import { mcpClient } from "@eliware/mcp-client";
const client = await mcpClient({ url: "https://mcp.example.com/mcp" });
try {
console.log(await client.listTools());
} finally {
await client.close();
}
Read the documentation index, specifications, and release notes.
Development
Run npm ci to install locked dependencies. Read repository specifications for contributor requirements.
Testing
Run npm test for aggregate validation.
Troubleshooting
Read the troubleshooting guide for connection help.
Security
Keep access tokens, credentials, and private server data out of source files and logs.
API
Import mcpClient from @eliware/mcp-client. Read the API guide for options and return types.
Packaging
The package includes src/, docs/, README.md, AGENTS.md, LICENSE, RELEASE_NOTES.md, examples/, specs/, and .env.example.
Use numeric MAJOR.MINOR.PATCH versions and a v<version> tag for each release.
Run npm run pack to check package contents. Publish only after approved release steps.
Examples
Read the examples index for commands, results, permissions, and cleanup.
Support
For help, questions, or to chat with the author and community, visit:
Links
License
Pertanyaan tentang MCP Client MCP
Bagaimana cara menambahkan MCP Client MCP ke Claude Code?
Jalankan claude mcp add mcp-client -- npx -y @eliware/mcp-client di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan MCP Client MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Apa saja persyaratan sistem untuk client ini?
Anda harus menggunakan Node.js versi 26 atau yang lebih baru.
Bagaimana cara saya terhubung ke MCP server?
Client ini mendukung koneksi melalui Streamable HTTP atau stdio.
Bagaimana cara menginstall package ini?
Anda dapat menginstallnya menggunakan command npm install @eliware/mcp-client.


