@mastra/mcp-docs-server 1.2.10-alpha.3 → 1.2.10-alpha.6

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.
@@ -39,7 +39,7 @@ The `channels` property accepts a `ChannelConfig` object with the following fiel
39
39
 
40
40
  **inlineLinks** (`InlineLinkEntry[]`): Promote URLs found in message text to file parts so the model can process linked content. Each entry matches a domain. Disabled by default.
41
41
 
42
- **tools** (`boolean`): Include channel-specific tools (add\_reaction, remove\_reaction). Set to false for models that do not support function calling. (Default: `true`)
42
+ **tools** (`boolean`): Whether getTools() returns the channel-specific tools (add\_reaction, remove\_reaction). Set to false for models that do not support function calling. Channel tools are never added to the agent automatically — pass them explicitly via tools: { ...channels.getTools() }. (Default: `true`)
43
43
 
44
44
  **state** (`StateAdapter`): State adapter for subscriptions and deduplication. Defaults to MastraStateAdapter backed by the Mastra instance storage. Channels require storage to be configured. (Default: `MastraStateAdapter (from Mastra storage)`)
45
45
 
@@ -69,7 +69,7 @@ await slack.configure({
69
69
 
70
70
  **threadContext** (`ChannelConfig['threadContext']`): Fetch recent thread messages from Slack when the agent joins mid-conversation.
71
71
 
72
- **tools** (`ChannelConfig['tools']`): Whether to include channel tools (add\_reaction, remove\_reaction).
72
+ **tools** (`ChannelConfig['tools']`): Whether the channel exposes channel tools (add\_reaction, remove\_reaction) via AgentChannels.getTools(). These tools are never added to the agent automatically — pass them explicitly via tools: { ...channels.getTools() } to use them.
73
73
 
74
74
  **state** (`ChannelConfig['state']`): State adapter for message deduplication, locking, and subscriptions. Defaults to the MastraStateAdapter backed by the Mastra instance's configured storage, so subscriptions persist across restarts.
75
75
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.10-alpha.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`75f843d`](https://github.com/mastra-ai/mastra/commit/75f843d09f758223e6eeb321321bdcc5c7e779d0)]:
8
+ - @mastra/core@1.53.0-alpha.2
9
+
3
10
  ## 1.2.10-alpha.2
4
11
 
5
12
  ### Patch Changes
@@ -2071,5 +2071,5 @@ async function runServer() {
2071
2071
  }
2072
2072
 
2073
2073
  export { runServer, server, setLogLevel, writeErrorLog };
2074
- //# sourceMappingURL=chunk-HGADBLKG.js.map
2075
- //# sourceMappingURL=chunk-HGADBLKG.js.map
2074
+ //# sourceMappingURL=chunk-GLPCVXXO.js.map
2075
+ //# sourceMappingURL=chunk-GLPCVXXO.js.map