fa-mcp-sdk 0.2.266 → 0.2.268
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.
|
@@ -83,8 +83,8 @@ const tools = await getTools(); // Get registered tools
|
|
|
83
83
|
// Format based on appConfig.mcp.toolAnswerAs
|
|
84
84
|
const result = formatToolResult({ message: 'Done', data: {} });
|
|
85
85
|
|
|
86
|
-
//
|
|
87
|
-
const original = getJsonFromResult<
|
|
86
|
+
// Returns structuredContent or JSON from text depending on appConfig.mcp.toolAnswerAs
|
|
87
|
+
const original = getJsonFromResult<T>(result);
|
|
88
88
|
|
|
89
89
|
// Direct formatting helpers (ignore toolAnswerAs config):
|
|
90
90
|
asTextContent('Hello'); // { content: [{ type: 'text', text: 'Hello' }] }
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fa-mcp-sdk",
|
|
3
3
|
"productName": "FA MCP SDK",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.268",
|
|
5
5
|
"description": "Core infrastructure and templates for building Model Context Protocol (MCP) servers with TypeScript",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/core/index.js",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
70
70
|
"@tsoa/runtime": "^6.4.0",
|
|
71
71
|
"af-ad-ts": "^0.0.69",
|
|
72
|
-
"af-db-ts": "^3.0.
|
|
72
|
+
"af-db-ts": "^3.0.24",
|
|
73
73
|
"af-logger-ts": "^0.0.24",
|
|
74
74
|
"chalk": "^5.6.2",
|
|
75
75
|
"config": "^4.1.1",
|