@atalk/mcp-server 0.1.0-alpha.5 → 0.1.0-alpha.7
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/dist/server.js +1 -1
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -17,7 +17,7 @@ export function createAtalkMcpServer(options = {}) {
|
|
|
17
17
|
?? join(process.env.PLUGIN_DATA ?? join(homedir(), ".atalk"), "mcp-agent.json"),
|
|
18
18
|
});
|
|
19
19
|
const inbox = new AgentInbox();
|
|
20
|
-
const server = new McpServer({ name: "atalk", version: "0.1.0-alpha.
|
|
20
|
+
const server = new McpServer({ name: "atalk", version: "0.1.0-alpha.7" });
|
|
21
21
|
agent.on("message", (message) => inbox.push(message));
|
|
22
22
|
agent.on("error", (error) => console.error(`[aTalk] ${error.message}`));
|
|
23
23
|
server.registerTool("atalk_status", { description: "Show the active aTalk identity, connection state, and queued message count." }, async () => textResult({ connected: agent.connected, peer: agent.peer ?? null, pendingMessages: inbox.pending }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atalk/mcp-server",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"description": "MCP server for secure human and AI-agent messaging over aTalk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
37
37
|
"zod": "^4.0.0",
|
|
38
|
-
"@atalk/sdk": "0.1.0-alpha.
|
|
38
|
+
"@atalk/sdk": "0.1.0-alpha.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@modelcontextprotocol/client": "^2.0.0",
|