File tree Expand file tree Collapse file tree
apps/sim/lib/knowledge/mcp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ describe('live organization Search MCP', () => {
188188 sourceContainerName : '#release' ,
189189 sourceContainerUrl : 'https://example.slack.com/archives/C1' ,
190190 connectorType : 'slack' ,
191+ author : null ,
191192 content : 'Shipping Friday' ,
192193 chunkIndex : 0 ,
193194 }
@@ -199,6 +200,7 @@ describe('live organization Search MCP', () => {
199200 sourceDate : '2026-09-25T16:00:00Z' ,
200201 sourceContainerName : 'Team calendar' ,
201202 connectorType : 'google_calendar' ,
203+ author : 'organizer@example.com' ,
202204 content : 'Launch review' ,
203205 chunkIndex : 0 ,
204206 }
@@ -225,6 +227,7 @@ describe('live organization Search MCP', () => {
225227 sourceModifiedAt : '2026-09-20T08:00:00.000Z' ,
226228 sourceDate : '2026-09-25T16:00:00Z' ,
227229 sourceContainerName : 'Team calendar' ,
230+ author : 'organizer@example.com' ,
228231 connectorType : 'google_calendar' ,
229232 } ,
230233 ] )
Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ export function createKnowledgeMcpServer(context: KnowledgeMcpContext): McpServe
255255 documentId : row . documentId ,
256256 ...sourceFacts ( row ) ,
257257 sourceContainerUrl : row . sourceContainerUrl ,
258+ ...( row . author ? { author : row . author } : { } ) ,
258259 ...( row . queryIndexes ? { queryIndexes : row . queryIndexes } : { } ) ,
259260 connectorType : row . connectorType ,
260261 ...( row . content && row . content !== row . documentName ? { content : row . content } : { } ) ,
You can’t perform that action at this time.
0 commit comments