Skip to content

Commit e40c69a

Browse files
0.3.1
1 parent 7fd49a0 commit e40c69a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkedapi-mcp",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "MCP server for Linked API",
55
"main": "dist/index.js",
66
"bin": {

src/linked-api-server.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,21 @@ export class LinkedApiMCPServer {
5353
],
5454
};
5555
}
56+
if (data) {
57+
return {
58+
content: [
59+
{
60+
type: 'text' as const,
61+
text: JSON.stringify(data, null, 2),
62+
},
63+
],
64+
};
65+
}
5666
return {
5767
content: [
5868
{
5969
type: 'text' as const,
60-
text: JSON.stringify(data, null, 2),
70+
text: 'Completed',
6171
},
6272
],
6373
};

0 commit comments

Comments
 (0)