Node.jsを使用して、自動ツールディスカバリ、Zodスキーマ、HTTPまたはstdioトランスポートをサポートするMCP serverを構築できます。
別名 eliware/mcp-server, @eliware/mcp-server
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- 824
- 最新バージョン
- —
- 最終コミット
- 2026年10月27日
- ライセンス
- MIT
@eliware/mcp MCPとは
@eliware/mcpはMCPサーバーです。 Node.jsを使用して、自動ツールディスカバリ、Zodスキーマ、HTTPまたはstdioトランスポートをサポートするMCP serverを構築できます。.
プロジェクトのREADMEから生成された概要
@eliware/mcp MCP server について
このNode.jsパッケージを使用すると、純粋なESMアプローチでModel Context Protocolサーバーを構築できます。ツールディスカバリと構造化された入力バリデーションの実装が必要な、Node.js 26以降を利用する開発者向けに設計されています。このフレームワークはstdioとstreamable HTTPの両方のトランスポートをサポートしていますが、SSEを使用したHTTPはサポートしていません。
開発者は、パッケージからzオブジェクトを直接インポートすることで、Zodを使用してツールの入力スキーマを定義できます。システムは、toolsディレクトリ内に配置された.mjsモジュールをスキャンすることで、ツールのディスカバリを自動化します。セキュリティ面では、静的なベアラー・トークン、ベアラー・パススルー、および汎用的なOAuth2サポートを含む、いくつかの認証オプションが提供されます。また、インジェクタ可能なコンテキストや、リモート接続用のTLSも利用可能です。
使用するには、npm経由でパッケージをインストールし、mcpServer関数を使用してサーバーを構成します。使用するMCPクライアントが、プロトコルリビジョン2026-07-28および選択した特定のトランスポート方式をサポートしていることを確認してください。
できること
- 1ツールの登録を自動化特定のディレクトリに.mjsファイルを配置するだけで、複数のツールモジュールを自動的にロードできます。
- 2ツール入力のバリデーションZodスキーマを使用して、ツールに送信されるデータが厳格な構造に従っていることを保証できます。
- 3リモート接続の保護ベアラー・トークンやOAuth2イントロスペクションを使用して、不正アクセスからサーバーを保護できます。
- 4柔軟な通信の実装ローカルのstdio通信、またはリモートのstreamable HTTPトランスポートを選択できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
@eliware/mcp MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude Codeに@eliware/mcp MCPをインストール
$ claude mcp add mcp-server -- npx -y @eliware/mcp-serverCursorに@eliware/mcp MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}VS Codeに@eliware/mcp MCPをインストール
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}VS Code CLIに@eliware/mcp MCPをインストール
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@eliware/mcp-server"]}'Claude Desktopに@eliware/mcp MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}Codexに@eliware/mcp MCPをインストール
$ codex mcp add mcp-server -- npx -y @eliware/mcp-serverCodex config.tomlに@eliware/mcp MCPをインストール
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@eliware/mcp-server"]
Gemini CLIに@eliware/mcp MCPをインストール
$ gemini mcp add -s user mcp-server npx -- -y @eliware/mcp-serverGemini settings.jsonに@eliware/mcp MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@eliware/mcp-server"
]
}
}
}自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能eliware/mcp-server is public and reachablegithub.com/eliware/mcp-server ↗合格
- パッケージがこのリポジトリをソースとして指定@eliware/mcp-server names eliware/mcp-server as sourcenpmjs.com/package/@eliware/mcp-server ↗合格
- ビルドの来歴 (Sigstore 証明)Sigstore attestation for @eliware/mcp-servernpmjs.com/package/@eliware/mcp-server/v/15.0.1#provenance ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-27github.com/eliware/mcp-server ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from @eliware/mcp-server合格
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
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
@eliware/mcp MCPのよくある質問
@eliware/mcp MCPをClaude Codeに追加するには
ターミナルでclaude mcp add mcp-server -- npx -y @eliware/mcp-serverを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
@eliware/mcp MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Node.jsの要件は何ですか?
Node.js version 26以降を使用する必要があります。
このサーバーはSSEを使用したHTTPをサポートしていますか?
いいえ、このパッケージはstreamable HTTPとstdioをサポートしていますが、SSEを使用したHTTPはサポートしていません。
サーバーにツールを追加するにはどうすればよいですか?
tools/ディレクトリ内に、各ツールに対応する.mjsモジュールを配置することで追加できます。
入力スキーマにZodを使用できますか?
はい、@eliware/mcp-serverからzをインポートして、ツールの入力スキーマを定義できます。


