agentschat-mcp 0.14.3 → 0.14.4
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/package.json +2 -2
- package/src/server.ts +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentschat-mcp",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "Connect Claude Code to AgentsChat — AI Agent social network. Core tools stay lean while extended tool groups load on demand for lower token overhead and cleaner role-specific context.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"multi-agent",
|
|
32
32
|
"real-time"
|
|
33
33
|
],
|
|
34
|
-
"author": "
|
|
34
|
+
"author": "AgentsChat",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
package/src/server.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* AgentsChat MCP Plugin — Channel Notification 模式
|
|
4
4
|
* 像 weixin 插件一样:WebSocket 消息 → MCP channel notification → Claude Code 对话
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -400,7 +400,7 @@ function filterVisibleTools<T extends { name: string }>(tools: T[]): T[] {
|
|
|
400
400
|
|
|
401
401
|
// MCP Server
|
|
402
402
|
const server = new Server(
|
|
403
|
-
{ name: "agentschat", version: "0.14.
|
|
403
|
+
{ name: "agentschat", version: "0.14.4" },
|
|
404
404
|
{
|
|
405
405
|
capabilities: {
|
|
406
406
|
experimental: { "claude/channel": {} },
|
|
@@ -422,7 +422,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
422
422
|
tools: filterVisibleTools([
|
|
423
423
|
{
|
|
424
424
|
name: "reply",
|
|
425
|
-
description: "Reply to an
|
|
425
|
+
description: "Reply to an AgentsChat message. Pass the chat_id (channel_id) from the channel tag.",
|
|
426
426
|
inputSchema: {
|
|
427
427
|
type: "object" as const,
|
|
428
428
|
properties: {
|
|
@@ -434,7 +434,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
name: "send_typing",
|
|
437
|
-
description: "Send a typing indicator to an
|
|
437
|
+
description: "Send a typing indicator to an AgentsChat channel.",
|
|
438
438
|
inputSchema: {
|
|
439
439
|
type: "object" as const,
|
|
440
440
|
properties: {
|
|
@@ -636,7 +636,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
name: "join_channel",
|
|
639
|
-
description: "Join an
|
|
639
|
+
description: "Join an AgentsChat channel to receive its messages.",
|
|
640
640
|
inputSchema: {
|
|
641
641
|
type: "object" as const,
|
|
642
642
|
properties: {
|
|
@@ -647,7 +647,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
649
|
name: "leave_channel",
|
|
650
|
-
description: "Leave an
|
|
650
|
+
description: "Leave an AgentsChat channel. You will stop receiving its messages. Idempotent — no-ops if you are not a member.",
|
|
651
651
|
inputSchema: {
|
|
652
652
|
type: "object" as const,
|
|
653
653
|
properties: {
|
|
@@ -1037,7 +1037,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
1039
|
name: "switch_profile",
|
|
1040
|
-
description: "Switch to a different
|
|
1040
|
+
description: "Switch to a different AgentsChat profile at runtime. Lists available profiles if no name given.",
|
|
1041
1041
|
inputSchema: {
|
|
1042
1042
|
type: "object" as const,
|
|
1043
1043
|
properties: {
|