Skip to content

Commit 9f9ab0f

Browse files
feat: mocker plugin added
1 parent 3ed1607 commit 9f9ab0f

File tree

9 files changed

+3332
-11
lines changed

9 files changed

+3332
-11
lines changed

docs/mcp.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ func getContextForUserRole(role string) context.Context {
13411341

13421342
**STDIO Connection Issues:**
13431343

1344-
```
1344+
```text
13451345
Error: failed to start command 'npx @modelcontextprotocol/server-filesystem'
13461346
```
13471347

@@ -1354,7 +1354,7 @@ Error: failed to start command 'npx @modelcontextprotocol/server-filesystem'
13541354

13551355
**HTTP Connection Issues:**
13561356

1357-
```
1357+
```text
13581358
Error: failed to initialize external MCP client: connection refused
13591359
```
13601360

@@ -1367,7 +1367,7 @@ Error: failed to initialize external MCP client: connection refused
13671367

13681368
**SSE Connection Issues:**
13691369

1370-
```
1370+
```text
13711371
Error: SSE stream error: context canceled
13721372
```
13731373

@@ -1383,7 +1383,7 @@ Error: SSE stream error: context canceled
13831383

13841384
**Tool Already Exists:**
13851385

1386-
```
1386+
```text
13871387
Error: tool 'echo' already registered
13881388
```
13891389

@@ -1397,7 +1397,7 @@ Error: tool 'echo' already registered
13971397

13981398
**No Tools Available:**
13991399

1400-
```
1400+
```text
14011401
Warning: No MCP tools found in response
14021402
```
14031403

@@ -1410,7 +1410,7 @@ Warning: No MCP tools found in response
14101410

14111411
**Unexpected Tool Availability:**
14121412

1413-
```
1413+
```text
14141414
Warning: Restricted tool 'delete_all_files' is available when it shouldn't be
14151415
```
14161416

@@ -1424,7 +1424,7 @@ Warning: Restricted tool 'delete_all_files' is available when it shouldn't be
14241424

14251425
**Tool Not Found:**
14261426

1427-
```
1427+
```text
14281428
Error: MCP tool 'unknown_tool' not found
14291429
```
14301430

docs/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func (p *CachePlugin) PostHook(ctx *context.Context, result *BifrostResponse, er
476476

477477
Each plugin should be organized as follows:
478478

479-
```
479+
```text
480480
plugins/
481481
└── your-plugin-name/
482482
├── main.go # Plugin implementation

0 commit comments

Comments
 (0)