Bangun MCP server menggunakan Node.js dengan fitur automatic tool discovery, skema Zod, serta dukungan transport HTTP atau stdio.
Juga dikenal sebagai eliware/mcp-server, @eliware/mcp-server
- Stars
- 0
- Tools
- —
- Unduhan, 30 hari
- 824
- Versi terbaru
- —
- Commit terakhir
- 27 Okt 2026
- Lisensi
- MIT
Apa itu @eliware/mcp MCP?
@eliware/mcp adalah MCP server. Bangun MCP server menggunakan Node.js dengan fitur automatic tool discovery, skema Zod, serta dukungan transport HTTP atau stdio.
Ringkasan dibuat dari README proyek
Tentang @eliware/mcp MCP server
Package Node.js ini memungkinkan developer untuk membangun Model Context Protocol server menggunakan pendekatan pure-ESM. Framework ini dirancang bagi Anda yang menggunakan Node.js 26 atau versi terbaru yang membutuhkan implementasi tool discovery dan validasi input terstruktur. Framework ini mendukung transport stdio dan Streamable HTTP, meskipun tidak mendukung HTTP dengan SSE.
Developer dapat mendefinisikan skema input tool menggunakan Zod dengan mengimpor objek z secara langsung dari package ini. Sistem akan mengotomatisasi tool discovery dengan memindai modul .mjs yang ditempatkan di dalam direktori tools. Untuk keamanan, server menyediakan beberapa opsi autentikasi termasuk static bearer tokens, bearer passthrough, dan dukungan OAuth2 secara umum. Selain itu, tersedia juga fitur injectable context dan TLS untuk koneksi jarak jauh.
Untuk menggunakannya, Anda cukup menginstal package ini via npm dan mengonfigurasi server Anda menggunakan fungsi mcpServer. Anda harus memastikan bahwa MCP client Anda mendukung revisi protokol 2026-07-28 dan metode transport spesifik yang telah Anda pilih.
Apa yang bisa Anda lakukan dengannya
- 1Otomatisasi registrasi toolDeveloper dapat memuat banyak modul tool secara otomatis hanya dengan menempatkan file .mjs ke dalam direktori tertentu.
- 2Validasi input toolAnda dapat menggunakan skema Zod untuk memastikan data yang dikirim ke tool Anda mengikuti struktur yang ketat.
- 3Mengamankan koneksi jarak jauhAnda dapat melindungi server dari akses tidak sah menggunakan bearer tokens atau OAuth2 introspection.
- 4Implementasi komunikasi yang fleksibelAnda dapat memilih antara komunikasi stdio lokal atau transport Streamable HTTP jarak jauh.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal @eliware/mcp MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal @eliware/mcp MCP di Claude Code
$ claude mcp add mcp-server -- npx -y @eliware/mcp-serverInstal @eliware/mcp MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}Instal @eliware/mcp MCP di VS Code
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}Instal @eliware/mcp MCP di VS Code CLI
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@eliware/mcp-server"]}'Instal @eliware/mcp MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}Instal @eliware/mcp MCP di Codex
$ codex mcp add mcp-server -- npx -y @eliware/mcp-serverInstal @eliware/mcp MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@eliware/mcp-server"]
Instal @eliware/mcp MCP di Gemini CLI
$ gemini mcp add -s user mcp-server npx -- -y @eliware/mcp-serverInstal @eliware/mcp MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}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-server is public and reachablegithub.com/eliware/mcp-server ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernya@eliware/mcp-server names eliware/mcp-server as sourcenpmjs.com/package/@eliware/mcp-server ↗Lolos
- Provenance build (atestasi Sigstore)Sigstore attestation for @eliware/mcp-servernpmjs.com/package/@eliware/mcp-server/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-server ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerNo popular package one edit away from @eliware/mcp-serverLolos
- 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-server

Pure-ESM Node.js MCP server with automatic tool discovery, Streamable HTTP and stdio transports, TLS, Zod schemas, injectable context, bearer authentication, and generic OAuth2 support.
Table of Contents
- Features
- Requirements
- Setup
- Usage
- Development
- Testing
- Troubleshooting
- Security
- API
- Packaging
- Examples
- Support
- Links
- License
Features
Create MCP servers with Streamable HTTP or stdio, discovered tool modules, Zod input schemas, shared context, and optional authentication.
Requirements
Use Node.js 26 or later. Use an MCP client that supports protocol revision 2026-07-28 and the selected transport.
Setup
Install the package with npm install @eliware/mcp-server. Read the setup guide before you create a server.
Usage
Create a server with mcpServer() and add tool modules in tools/. Read the usage guide, configuration guide, and authentication guide.
Browse the documentation index, specifications index, and release notes.
Tools
Add one .mjs module for each tool in tools/. Read the tool guide for registration and context details.
Resources
The package does not scan resource files. Add resources to the SDK server inside a tool module. Read the tool guide.
Prompts
The package does not scan prompt files. Add prompts to the SDK server inside a tool module. Read the tool guide.
Transport
Use Streamable HTTP or stdio. The package does not support HTTP with SSE. Read the protocol requirements.
Authentication
Select no authentication, a static bearer token, bearer passthrough, or OAuth2 introspection. Use HTTPS for OAuth endpoints. Read the authentication guide.
Schemas
Import z from @eliware/mcp-server to define tool input schemas. Read the tool guide.
Development
Run npm ci to install locked dependencies. Run npm run format to format files. Run npm run format:check to check file formatting.
Run npm run lint for lint checks. Run npm run audit for dependency checks. Run npm run typecheck to check TypeScript declarations.
Testing
Run npm test for aggregate validation. Run npm run pack to check package contents.
Troubleshooting
Read the troubleshooting guide for setup and runtime issues.
Security
Keep tokens, OAuth client secrets, and TLS keys in environment variables or secret files. Use HTTPS and explicit authentication for remote access.
API
Read the API reference for exports, options, and result types.
Packaging
The npm 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. The npm workflow publishes approved tagged releases.
Examples
Read examples/README.md for server and tool examples.
Support
For help, questions, or to chat with the author and community, visit:
Links
License
Pertanyaan tentang @eliware/mcp MCP
Bagaimana cara menambahkan @eliware/mcp MCP ke Claude Code?
Jalankan claude mcp add mcp-server -- npx -y @eliware/mcp-server di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan @eliware/mcp 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 Node.js yang dibutuhkan?
Anda harus menggunakan Node.js versi 26 atau yang lebih baru.
Apakah server ini mendukung HTTP dengan SSE?
Tidak, package ini mendukung Streamable HTTP dan stdio, tetapi tidak mendukung HTTP dengan SSE.
Bagaimana cara menambahkan tool ke server saya?
Anda dapat menambahkan tool dengan menempatkan satu modul .mjs untuk setiap tool di dalam direktori tools/.
Bisakah saya menggunakan Zod untuk skema input?
Ya, Anda dapat mengimpor z dari @eliware/mcp-server untuk mendefinisikan skema input tool.


