Secoda MCP
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Secoda MCP
Secoda MCP is a custom server built with FastMCP that provides access to Secoda's data tools and functionalities.
Features
Access to Secoda's data assets search
Access to documentation search
Ability to run SQL queries directly
Integration with Secoda's data catalog
Entity lineage visualization
Glossary term retrieval
Related MCP server: Glossary MCP Server
Getting Started
Prerequisites
Python 3.8 or higher
Access to Secoda's API
API token for authentication with the Secoda API (can be generated at https://app.secoda.co/settings/api if you're an admin)
Installation
Clone the repository:
git clone https://github.com/secoda/secoda-mcp.git cd secoda-mcpInstall dependencies:
# Install runtime dependencies python -m pip install -r requirements.txt
Environment Variables
Variable | Description | Default |
| Required token for API authentication | None (Required) |
| URL of the Secoda API endpoint |
Instance URL Note
If you're using a regional instance or self-hosted deployment of Secoda, replace app.secoda.co with your specific instance URL:
EU region:
eu.secoda.coAPAC region:
apac.secoda.coSelf-hosted: Your custom domain (e.g.,
secoda.yourcompany.com)
Integration with Tools
Using with Cursor
To integrate Secoda MCP with Cursor, add the following configuration to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"secoda_mcp": {
"command": "python",
"args": [
"/path/to/secoda-mcp/server.py"
],
"env": {
"API_TOKEN": "your-api-token",
"API_URL": "https://app.secoda.co/api/v1/"
}
}
}
}Replace /path/to/secoda-mcp/server.py with the actual path to your server.py file, set your API token, and update the API_URL with your Secoda instance URL if not using app.secoda.co.
Using with Claude
To integrate Secoda MCP with Claude Desktop, add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"secoda-mcp": {
"command": "python",
"args": [
"/path/to/secoda-mcp/server.py"
],
"env": {
"API_TOKEN": "your-api-token",
"API_URL": "https://app.secoda.co/api/v1/"
}
}
}
}Replace /path/to/secoda-mcp/server.py with the actual path to your server.py file, set your API token, and update the API_URL with your specific Secoda instance URL if not using app.secoda.co. To access the Claude Desktop configuration file, open the Claude menu, go to "Settings", click on "Developer" in the left-hand bar, and then click on "Edit Config".
After updating the configuration, restart Claude Desktop to apply the changes.
Using with Microsoft Copilot Studio
To integrate Secoda MCP with Microsoft Copilot Studio, you'll need to run the server in HTTP mode and expose it via a public HTTPS endpoint. This integration allows your Copilot Studio agents to access Secoda's data catalog, run SQL queries, and search documentation.
Prerequisites for Copilot Studio Integration
Active Secoda account with API access
Secoda API token (generate at https://app.secoda.co/settings/api)
Microsoft Copilot Studio access
ngrok account (for exposing local server publicly)
Step 1: Set Up HTTP Server
The repository includes server_http.py which runs the MCP server in HTTP mode:
# Set your environment variables
export API_TOKEN="your-secoda-api-token"
export API_URL="https://app.secoda.co/api/v1/" # or your instance URL
# Install dependencies if not already installed
pip install -r requirements.txt
# Run the HTTP server
python server_http.pyThe server will start on http://localhost:5012/mcp by default.
Step 2: Expose Server with ngrok
Since Copilot Studio requires a public HTTPS endpoint:
# Install ngrok (macOS)
brew install ngrok
# Create ngrok account and authenticate
ngrok config add-authtoken YOUR_NGROK_TOKEN
# In a new terminal, expose your local server
ngrok http 5012
# Copy the HTTPS URL (e.g., https://abc123.ngrok.io)Step 3: Configure OpenAPI Schema
Use the provided copilot_studio.sample.yaml file and update it with your ngrok URL:
Open
copilot_studio.sample.yamlReplace
b8b4198d8693.ngrok-free.appon line 6 with your actual ngrok URL (without https://)Save the file as
copilot_studio.yaml
Step 4: Test Your Setup
Before configuring Copilot Studio, verify your server works:
# Test basic connectivity
curl https://your-ngrok-url.ngrok.io/mcp
#### Step 5: Configure in Copilot Studio
1. **Access Copilot Studio**: Go to https://copilotstudio.microsoft.com
2. **Create or Select Agent**: Choose the agent you want to enhance
3. **Add Custom Connector**:
- Navigate to Tools → Add a tool → New tool → Custom connector
- This will redirect you to Power Apps
4. **Import OpenAPI Schema**:
- In Power Apps, select "Import from OpenAPI file"
- Upload your configured `copilot_studio.yaml`
- Review and confirm the import
5. **Configure Connector**:
- Set the host to your ngrok URL (without https://)
- Configure authentication if needed
- Test the connector using the built-in test feature
6. **Add Secoda MCP to Your Agent**
- Go to your agent in CopilotStudio.
- Go to tools tab, click on Add tool
- In the Model Context Protocol section, search for Secoda and add it.
#### Available Tools in Copilot Studio
Once configured, your Copilot Studio agent will have access to these Secoda tools:
- **run_sql**: Execute SQL queries against your data warehouse
- **search_data_assets**: Find tables, columns, and other data assets
- **search_documentation**: Search through data documentation
- **retrieve_entity**: Get detailed information about specific data entities
- **entity_lineage**: View data lineage for understanding data flow
- **glossary**: Access your organization's data glossary
#### Example Usage in Copilot Studio
Users can interact with your agent using natural language:
- "Show me all tables related to customers"
- "What's the definition of revenue in our glossary?"
- "Run a query to get the top 10 customers by sales"
- "Find documentation about our user analytics tables"
#### Monitoring and Debugging
Monitor requests through ngrok's web interface:
```bash
# Open ngrok inspector in browser
open http://localhost:4040This shows all HTTP requests/responses, helping you debug any issues.
Production Considerations
For production use:
Use a stable URL: Replace ngrok with a permanent hosting solution
Add authentication: Configure proper API key authentication in Power Apps
Enable logging: Add comprehensive logging to your server
Set up monitoring: Monitor server health and API usage
Configure rate limiting: Implement appropriate rate limiting
Troubleshooting Copilot Studio Integration
Connection Issues:
Verify ngrok is running and forwarding correctly
Check that your Secoda API token is valid
Ensure the server is running on the expected port
Authentication Errors:
Confirm your API token has the necessary permissions
Check that the API_URL environment variable is correct for your Secoda instance
Using with Other Tools
Secoda MCP can be integrated with various other tools:
VS Code: Use the VS Code extension for MCP servers
JetBrains IDEs: Install the MCP plugin from the marketplace
Command Line: Access MCP functionalities directly via the CLI
Web Applications: Embed MCP capabilities in web apps through the REST API
Troubleshooting
If you encounter connection issues, ensure Secoda's API is running at the configured URL
If you get authorization errors, verify your API token is correct and properly set as an environment variable
For permission errors, check your authentication settings in your Secoda account
License
This project is licensed under the MIT License - see the LICENSE file for details.
Security
If you discover any security related issues, please email security@secoda.co instead of using the issue tracker.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Cross-tool context for your data stack. Search, lineage, and impact across warehouse and BI tools.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Read-only AgentiScript concept search, catalog, authenticity, license, and approved asset discovery.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, explore data lineage, understand business context, and generate SQL queries across an organization's data ecosystem.Apache 2.0
- -licenseNot gradedqualityNot gradedmaintenanceEnables semantic search and exploration of a business glossary knowledge graph, allowing users to query terms, expand related concepts, trace dependencies, and resolve physical table mappings.-
- AlicenseAqualityBmaintenanceEnables querying Tableau lineage through the Metadata API via MCP, supporting impact analysis, where-used lookups, and content search. Provides read-only tools for answering natural-language questions about workbooks, datasources, fields, and dependencies.733 PyPI2MIT
- FlicenseNot gradedqualityDmaintenanceEnables composable search and filtering over an enterprise data catalog, with tools for lineage, sample data, profiling, history, quality rules, and AI-driven classification.-