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
Installation
Running with npx
Installing via Smithery
To install sourcesyncai-mcp for Claude Desktop automatically via Smithery:
Manual Installation
Running on Cursor
To configure SourceSync.ai MCP in Cursor:
- Open Cursor Settings
- Go to
Features > MCP Servers
- Click
+ Add New MCP Server
- Enter the following:
- Name:
sourcesyncai-mcp
(or your preferred name) - Type:
command
- Command:
env SOURCESYNCAI_API_KEY=your-api-key npx -y sourcesyncai-mcp
- Name:
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
:
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.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- Edit the configuration file to add the SourceSync.ai MCP server:
- 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:
Available Tools
Authentication
validate_api_key
: Validate a SourceSync.ai API key
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
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
Documents
getDocuments
: Retrieve documents with optional filtersupdateDocuments
: Update document metadatadeleteDocuments
: Delete documentsresyncDocuments
: Resync documentsfetchUrlContent
: Fetch text content from document URLs
Search
semantic_search
: Perform semantic searchhybrid_search
: Perform hybrid search (semantic + keyword)
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
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:
- Restart 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
License
MIT
Links
Document content retrieval workflow:
- First, use
getDocuments
withincludeConfig.parsedTextFileUrl: true
to get documents with their content URLs - Extract the URL from the document response
- Use
fetchUrlContent
to retrieve the actual content:
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
AI モデルが SourceSync.ai のナレッジ管理プラットフォームと対話してドキュメントを管理し、さまざまなソースからのコンテンツを取り込み、セマンティック検索を実行できるようにするモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -71
- -securityAlicense-qualityA server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.Last updated -19MIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server that provides AI assistants with direct access to Semantic Scholar's academic database, enabling advanced paper discovery, citation analysis, author research, and AI-powered recommendations.Last updated -4