Skip to content

Commit 0fa9f4b

Browse files
authored
Merge pull request #28 from apollographql/jeffrey/add-license
add license
2 parents ffe1729 + 29be65e commit 0fa9f4b

File tree

4 files changed

+205
-21
lines changed

4 files changed

+205
-21
lines changed

LICENSE

Lines changed: 102 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,102 @@
1-
MIT License
2-
3-
Copyright (c) 2025 Apollo GraphQL
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.
1+
Copyright 2025 Apollo Graph, Inc.
2+
3+
Source code in this repository is covered by the Elastic License 2.0. The
4+
default throughout the repository is a license under the Elastic License 2.0,
5+
unless a file header or a license file in a subdirectory specifies another
6+
license.
7+
8+
--------------------------------------------------------------------------------
9+
10+
Elastic License 2.0
11+
12+
## Acceptance
13+
14+
By using the software, you agree to all of the terms and conditions below.
15+
16+
## Copyright License
17+
18+
The licensor grants you a non-exclusive, royalty-free, worldwide,
19+
non-sublicensable, non-transferable license to use, copy, distribute, make
20+
available, and prepare derivative works of the software, in each case subject to
21+
the limitations and conditions below.
22+
23+
## Limitations
24+
25+
You may not provide the software to third parties as a hosted or managed
26+
service, where the service provides users with access to any substantial set of
27+
the features or functionality of the software.
28+
29+
You may not move, change, disable, or circumvent the license key functionality
30+
in the software, and you may not remove or obscure any functionality in the
31+
software that is protected by the license key.
32+
33+
You may not alter, remove, or obscure any licensing, copyright, or other notices
34+
of the licensor in the software. Any use of the licensor’s trademarks is subject
35+
to applicable law.
36+
37+
## Patents
38+
39+
The licensor grants you a license, under any patent claims the licensor can
40+
license, or becomes able to license, to make, have made, use, sell, offer for
41+
sale, import and have imported the software, in each case subject to the
42+
limitations and conditions in this license. This license does not cover any
43+
patent claims that you cause to be infringed by modifications or additions to
44+
the software. If you or your company make any written claim that the software
45+
infringes or contributes to infringement of any patent, your patent license for
46+
the software granted under these terms ends immediately. If your company makes
47+
such a claim, your patent license ends immediately for work on behalf of your
48+
company.
49+
50+
## Notices
51+
52+
You must ensure that anyone who gets a copy of any part of the software from you
53+
also gets a copy of these terms.
54+
55+
If you modify the software, you must include in any modified copies of the
56+
software prominent notices stating that you have modified the software.
57+
58+
## No Other Rights
59+
60+
These terms do not imply any licenses other than those expressly granted in
61+
these terms.
62+
63+
## Termination
64+
65+
If you use the software in violation of these terms, such use is not licensed,
66+
and your licenses will automatically terminate. If the licensor provides you
67+
with a notice of your violation, and you cease all violation of this license no
68+
later than 30 days after you receive that notice, your licenses will be
69+
reinstated retroactively. However, if you violate these terms after such
70+
reinstatement, any additional violation of these terms will cause your licenses
71+
to terminate automatically and permanently.
72+
73+
## No Liability
74+
75+
*As far as the law allows, the software comes as is, without any warranty or
76+
condition, and the licensor will not be liable to you for any damages arising
77+
out of these terms or the use or nature of the software, under any kind of
78+
legal claim.*
79+
80+
## Definitions
81+
82+
The **licensor** is the entity offering these terms, and the **software** is the
83+
software the licensor makes available under these terms, including any portion
84+
of it.
85+
86+
**you** refers to the individual or entity agreeing to these terms.
87+
88+
**your company** is any legal entity, sole proprietorship, or other kind of
89+
organization that you work for, plus all organizations that have control over,
90+
are under the control of, or are under common control with that
91+
organization. **control** means ownership of substantially all the assets of an
92+
entity, or the power to direct its management and policies by vote, contract, or
93+
otherwise. Control can be direct or indirect.
94+
95+
**your licenses** are all the licenses granted to you for the software under
96+
these terms.
97+
98+
**use** means anything you do with the software requiring one of your licenses.
99+
100+
**trademark** means trademarks, service marks, and similar rights.
101+
102+
--------------------------------------------------------------------------------

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,10 @@ Two new tools will be exposed by the server:
197197
* `execute` - executes an operation on the GraphQL endpoint
198198

199199
The MCP client can then use these tools to provide schema information to the model, and allow the model to execute GraphQL operations based on that schema.
200+
201+
# Licensing
202+
203+
Source code in this repository is covered by the Elastic License 2.0. The
204+
default throughout the repository is a license under the Elastic License 2.0,
205+
unless a file header or a license file in a subdirectory specifies another
206+
license. [See the LICENSE](./LICENSE) for the full license text.

crates/mcp-apollo-server/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "mcp-apollo-server"
33
version.workspace = true
44
edition = "2024"
5+
license = "Elastic-2.0"
56

67
[dependencies]
78
anyhow = "1.0.98"

crates/mcp-apollo-server/LICENSE

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
Copyright 2025 Apollo Graph, Inc.
2+
3+
Elastic License 2.0
4+
5+
## Acceptance
6+
7+
By using the software, you agree to all of the terms and conditions below.
8+
9+
## Copyright License
10+
11+
The licensor grants you a non-exclusive, royalty-free, worldwide,
12+
non-sublicensable, non-transferable license to use, copy, distribute, make
13+
available, and prepare derivative works of the software, in each case subject to
14+
the limitations and conditions below.
15+
16+
## Limitations
17+
18+
You may not provide the software to third parties as a hosted or managed
19+
service, where the service provides users with access to any substantial set of
20+
the features or functionality of the software.
21+
22+
You may not move, change, disable, or circumvent the license key functionality
23+
in the software, and you may not remove or obscure any functionality in the
24+
software that is protected by the license key.
25+
26+
You may not alter, remove, or obscure any licensing, copyright, or other notices
27+
of the licensor in the software. Any use of the licensor’s trademarks is subject
28+
to applicable law.
29+
30+
## Patents
31+
32+
The licensor grants you a license, under any patent claims the licensor can
33+
license, or becomes able to license, to make, have made, use, sell, offer for
34+
sale, import and have imported the software, in each case subject to the
35+
limitations and conditions in this license. This license does not cover any
36+
patent claims that you cause to be infringed by modifications or additions to
37+
the software. If you or your company make any written claim that the software
38+
infringes or contributes to infringement of any patent, your patent license for
39+
the software granted under these terms ends immediately. If your company makes
40+
such a claim, your patent license ends immediately for work on behalf of your
41+
company.
42+
43+
## Notices
44+
45+
You must ensure that anyone who gets a copy of any part of the software from you
46+
also gets a copy of these terms.
47+
48+
If you modify the software, you must include in any modified copies of the
49+
software prominent notices stating that you have modified the software.
50+
51+
## No Other Rights
52+
53+
These terms do not imply any licenses other than those expressly granted in
54+
these terms.
55+
56+
## Termination
57+
58+
If you use the software in violation of these terms, such use is not licensed,
59+
and your licenses will automatically terminate. If the licensor provides you
60+
with a notice of your violation, and you cease all violation of this license no
61+
later than 30 days after you receive that notice, your licenses will be
62+
reinstated retroactively. However, if you violate these terms after such
63+
reinstatement, any additional violation of these terms will cause your licenses
64+
to terminate automatically and permanently.
65+
66+
## No Liability
67+
68+
*As far as the law allows, the software comes as is, without any warranty or
69+
condition, and the licensor will not be liable to you for any damages arising
70+
out of these terms or the use or nature of the software, under any kind of
71+
legal claim.*
72+
73+
## Definitions
74+
75+
The **licensor** is the entity offering these terms, and the **software** is the
76+
software the licensor makes available under these terms, including any portion
77+
of it.
78+
79+
**you** refers to the individual or entity agreeing to these terms.
80+
81+
**your company** is any legal entity, sole proprietorship, or other kind of
82+
organization that you work for, plus all organizations that have control over,
83+
are under the control of, or are under common control with that
84+
organization. **control** means ownership of substantially all the assets of an
85+
entity, or the power to direct its management and policies by vote, contract, or
86+
otherwise. Control can be direct or indirect.
87+
88+
**your licenses** are all the licenses granted to you for the software under
89+
these terms.
90+
91+
**use** means anything you do with the software requiring one of your licenses.
92+
93+
**trademark** means trademarks, service marks, and similar rights.
94+
95+
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)