-
Notifications
You must be signed in to change notification settings - Fork 15.8k
feat(mcp): PR1 - Add MCP service scaffold for Apache Superset #35163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aminghadersohi
wants to merge
16
commits into
apache:master
Choose a base branch
from
aminghadersohi:feat/mcp_service_pr1_scaffold
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,003
−140
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8c52934
feat: Add MCP (Model Context Protocol) service scaffold for Apache Su…
aminghadersohi 2092da8
refactor(mcp): improve configuration management and setup
aminghadersohi d637b86
feat(mcp): add configurable FastMCP factory pattern
aminghadersohi f22850a
fix(mcp): correct invalid import in flask_singleton
aminghadersohi 87ae565
feat(mcp): add simple health check tool for testing
aminghadersohi 7317fd3
refactor(mcp): simplify flask singleton and minor improvements
aminghadersohi 4424397
remove(mcp): delete scripts directory and setup command
aminghadersohi fe15400
fix(mcp): respect existing logging configuration
aminghadersohi 51325ad
fix(mcp): remove blocking sleep from signal handler
aminghadersohi 6354d0b
feat(mcp): add Apache license headers to MCP service files
aminghadersohi ed4306d
feat(mcp): add FastMCP dependency and base constraints
aminghadersohi 2c6332a
update readme
aminghadersohi b472e01
fix(mcp): make MCP service optional and fix exception chaining
aminghadersohi a22c9bb
updat
aminghadersohi 1a040d6
fix the fastmcp dep issue by downgrading fastmcp for now
aminghadersohi 6bb4feb
refactor(mcp): improve config loading to read from app.config first
aminghadersohi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// Extend the base configuration | ||
"extends": "../devcontainer-base.json", | ||
|
||
"name": "Apache Superset Development (Default)", | ||
|
||
// Forward ports for development | ||
"forwardPorts": [9001], | ||
"portsAttributes": { | ||
"9001": { | ||
"label": "Superset (via Webpack Dev Server)", | ||
"onAutoForward": "notify", | ||
"visibility": "public" | ||
} | ||
}, | ||
|
||
// Auto-start Superset on Codespace resume | ||
"postStartCommand": ".devcontainer/start-superset.sh" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "Apache Superset Development", | ||
// Keep this in sync with the base image in Dockerfile (ARG PY_VER) | ||
// Using the same base as Dockerfile, but non-slim for dev tools | ||
"image": "python:3.11.13-bookworm", | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"moby": true, | ||
"dockerDashComposeVersion": "v2" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"version": "20" | ||
}, | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"configureZshAsDefaultShell": true | ||
}, | ||
"ghcr.io/devcontainers/features/sshd:1": { | ||
"version": "latest" | ||
} | ||
}, | ||
|
||
// Run commands after container is created | ||
"postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && .devcontainer/setup-dev.sh", | ||
|
||
// VS Code customizations | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"charliermarsh.ruff", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
// Extend the base configuration | ||
"extends": "../devcontainer-base.json", | ||
|
||
"name": "Apache Superset Development with MCP", | ||
|
||
// Forward ports for development | ||
"forwardPorts": [9001, 5008], | ||
"portsAttributes": { | ||
"9001": { | ||
"label": "Superset (via Webpack Dev Server)", | ||
"onAutoForward": "notify", | ||
"visibility": "public" | ||
}, | ||
"5008": { | ||
"label": "MCP Service (Model Context Protocol)", | ||
"onAutoForward": "notify", | ||
"visibility": "private" | ||
} | ||
}, | ||
|
||
// Auto-start Superset with MCP on Codespace resume | ||
"postStartCommand": "ENABLE_MCP=true .devcontainer/start-superset.sh", | ||
|
||
// Environment variables | ||
"containerEnv": { | ||
"ENABLE_MCP": "true" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.