mcp-meilisearch 1.0.14 → 1.0.15
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 +0 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,19 +101,3 @@ This project uses:
|
|
|
101
101
|
|
|
102
102
|
- `sessionTimeout`: Session timeout in milliseconds (Default: 3600000)
|
|
103
103
|
- `sessionCleanupInterval`: Session cleanup interval in milliseconds (Default: 60000)
|
|
104
|
-
|
|
105
|
-
### Using the MCPClient
|
|
106
|
-
|
|
107
|
-
The package also exports the MCPClient class for client-side integration:
|
|
108
|
-
|
|
109
|
-
```typescript
|
|
110
|
-
import { MCPClient } from "mcp-meilisearch";
|
|
111
|
-
|
|
112
|
-
const client = new MCPClient("meilisearch");
|
|
113
|
-
await client.connectToServer("http://localhost:3000/mcp");
|
|
114
|
-
|
|
115
|
-
// Call a tool
|
|
116
|
-
const result = await client.callTool("search-across-all-indexes", {
|
|
117
|
-
q: "search kiosco antonio",
|
|
118
|
-
});
|
|
119
|
-
```
|