@2kw/ai-mcp-server 8.4.0-dev.10 → 8.4.0-dev.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.
|
@@ -191,10 +191,14 @@ export function register(server, client) {
|
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
// ── list_conversation_items ──────────────────────────────────────────────
|
|
194
|
-
server.tool("2kw_list_conversation_items", "Fetch a conversation's items in replay order, oldest first. A connector's question to the user and the user's answer are listed without their text: the user reads and answers them in chat.", {
|
|
194
|
+
server.tool("2kw_list_conversation_items", "Fetch a conversation's items in replay order, oldest first, one page of responses at a time: while has_more is true, call again with after set to the response_id of the last item that has one (a batch summary entry has none). A connector's question to the user and the user's answer are listed without their text: the user reads and answers them in chat.", {
|
|
195
|
+
conversationId: z.string().describe("The conversation ID"),
|
|
196
|
+
after: z.string().optional().describe("The response_id of the last item already listed; omit for the first page"),
|
|
197
|
+
limit: z.number().int().min(1).max(100).optional().describe("Most responses per page (default 20)"),
|
|
198
|
+
}, async ({ conversationId, after, limit }) => {
|
|
195
199
|
try {
|
|
196
200
|
const { data } = await client.GET("/v1/conversations/{conversationId}/items", {
|
|
197
|
-
params: { path: { conversationId } },
|
|
201
|
+
params: { path: { conversationId }, query: { after, limit } },
|
|
198
202
|
});
|
|
199
203
|
return {
|
|
200
204
|
content: [{ type: "text", text: JSON.stringify(withoutInputContent(data), null, 2) }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "8.4.0-dev.
|
|
3
|
+
"version": "8.4.0-dev.15",
|
|
4
4
|
"description": "MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 199 tools for Claude Code, Cursor, and Windsurf.",
|
|
5
5
|
"mcpName": "ai.2kw/mcp-server",
|
|
6
6
|
"keywords": [
|