Integrations
Synapse MCP Server
A Model Context Protocol (MCP) server that exposes Synapse Entities (Datasets, Projects, Folders, Files, Tables) with their annotations.
Overview
This server provides a RESTful API for accessing Synapse entities and their annotations through the Model Context Protocol (MCP). It allows you to:
- Authenticate with Synapse
- Retrieve entities by ID
- Get entity annotations
- Get entity children
- Query entities based on various criteria
- Query Synapse tables
Installation
Copy
Installing from PyPI
Copy
Usage
Starting the Server
Copy
This will start the MCP server on the default port (9000).
Using the CLI
Copy
Command-line Options
Copy
Running Tests
Copy
Testing the Server
Copy
API Endpoints
Server Information
GET /info
- Get server information
Tools
GET /tools
- List available toolsPOST /tools/authenticate
- Authenticate with SynapsePOST /tools/get_entity
- Get an entity by IDPOST /tools/get_entity_annotations
- Get annotations for an entityPOST /tools/get_entity_children
- Get child entities of a container entityPOST /tools/query_entities
- Query entities based on various criteriaPOST /tools/query_table
- Query a Synapse table
Resources
GET /resources
- List available resourcesGET /resources/entity/{id}
- Get entity by IDGET /resources/entity/{id}/annotations
- Get entity annotationsGET /resources/entity/{id}/children
- Get entity childrenGET /resources/query/entities/{entity_type}
- Query entities by typeGET /resources/query/entities/parent/{parent_id}
- Query entities by parent IDGET /resources/query/entities/name/{name}
- Query entities by nameGET /resources/query/table/{id}/{query}
- Query a table with SQL-like syntax
Examples
Authentication
You need to authenticate with real Synapse credentials to use the server:
Copy
Getting an Entity
Copy
Getting Entity Annotations
Copy
Querying Entities
Copy
Querying a Table
Copy
Getting Datasets in Croissant Format
Copy
License
MIT
This server cannot be installed
A Model Context Protocol server that exposes Synapse Entities (Datasets, Projects, Folders, Files, Tables) with their annotations, enabling programmatic access to Synapse data resources through a RESTful API.