This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-mcp-server.git


The following commit(s) were added to refs/heads/main by this push:
     new f7e0a51  add license
f7e0a51 is described below

commit f7e0a51e10d698f7621a81fe64f442cbaa87a10f
Author: JackieTien97 <[email protected]>
AuthorDate: Wed Apr 2 16:35:56 2025 +0800

    add license
---
 .asf                             | 40 ++++++++++++++++++++++++++++++++++++++++
 asf.header                       | 16 ++++++++++++++++
 pyproject.toml                   |  5 ++++-
 src/iotdb_mcp_server/__init__.py | 18 ++++++++++++++++++
 src/iotdb_mcp_server/config.py   | 18 ++++++++++++++++++
 src/iotdb_mcp_server/server.py   | 18 ++++++++++++++++++
 6 files changed, 114 insertions(+), 1 deletion(-)

diff --git a/.asf b/.asf
new file mode 100644
index 0000000..ecb37c4
--- /dev/null
+++ b/.asf
@@ -0,0 +1,40 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+github:
+  description: "Apache IoTDB MCP Server"
+  homepage: https://iotdb.apache.org/
+  labels:
+    - timeseries
+    - database
+    - iot
+    - mcp-server
+    - big-data
+    - python
+    - tsdb
+  features:
+    wiki: true
+    issues: true
+  enabled_merge_buttons:
+    # enable squash button:
+    squash:  true
+    # enable merge button:
+    merge:   false
+    # disable rebase button:
+    rebase:  true
\ No newline at end of file
diff --git a/asf.header b/asf.header
new file mode 100644
index 0000000..c1640de
--- /dev/null
+++ b/asf.header
@@ -0,0 +1,16 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index 88f5b46..3dfeacd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,7 +3,10 @@ name = "iotdb-mcp-server"
 packages = [{ include = "src/iotdb_mcp_server" }]
 version = "0.1.0"
 description = "A Model Context Protocol (MCP) server that enables secure 
interaction with GreptimeDB databases. This server allows AI assistants to list 
tables, read data, and execute SQL queries through a controlled interface, 
making database exploration and analysis safer and more structured."
-requires-python = ">=3.11"
+readme = "README.md"
+license = "Apache-2.0"
+license-file="LICENSE"
+requires-python = ">=3.12"
 dependencies = [
     "mcp>=1.0.0",
     "apache-iotdb>=2.0.1b0"
diff --git a/src/iotdb_mcp_server/__init__.py b/src/iotdb_mcp_server/__init__.py
index 66d74c4..bd6c83b 100644
--- a/src/iotdb_mcp_server/__init__.py
+++ b/src/iotdb_mcp_server/__init__.py
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 from iotdb_mcp_server.config import Config
 import sys
 
diff --git a/src/iotdb_mcp_server/config.py b/src/iotdb_mcp_server/config.py
index 40ddda3..db6875a 100644
--- a/src/iotdb_mcp_server/config.py
+++ b/src/iotdb_mcp_server/config.py
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 import argparse
 from dataclasses import dataclass
 import os
diff --git a/src/iotdb_mcp_server/server.py b/src/iotdb_mcp_server/server.py
index 7f26d21..0527bc2 100644
--- a/src/iotdb_mcp_server/server.py
+++ b/src/iotdb_mcp_server/server.py
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 import logging
 
 from iotdb.table_session import TableSession

Reply via email to