Skip to content

Commit 8fa8a20

Browse files
krrrkrrr
authored andcommitted
init
0 parents  commit 8fa8a20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+15594
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/mvnw text eol=lf
2+
*.cmd text eol=crlf
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve the project
4+
title: ''
5+
labels: 'type: bug, status: waiting-for-triage'
6+
assignees: ''
7+
8+
---
9+
10+
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create.
11+
If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:
12+
13+
**Bug description**
14+
A clear and concise description of what the bug is about.
15+
16+
**Environment**
17+
Please provide as many details as possible: Spring MCP version, Java version, which vector store you use if any, etc
18+
19+
**Steps to reproduce**
20+
Steps to reproduce the issue.
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Minimal Complete Reproducible example**
26+
Please provide a failing test or a minimal complete verifiable example that reproduces the issue.
27+
Bug reports that are reproducible will take priority in resolution over reports that are not reproducible.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions and Community Support
4+
url: https://stackoverflow.com/questions/tagged/spring-ai-mcp
5+
about: Please ask and answer questions on StackOverflow with the spring-ai tag
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'status: waiting-for-triage, type: feature'
6+
assignees: ''
7+
8+
---
9+
10+
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
11+
12+
**Expected Behavior**
13+
14+
<!--- Tell us how it should work. Add a code example to explain what you think the feature should look like. This is optional, but it would help up understand your expectations. -->
15+
16+
**Current Behavior**
17+
18+
<!--- Explain the difference from current behavior and why do you need this feature (aka why it is not possible to implement the desired functionality with the current version) -->
19+
20+
**Context**
21+
22+
<!---
23+
How has this issue affected you?
24+
What are you trying to accomplish?
25+
What other alternatives have you considered?
26+
Are you aware of any workarounds?
27+
-->
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Miscellaneous
3+
about: Suggest an improvement for this project
4+
title: ''
5+
labels: 'status: waiting-for-triage'
6+
assignees: ''
7+
8+
---
9+
10+
For anything other than bug reports and feature requests (performance, refactoring, etc),
11+
just go ahead and file the issue. Please provide as many details as possible.
12+
13+
If you have a question or a support request, please open a new discussion on [GitHub Discussions](https://github.com/modelcontextprotocol/java-sdk/discussions)
14+
15+
Please do **not** create issues on the [Issue Tracker](https://github.com/modelcontextprotocol/java-sdk/issues) for questions or support requests.
16+
We would like to keep the issue tracker **exclusively** for bug reports and feature requests.

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
pull_request: {}
5+
6+
jobs:
7+
build:
8+
name: Build branch
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout source code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: '17'
18+
distribution: 'temurin'
19+
cache: 'maven'
20+
21+
- name: Build
22+
run: mvn verify

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
build:
9+
name: Build branch
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout source code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up JDK 8
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '8'
19+
distribution: 'temurin'
20+
cache: 'maven'
21+
22+
- name: Build
23+
run: mvn clean build
24+
25+
26+
- name: Generate Java docs
27+
run: mvn -Pjavadoc -B javadoc:aggregate
28+
29+
- name: Capture project version
30+
run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV

.gitignore

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
### Maven/Gradle Builds ###
2+
target/
3+
!.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
build/
7+
!**/src/main/**/build/
8+
!**/src/test/**/build/
9+
.gradle
10+
out
11+
/.gradletasknamecache
12+
**/*.flattened-pom.xml
13+
14+
### IDE - Eclipse/STS ###
15+
.apt_generated
16+
.classpath
17+
.factorypath
18+
.project
19+
.settings/
20+
.springBeans
21+
.sts4-cache
22+
bin/
23+
com.springsource.sts.config.flow.prefs
24+
25+
### IDE - IntelliJ IDEA ###
26+
.idea/
27+
*.iml
28+
*.ipr
29+
*.iws
30+
31+
### IDE - NetBeans ###
32+
/nbproject/private/
33+
/nbbuild/
34+
/dist/
35+
/nbdist/
36+
/.nb-gradle/
37+
38+
### IDE - VS Code ###
39+
.vscode/
40+
vscode/
41+
settings.json
42+
43+
### Logs and Databases ###
44+
build.log
45+
shell.log
46+
integration-repo
47+
ivy-cache
48+
spring-build
49+
derby-home
50+
derbydb
51+
derby.log
52+
53+
### Node.js ###
54+
node/
55+
node_modules/
56+
package-lock.json
57+
package.json
58+
59+
### Other ###
60+
.antlr/
61+
.profiler/
62+
s3.properties
63+
.*.swp
64+
.DS_Store
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 the original author or authors.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)