Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
4 changes: 2 additions & 2 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
header:
license:
content: |
Copyright (c) 2023-2024 Datalayer, Inc.

Copyright (c) 2024- Datalayer, Inc.
BSD 3-Clause License


Expand Down
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion dev/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion dev/content/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageProducts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageProducts.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/index.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/markdown-page.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~ Copyright (c) 2024- Datalayer, Inc.
~
~ BSD 3-Clause License
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/testimonials.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 Datalayer, Inc.
* Copyright (c) 2024- Datalayer, Inc.
*
* BSD 3-Clause License
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/static/img/datalayer/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/feature_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/feature_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/feature_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/product_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/product_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/static/img/product_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions jupyter_mcp_server/CLI.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

"""
Jupyter MCP Server CLI Layer
"""


import click
import httpx
import uvicorn
Expand Down
8 changes: 6 additions & 2 deletions jupyter_mcp_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

"""Jupyter MCP Server."""

from jupyter_mcp_server.__version__ import __version__
from jupyter_mcp_server.jupyter_extension.extension import _jupyter_server_extension_points


__all__ = ["_jupyter_server_extension_points"]
__all__ = [
"__version__",
"_jupyter_server_extension_points",
]
2 changes: 1 addition & 1 deletion jupyter_mcp_server/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
4 changes: 2 additions & 2 deletions jupyter_mcp_server/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

"""Jupyter MCP Server."""

__version__ = "0.19.0"
__version__ = "0.20.0"
2 changes: 1 addition & 1 deletion jupyter_mcp_server/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion jupyter_mcp_server/enroll.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion jupyter_mcp_server/jupyter_extension/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion jupyter_mcp_server/jupyter_extension/backends/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion jupyter_mcp_server/jupyter_extension/backends/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
2 changes: 1 addition & 1 deletion jupyter_mcp_server/jupyter_extension/context.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down
14 changes: 5 additions & 9 deletions jupyter_mcp_server/jupyter_extension/extension.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Datalayer, Inc.
#
# BSD 3-Clause License

# Copyright (c) 2023-2024 Datalayer, Inc.
# Copyright (c) 2024- Datalayer, Inc.
#
# BSD 3-Clause License

Expand Down Expand Up @@ -214,11 +210,11 @@ def initialize_handlers(self):
handlers = [
# MCP protocol endpoint - SSE-based handler
# Match /mcp with or without trailing slash
(url_path_join(base_url, "mcp/?"), MCPSSEHandler),
(url_path_join("mcp/?"), MCPSSEHandler),
# Utility endpoints (optional, for debugging)
(url_path_join(base_url, "mcp/healthz"), MCPHealthHandler),
(url_path_join(base_url, "mcp/tools/list"), MCPToolsListHandler),
(url_path_join(base_url, "mcp/tools/call"), MCPToolsCallHandler),
(url_path_join("mcp/healthz"), MCPHealthHandler),
(url_path_join("mcp/tools/list"), MCPToolsListHandler),
(url_path_join("mcp/tools/call"), MCPToolsCallHandler),
]

# Register handlers
Expand Down
Loading
Loading