SourceSync.ai MCP Server
The SourceSync.ai MCP Server is a Model Context Protocol server that facilitates AI model interaction with SourceSync.ai's knowledge management platform. With this server, you can:
Organize Knowledge: Create, list, update, and delete namespaces for systematic organization
Ingest Content: Import data from text, URLs, websites, sitemaps, and external services (Notion, Google Drive, Dropbox, OneDrive, Box, SharePoint)
Manage Documents: Retrieve, update, delete, and resync documents with filtering options and pagination
Search Capabilities: Perform semantic searches (based on meaning) and hybrid searches (combining semantic and keyword matching)
Integrate External Services: Create and manage connections to third-party platforms
Monitor Operations: Track ingestion job status and validate API keys
Process Content: Configure chunking options for controlling document processing granularity
Parse URLs: Extract and fetch structured text content from web addresses
Connects to Box to ingest documents from the platform. Supports creating and managing connections to Box, and ingesting content via authenticated sessions.
Enables document ingestion from Dropbox accounts. Provides tools for authenticating with Dropbox, creating connections, and ingesting selected documents into the knowledge base.
Allows ingesting documents from Google Drive. Supports authenticating with Google Drive, selecting documents for ingestion, and maintaining connections to retrieve content.
Enables integrating with Notion workspaces to ingest documents. Provides tools for authentication, document selection, and maintaining connections to Notion for knowledge management.
Supports using OpenAI embedding models for vectorizing content. Allows configuring namespaces to use various OpenAI embedding models like text-embedding-3-small and text-embedding-3-large.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SourceSync.ai MCP Server search my knowledge base for information about machine learning models"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SourceSync.ai MCP Server
A Model Context Protocol (MCP) server implementation for the SourceSync.ai API. This server allows AI models to interact with SourceSync.ai's knowledge management platform through a standardized interface.
Features
Manage namespaces for organizing knowledge
Ingest content from various sources (text, URLs, websites, external services)
Retrieve, update, and manage documents stored in your knowledge base
Perform semantic and hybrid searches against your knowledge base
Access document content directly from parsed text URLs
Manage connections to external services
Default configuration support for seamless AI integration
Related MCP server: doc-lib-mcp
Installation
Running with npx
# Install and run with your API key and tenant ID
env SOURCESYNC_API_KEY=your_api_key npx -y sourcesyncai-mcpInstalling via Smithery
To install sourcesyncai-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @pbteja1998/sourcesyncai-mcp --client claudeManual Installation
# Clone the repository
git clone https://github.com/yourusername/sourcesyncai-mcp.git
cd sourcesyncai-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
node dist/index.jsRunning on Cursor
To configure SourceSync.ai MCP in Cursor:
Open Cursor Settings
Go to
Features > MCP ServersClick
+ Add New MCP ServerEnter the following:
Name:
sourcesyncai-mcp(or your preferred name)Type:
commandCommand:
env SOURCESYNCAI_API_KEY=your-api-key npx -y sourcesyncai-mcp
After adding, you can use SourceSync.ai tools with Cursor's AI features by describing your knowledge management needs.
Running on Windsurf
Add this to your ./codeium/windsurf/model_config.json:
{
"mcpServers": {
"sourcesyncai-mcp": {
"command": "npx",
"args": ["-y", "soucesyncai-mcp"],
"env": {
"SOURCESYNC_API_KEY": "your_api_key",
"SOURCESYNC_NAMESPACE_ID": "your_namespace_id",
"SOURCESYNC_TENANT_ID": "your_tenant_id"
}
}
}
}Running on Claude Desktop
To use this MCP server with Claude Desktop:
Locate the Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Edit the configuration file to add the SourceSync.ai MCP server:
{
"mcpServers": {
"sourcesyncai-mcp": {
"command": "npx",
"args": ["-y", "sourcesyncai-mcp"],
"env": {
"SOURCESYNC_API_KEY": "your_api_key",
"SOURCESYNC_NAMESPACE_ID": "your_namespace_id",
"SOURCESYNC_TENANT_ID": "your_tenant_id"
}
}
}
}Save the configuration file and restart Claude Desktop
Configuration
Environment Variables
Required
SOURCESYNC_API_KEY: Your SourceSync.ai API key (required)
Optional
SOURCESYNC_NAMESPACE_ID: Default namespace ID to use for operationsSOURCESYNC_TENANT_ID: Your tenant ID (optional)
Configuration Examples
Basic configuration with default values:
export SOURCESYNC_API_KEY=your_api_key
export SOURCESYNC_TENANT_ID=your_tenant_id
export SOURCESYNC_NAMESPACE_ID=your_namespace_idAvailable Tools
Authentication
validate_api_key: Validate a SourceSync.ai API key
{
"name": "validate_api_key",
"arguments": {}
}Namespaces
create_namespace: Create a new namespacelist_namespaces: List all namespacesget_namespace: Get details of a specific namespaceupdate_namespace: Update a namespacedelete_namespace: Delete a namespace
{
"name": "create_namespace",
"arguments": {
"name": "my-namespace",
"fileStorageConfig": {
"provider": "S3_COMPATIBLE",
"config": {
"endpoint": "s3.amazonaws.com",
"accessKey": "your_access_key",
"secretKey": "your_secret_key",
"bucket": "your_bucket",
"region": "us-east-1"
}
},
"vectorStorageConfig": {
"provider": "PINECONE",
"config": {
"apiKey": "your_pinecone_api_key",
"environment": "your_environment",
"index": "your_index"
}
},
"embeddingModelConfig": {
"provider": "OPENAI",
"config": {
"apiKey": "your_openai_api_key",
"model": "text-embedding-3-small"
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "list_namespaces",
"arguments": {
"tenantId": "tenant_XXX"
}
}{
"name": "get_namespace",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX"
}
}{
"name": "update_namespace",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX",
"name": "updated-namespace-name"
}
}{
"name": "delete_namespace",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX"
}
}Data Ingestion
ingest_text: Ingest text contentingest_urls: Ingest content from URLsingest_sitemap: Ingest content from a sitemapingest_website: Ingest content from a websiteingest_notion: Ingest content from Notioningest_google_drive: Ingest content from Google Driveingest_dropbox: Ingest content from Dropboxingest_onedrive: Ingest content from OneDriveingest_box: Ingest content from Boxget_ingest_job_run_status: Get the status of an ingestion job run
{
"name": "ingest_text",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "TEXT",
"config": {
"name": "example-document",
"text": "This is an example document for ingestion.",
"metadata": {
"category": "example",
"author": "AI Assistant"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_urls",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "URLS",
"config": {
"urls": ["https://example.com/page1", "https://example.com/page2"],
"metadata": {
"source": "web",
"category": "documentation"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_sitemap",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "SITEMAP",
"config": {
"url": "https://example.com/sitemap.xml",
"metadata": {
"source": "sitemap",
"website": "example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_website",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "WEBSITE",
"config": {
"url": "https://example.com",
"maxDepth": 3,
"maxPages": 100,
"metadata": {
"source": "website",
"domain": "example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_notion",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "NOTION",
"config": {
"connectionId": "your_notion_connection_id",
"metadata": {
"source": "notion",
"workspace": "My Workspace"
}
}
},
"tenantId": "your_tenant_id"
}
}{
"name": "ingest_google_drive",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "GOOGLE_DRIVE",
"config": {
"connectionId": "connection_XXX",
"metadata": {
"source": "google_drive",
"owner": "user@example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_dropbox",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "DROPBOX",
"config": {
"connectionId": "connection_XXX",
"metadata": {
"source": "dropbox",
"account": "user@example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_onedrive",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "ONEDRIVE",
"config": {
"connectionId": "connection_XXX",
"metadata": {
"source": "onedrive",
"account": "user@example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "ingest_box",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestConfig": {
"source": "BOX",
"config": {
"connectionId": "connection_XXX",
"metadata": {
"source": "box",
"owner": "user@example.com"
}
}
},
"tenantId": "tenant_XXX"
}
}{
"name": "get_ingest_job_run_status",
"arguments": {
"namespaceId": "your_namespace_id",
"ingestJobRunId": "ingest_job_run_XXX",
"tenantId": "tenant_XXX"
}
}Documents
getDocuments: Retrieve documents with optional filtersupdateDocuments: Update document metadatadeleteDocuments: Delete documentsresyncDocuments: Resync documentsfetchUrlContent: Fetch text content from document URLs
{
"name": "getDocuments",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX",
"filterConfig": {
"documentTypes": ["PDF"]
},
"includeConfig": {
"parsedTextFileUrl": true
}
}
}{
"name": "updateDocuments",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX",
"documentIds": ["doc_XXX", "doc_YYY"],
"filterConfig": {
"documentIds": ["doc_XXX", "doc_YYY"]
},
"data": {
"metadata": {
"status": "reviewed",
"category": "technical"
}
}
}
}{
"name": "deleteDocuments",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX",
"documentIds": ["doc_XXX", "doc_YYY"],
"filterConfig": {
"documentIds": ["doc_XXX", "doc_YYY"]
}
}
}{
"name": "resyncDocuments",
"arguments": {
"namespaceId": "namespace_XXX",
"tenantId": "tenant_XXX",
"documentIds": ["doc_XXX", "doc_YYY"],
"filterConfig": {
"documentIds": ["doc_XXX", "doc_YYY"]
}
}
}{
"name": "fetchUrlContent",
"arguments": {
"url": "https://api.sourcesync.ai/v1/documents/doc_XXX/content?format=text",
"apiKey": "your_api_key",
"tenantId": "tenant_XXX"
}
}Search
semantic_search: Perform semantic searchhybrid_search: Perform hybrid search (semantic + keyword)
{
"name": "semantic_search",
"arguments": {
"namespaceId": "your_namespace_id",
"query": "example document",
"topK": 5,
"tenantId": "tenant_XXX"
}
}{
"name": "hybrid_search",
"arguments": {
"namespaceId": "your_namespace_id",
"query": "example document",
"topK": 5,
"tenantId": "tenant_XXX",
"hybridConfig": {
"semanticWeight": 0.7,
"keywordWeight": 0.3
}
}
}Connections
create_connection: Create a new connection to an external servicelist_connections: List all connectionsget_connection: Get details of a specific connectionupdate_connection: Update a connectionrevoke_connection: Revoke a connection
{
"name": "create_connection",
"arguments": {
"tenantId": "tenant_XXX",
"namespaceId": "namespace_XXX",
"name": "My Connection",
"connector": "GOOGLE_DRIVE",
"clientRedirectUrl": "https://your-app.com/callback"
}
}{
"name": "list_connections",
"arguments": {
"tenantId": "tenant_XXX",
"namespaceId": "namespace_XXX"
}
}{
"name": "get_connection",
"arguments": {
"tenantId": "tenant_XXX",
"namespaceId": "namespace_XXX",
"connectionId": "connection_XXX"
}
}{
"name": "update_connection",
"arguments": {
"tenantId": "tenant_XXX",
"namespaceId": "namespace_XXX",
"connectionId": "connection_XXX",
"name": "Updated Connection Name",
"clientRedirectUrl": "https://your-app.com/updated-callback"
}
}{
"name": "revoke_connection",
"arguments": {
"tenantId": "tenant_XXX",
"namespaceId": "namespace_XXX",
"connectionId": "connection_XXX"
}
}Example Prompts
Here are some example prompts you can use with Claude or Cursor after configuring the MCP server:
"Search my SourceSync knowledge base for information about machine learning."
"Ingest this article into my SourceSync knowledge base: [URL]"
"Create a new namespace in SourceSync for my project documentation."
"List all the documents in my SourceSync namespace."
"Get the text content of document [document_id] from my SourceSync namespace."
Troubleshooting
Connection Issues
If you encounter issues connecting the SourceSync.ai MCP server:
Verify Paths: Ensure all paths in your configuration are absolute paths, not relative.
Check Permissions: Ensure the server file has execution permissions (
chmod +x dist/index.js).Enable Developer Mode: In Claude Desktop, enable Developer Mode and check the MCP Log File.
Test the Server: Run the server directly from the command line:
node /path/to/sourcesyncai-mcp/dist/index.jsRestart AI Client: After making changes, completely restart Claude Desktop or Cursor.
Check Environment Variables: Ensure all required environment variables are correctly set.
Debug Logging
For detailed logging, add the DEBUG environment variable:
Development
Project Structure
src/index.ts: Main entry point and server setupsrc/schemas.ts: Schema definitions for all toolssrc/sourcesync.ts: Client for interacting with SourceSync.ai APIsrc/sourcesync.types.ts: TypeScript type definitions
Building and Testing
# Build the project
npm run build
# Run tests
npm testLicense
MIT
Links
Document content retrieval workflow:
First, use
getDocumentswithincludeConfig.parsedTextFileUrl: trueto get documents with their content URLsExtract the URL from the document response
Use
fetchUrlContentto retrieve the actual content:
{
"name": "fetchUrlContent",
"arguments": {
"url": "https://example.com"
}
}Available Tools
25 toolscreateConnectionB
Creates a new connection to a specific source. The connector parameter should be a valid SourceSync connector enum value. The clientRedirectUrl parameter is optional and can be used to specify a custom redirect URL for the connection. This will give you a authorization url which you can redirect the user to. The user will then be asked to pick the documents they want to ingest.
Inputs: name (required), connector (required), namespaceId, clientRedirectUrl, +1 more.
createNamespaceC
Creates a new namespace with the provided configuration. Requires a name, file storage configuration, vector storage configuration, and embedding model configuration.
Inputs: name (required), fileStorageConfig (required), vectorStorageConfig (required), embeddingModelConfig (required), +2 more.
deleteDocumentsC
Permanently deletes documents that match the specified filter criteria.
Inputs: filterConfig (required), namespaceId, documentIds, tenantId.
deleteNamespaceC
Permanently deletes a namespace by its ID.
Inputs: namespaceId, tenantId.
fetchDocumentsC
Fetches documents from the namespace based on filter criteria. Supports pagination and including specific document properties.
Inputs: filterConfig (required), namespaceId, documentIds, pagination, +2 more.
fetchUrlContentC
Fetches the content of a URL. Particularly useful for fetching parsed text file URLs.
Inputs: url (required), apiKey, tenantId.
getConnectionC
Retrieves details for a specific connection by its ID.
Inputs: connectionId (required), namespaceId, tenantId.
getIngestJobRunStatusC
Checks the status of a previously submitted ingestion job.
Inputs: ingestJobRunId (required), namespaceId, tenantId.
getNamespaceC
Retrieves a specific namespace by its ID.
Inputs: namespaceId, tenantId.
hybridSearchC
Performs a combined keyword and semantic search, balancing between exact matches and semantic similarity. Requires hybridConfig with weights for both search types.
Inputs: query (required), hybridConfig (required), namespaceId, topK, +4 more.
ingestConnectorC
Ingests all documents in the connector that are in backlog or failed status. No need to provide the document ids or file ids for the ingestion. Ids are already in the backlog when picked thorough the picker. If not, the user has to go through the authorization flow again, where they will be asked to pick the documents again.
Inputs: ingestConfig (required), namespaceId, tenantId.
ingestFileC
Ingests a file into the namespace. Supports various file formats with automatic parsing.
Inputs: file (required), namespaceId, metadata, chunkConfig, +1 more.
ingestSitemapC
Ingests content from a website using its sitemap.xml. Supports path filtering and link limits.
Inputs: ingestConfig (required), namespaceId, tenantId.
ingestTextC
Ingests raw text content into the namespace. Supports optional metadata and chunk configuration.
Inputs: ingestConfig (required), namespaceId, tenantId.
ingestUrlsC
Ingests content from a list of URLs. Supports scraping options and metadata.
Inputs: ingestConfig (required), namespaceId, tenantId.
ingestWebsiteC
Crawls and ingests content from a website recursively. Supports depth control and path filtering.
Inputs: ingestConfig (required), namespaceId, tenantId.
listConnectionsB
Lists all connections for the current namespace, optionally filtered by connector type.
Inputs: namespaceId, connector, tenantId.
listNamespacesB
Lists all namespaces available for the current API key and optional tenant ID.
Inputs: tenantId.
resyncDocumentsB
Reprocesses documents that match the specified filter criteria. Useful for updating after schema changes.
Inputs: filterConfig (required), namespaceId, documentIds, tenantId.
revokeConnectionC
Revokes access for a specific connection, removing the integration with the external service.
Inputs: connectionId (required), namespaceId, tenantId.
semanticSearchC
Performs semantic search across the namespace to find relevant content based on meaning rather than exact keyword matches.
Inputs: query (required), namespaceId, topK, scoreThreshold, +3 more.
updateConnectionC
Updates a connection to a specific source. The connector parameter should be a valid SourceSync connector enum value. The clientRedirectUrl parameter is optional and can be used to specify a custom redirect URL for the connection. This will give you a authorization url which you can redirect the user to. The user will then be asked to pick the documents they want to ingest. This is useful if you want to update the connection to a different source or if you want to update the clientRedirectUrl or if you want to pick a different or new set of documents.
Inputs: connectionId (required), namespaceId, name, clientRedirectUrl, +1 more.
updateDocumentsC
Updates metadata for documents that match the specified filter criteria.
Inputs: documents (required), filterConfig (required), data (required), namespaceId, +1 more.
updateNamespaceC
Updates an existing namespace with the provided configuration parameters.
Inputs: namespaceId, fileStorageConfig, vectorStorageConfig, embeddingModelConfig, +8 more.
validateApiKeyA
Validates the API key by attempting to list namespaces. Returns the list of namespaces if successful.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have distinct purposes, but there is some overlap between ingest tools (e.g., ingestFile, ingestText, ingestUrls, ingestWebsite, ingestSitemap) that could cause confusion about which to use for specific content types. However, descriptions clarify their specific use cases, and other tools like search and connection management are clearly differentiated.
Tool names follow a consistent verb_noun pattern throughout, such as createConnection, deleteDocuments, fetchUrlContent, and hybridSearch. This predictability makes it easy for agents to understand and select tools based on their actions and targets.
With 25 tools, the count is on the higher side for a document ingestion and search server, which may feel heavy and potentially overwhelming. While it covers many operations, it borders on being too many, as some tools could be consolidated or simplified without losing functionality.
The tool set provides comprehensive coverage for the domain, including CRUD operations for namespaces and connections, various ingestion methods for different content types, search capabilities (semantic and hybrid), document management (fetch, update, delete, resync), and API validation. No obvious gaps are present, enabling full lifecycle management.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server enabling LLMs to search, retrieve, and manage documents through Rememberizer's knowledge management API.36Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for ingesting, chunking and semantically searching documentation files, with support for markdown, Python, OpenAPI, HTML files and URLs.-

CodeAlive MCPofficial
AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.90MIT- FlicenseDqualityDmaintenanceA Model Context Protocol server implementation that provides a standardized interface for interacting with Smallest.ai's knowledge base management system.33-