@jissp/nestjs-mcp-server 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# nestjs-mcp-server
|
|
2
2
|
|
|
3
3
|
NestJS 기반의 Model Context Protocol (MCP) 서버 라이브러리입니다. 데코레이터와 메타데이터 스캐닝을 통해 MCP 리소스와 도구를 간편하게 정의하고 관리할 수 있습니다.
|
|
4
4
|
|
|
5
5
|
## 설치
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install jissp-mcp-server
|
|
8
|
+
npm install @jissp/nestjs-mcp-server
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## 주요 기능
|
|
@@ -24,7 +24,7 @@ npm install jissp-mcp-server-nestjs
|
|
|
24
24
|
|
|
25
25
|
```typescript
|
|
26
26
|
import { Module } from '@nestjs/common';
|
|
27
|
-
import { McpServerModule } from 'jissp-mcp-server
|
|
27
|
+
import { McpServerModule } from '@jissp/nestjs-mcp-server';
|
|
28
28
|
|
|
29
29
|
@Module({
|
|
30
30
|
imports: [
|
|
@@ -41,7 +41,7 @@ export class AppModule {
|
|
|
41
41
|
|
|
42
42
|
```typescript
|
|
43
43
|
import { Module } from '@nestjs/common';
|
|
44
|
-
import { McpServerModule } from 'jissp-mcp-server
|
|
44
|
+
import { McpServerModule } from '@jissp/nestjs-mcp-server';
|
|
45
45
|
import { MyToolExecutor } from './my-tool.executor';
|
|
46
46
|
import { MyResourceService } from './my-resource.service';
|
|
47
47
|
|
|
@@ -62,7 +62,7 @@ export class MyFeatureModule {
|
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
import { Injectable } from '@nestjs/common';
|
|
65
|
-
import { McpTool, BaseExecutor, JsonRpcCallRequest } from 'jissp-mcp-server
|
|
65
|
+
import { McpTool, BaseExecutor, JsonRpcCallRequest } from '@jissp/nestjs-mcp-server';
|
|
66
66
|
|
|
67
67
|
@Injectable()
|
|
68
68
|
export class MyToolExecutor implements BaseExecutor {
|
|
@@ -91,7 +91,7 @@ export class MyToolExecutor implements BaseExecutor {
|
|
|
91
91
|
|
|
92
92
|
```typescript
|
|
93
93
|
import { Injectable } from '@nestjs/common';
|
|
94
|
-
import { McpResource } from 'jissp-mcp-server
|
|
94
|
+
import { McpResource } from '@jissp/nestjs-mcp-server';
|
|
95
95
|
|
|
96
96
|
@Injectable()
|
|
97
97
|
export class MyResourceService {
|