Merge pull request #1574 from CREDO23/feature-mcp-server

[Feat] MCP: Add SurfSense MCP server for scrapers, KB, and workspaces
This commit is contained in:
Rohan Verma 2026-07-05 20:48:15 -07:00 committed by GitHub
commit dec4cd9a0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 2547 additions and 2 deletions

View file

@ -72,7 +72,7 @@ async def add_extension_received_document(
),
(
"CONTENT",
["FORMAT: markdown", "TEXT_START", content.pageContent, "TEXT_END"],
["FORMAT: markdown", "TEXT_START", content.page_content, "TEXT_END"],
),
]
@ -126,7 +126,7 @@ async def add_extension_received_document(
summary_embedding = embed_text(summary_content)
# Process chunks
chunks = await create_document_chunks(content.pageContent)
chunks = await create_document_chunks(content.page_content)
# Update or create document
if existing_document: