Skip to main content
Glama

Synapse MCP Server

MIT License
5
  • Linux
  • Apple
test_package.py1.55 kB
import unittest import importlib.util import os import sys class TestPackageInstallation(unittest.TestCase): """Test the synapse-mcp package installation.""" def test_package_imports(self): """Test that all package modules can be imported.""" # Test main package import import synapse_mcp self.assertIsNotNone(synapse_mcp) # Test submodules from synapse_mcp import auth self.assertTrue(auth is None or hasattr(auth, "authorize")) from synapse_mcp import utils self.assertIsNotNone(utils) from synapse_mcp import search_synapse self.assertTrue(hasattr(search_synapse, "fn")) # Test entities subpackage from synapse_mcp.entities import base self.assertIsNotNone(base) from synapse_mcp.entities import table self.assertIsNotNone(table) from synapse_mcp.entities import dataset self.assertIsNotNone(dataset) from synapse_mcp.entities import file self.assertIsNotNone(file) from synapse_mcp.entities import folder self.assertIsNotNone(folder) from synapse_mcp.entities import project self.assertIsNotNone(project) def test_entry_point(self): """Test that the entry point is available.""" # Check if the main module has a main function from synapse_mcp.__main__ import main self.assertTrue(callable(main)) if __name__ == "__main__": unittest.main()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/susheel/synapse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server