@decaf-ts/mcp-server 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +86 -21
- package/README.md +13 -13
- package/dist/mcp-server.cjs +893 -187
- package/dist/mcp-server.esm.cjs +888 -180
- package/lib/McpWrapper.cjs +189 -0
- package/lib/McpWrapper.d.ts +101 -0
- package/lib/bin/cli.cjs +30 -54
- package/lib/bin/cli.d.ts +18 -44
- package/lib/constants.cjs +12 -0
- package/lib/constants.d.ts +8 -0
- package/lib/esm/McpWrapper.d.ts +101 -0
- package/lib/esm/McpWrapper.js +182 -0
- package/lib/esm/bin/cli.d.ts +18 -44
- package/lib/esm/bin/cli.js +28 -55
- package/lib/esm/constants.d.ts +8 -0
- package/lib/esm/constants.js +9 -0
- package/lib/esm/index.d.ts +5 -26
- package/lib/esm/index.js +6 -27
- package/lib/esm/mcp/index.d.ts +1 -0
- package/lib/esm/mcp/index.js +2 -0
- package/lib/esm/metadata.d.ts +9 -0
- package/lib/esm/metadata.js +22 -0
- package/lib/esm/modules/decoration/index.d.ts +0 -0
- package/lib/esm/modules/decoration/index.js +2 -0
- package/lib/esm/modules/mcp/decoration-assist.d.ts +39 -0
- package/lib/esm/modules/mcp/decoration-assist.js +353 -0
- package/lib/esm/modules/mcp/decorator-tools.d.ts +118 -0
- package/lib/esm/modules/mcp/decorator-tools.js +237 -0
- package/lib/esm/modules/mcp/index.d.ts +2 -0
- package/lib/esm/modules/mcp/index.js +3 -0
- package/lib/esm/modules/mcp/mcp-module.d.ts +230 -0
- package/lib/esm/modules/mcp/mcp-module.js +406 -0
- package/lib/esm/types.d.ts +15 -0
- package/lib/esm/types.js +2 -0
- package/lib/esm/utils.d.ts +54 -13
- package/lib/esm/utils.js +78 -15
- package/lib/index.cjs +6 -28
- package/lib/index.d.ts +5 -26
- package/lib/mcp/index.cjs +17 -0
- package/lib/mcp/index.d.ts +1 -0
- package/lib/metadata.cjs +25 -0
- package/lib/metadata.d.ts +9 -0
- package/lib/modules/decoration/index.cjs +2 -0
- package/lib/modules/decoration/index.d.ts +0 -0
- package/lib/modules/mcp/decoration-assist.cjs +360 -0
- package/lib/modules/mcp/decoration-assist.d.ts +39 -0
- package/lib/modules/mcp/decorator-tools.cjs +243 -0
- package/lib/modules/mcp/decorator-tools.d.ts +118 -0
- package/lib/modules/mcp/index.cjs +24 -0
- package/lib/modules/mcp/index.d.ts +2 -0
- package/lib/modules/mcp/mcp-module.cjs +452 -0
- package/lib/modules/mcp/mcp-module.d.ts +230 -0
- package/lib/types.cjs +3 -0
- package/lib/types.d.ts +15 -0
- package/lib/utils.cjs +116 -16
- package/lib/utils.d.ts +54 -13
- package/package.json +35 -7
- package/lib/esm/namespace/Class.d.ts +0 -74
- package/lib/esm/namespace/Class.js +0 -73
- package/lib/esm/namespace/Interface.d.ts +0 -17
- package/lib/esm/namespace/Interface.js +0 -2
- package/lib/esm/namespace/children/ChildClass.d.ts +0 -44
- package/lib/esm/namespace/children/ChildClass.js +0 -43
- package/lib/esm/namespace/children/ChildInterface.d.ts +0 -22
- package/lib/esm/namespace/children/ChildInterface.js +0 -2
- package/lib/esm/namespace/children/Enum.d.ts +0 -14
- package/lib/esm/namespace/children/Enum.js +0 -16
- package/lib/esm/namespace/children/function.d.ts +0 -31
- package/lib/esm/namespace/children/function.js +0 -33
- package/lib/esm/namespace/children/index.d.ts +0 -25
- package/lib/esm/namespace/children/index.js +0 -26
- package/lib/esm/namespace/index.d.ts +0 -18
- package/lib/esm/namespace/index.js +0 -19
- package/lib/esm/namespace/type.d.ts +0 -28
- package/lib/esm/namespace/type.js +0 -2
- package/lib/namespace/Class.cjs +0 -77
- package/lib/namespace/Class.d.ts +0 -74
- package/lib/namespace/Interface.cjs +0 -3
- package/lib/namespace/Interface.d.ts +0 -17
- package/lib/namespace/children/ChildClass.cjs +0 -47
- package/lib/namespace/children/ChildClass.d.ts +0 -44
- package/lib/namespace/children/ChildInterface.cjs +0 -3
- package/lib/namespace/children/ChildInterface.d.ts +0 -22
- package/lib/namespace/children/Enum.cjs +0 -19
- package/lib/namespace/children/Enum.d.ts +0 -14
- package/lib/namespace/children/function.cjs +0 -36
- package/lib/namespace/children/function.d.ts +0 -31
- package/lib/namespace/children/index.cjs +0 -42
- package/lib/namespace/children/index.d.ts +0 -25
- package/lib/namespace/index.cjs +0 -35
- package/lib/namespace/index.d.ts +0 -18
- package/lib/namespace/type.cjs +0 -3
- package/lib/namespace/type.d.ts +0 -28
package/LICENSE.md
CHANGED
|
@@ -1,21 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# Decaf Framework MCP License (AGPL-3.0 with Extended Clauses)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Tiago Venceslau
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. License Overview
|
|
9
|
+
|
|
10
|
+
This project, including its source code, specifications, and related assets,
|
|
11
|
+
is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0)**,
|
|
12
|
+
with the clarifications and additional notices below.
|
|
13
|
+
|
|
14
|
+
Full text: <https://www.gnu.org/licenses/agpl-3.0.html>
|
|
15
|
+
|
|
16
|
+
You may copy, modify, and distribute this software in accordance with the AGPL-3.0 terms,
|
|
17
|
+
provided that all modifications, derivative works, and network-accessible deployments
|
|
18
|
+
make the complete source code available to users.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 2. Specification, Protocol, and Format Coverage
|
|
23
|
+
|
|
24
|
+
This license applies not only to the implementation, but also to:
|
|
25
|
+
- The **API specifications**,
|
|
26
|
+
- The **data formats**, and
|
|
27
|
+
- The **protocols or wire formats** defined by this project.
|
|
28
|
+
|
|
29
|
+
Re-use of these definitions verbatim or in substantial part constitutes use under this license.
|
|
30
|
+
(This does not restrict lawful interoperability under applicable fair-use or competition law.)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 3. Trademarks and Branding
|
|
35
|
+
|
|
36
|
+
The names, logos, and visual identifiers associated with this project —
|
|
37
|
+
including “Decaf,” “Decaf-TS,” and related marks — are **not licensed** under the AGPL.
|
|
38
|
+
No right is granted to use them in modified or derivative works without
|
|
39
|
+
express written permission from Tiago Venceslau or the Decaf project governance body.
|
|
40
|
+
|
|
41
|
+
All other rights are reserved.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 4. Attribution and Moral Rights
|
|
46
|
+
|
|
47
|
+
All derivative or substantially similar works must include clear and prominent attribution to the original authors
|
|
48
|
+
and a visible link to the official repository: <https://github.com/decaf-framework>.
|
|
49
|
+
|
|
50
|
+
Attribution must appear in:
|
|
51
|
+
- Documentation, and
|
|
52
|
+
- End-user interfaces (e.g., “About” dialogs, help sections, or splash screens).
|
|
53
|
+
|
|
54
|
+
Nothing in this license waives the moral rights of the authors as recognized under applicable law.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 5. Funding and Nonprofit Context
|
|
59
|
+
|
|
60
|
+
The Decaf Framework is developed and maintained as a **nonprofit initiative**.
|
|
61
|
+
Licensing proceeds, sponsorships, and donations are used solely to support open, ethical AI tooling and community development.
|
|
62
|
+
|
|
63
|
+
Commercial users are encouraged to contribute via sponsorships or service contracts
|
|
64
|
+
to sustain the framework’s long-term health.
|
|
65
|
+
|
|
66
|
+
See [FUNDING.md](./FUNDING.md) for details.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 6. Additional Notices
|
|
71
|
+
|
|
72
|
+
- You **must not remove or obscure copyright, license, or attribution notices**.
|
|
73
|
+
- You **must not misrepresent derived works** as being affiliated with or endorsed by the Decaf project.
|
|
74
|
+
- You **must provide access to complete corresponding source code** for all deployed instances or network services as required by AGPL-3.0.
|
|
75
|
+
- Any violation of these conditions may result in termination of rights under Section 8 of the AGPL.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 7. Warranty and Liability Disclaimer
|
|
80
|
+
|
|
81
|
+
This software is provided **“as is”**, without warranty of any kind.
|
|
82
|
+
See the full AGPL-3.0 text for complete disclaimer and limitation-of-liability terms.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
**End of License**
|
package/README.md
CHANGED
|
@@ -37,17 +37,17 @@ Now you can create new repositories from this template and enjoy having everythi
|
|
|
37
37
|
|
|
38
38
|
### How to Use
|
|
39
39
|
|
|
40
|
-
- [Initial Setup](./tutorials/For%20Developers.md#_initial-setup_)
|
|
41
|
-
- [Installation](./tutorials/For%20Developers.md#installation)
|
|
42
|
-
- [Scripts](./tutorials/For%20Developers.md#scripts)
|
|
43
|
-
- [Linting](./tutorials/For%20Developers.md#testing)
|
|
44
|
-
- [CI/CD](./tutorials/For%20Developers.md#continuous-integrationdeployment)
|
|
45
|
-
- [Publishing](./tutorials/For%20Developers.md#publishing)
|
|
46
|
-
- [Structure](./tutorials/For%20Developers.md#repository-structure)
|
|
47
|
-
- [IDE Integrations](./tutorials/For%20Developers.md#ide-integrations)
|
|
48
|
-
- [VSCode(ium)](./tutorials/For%20Developers.md#visual-studio-code-vscode)
|
|
49
|
-
- [WebStorm](./tutorials/For%20Developers.md#webstorm)
|
|
50
|
-
- [Considerations](./tutorials/For%20Developers.md#considerations)
|
|
40
|
+
- [Initial Setup](./workdocs/tutorials/For%20Developers.md#_initial-setup_)
|
|
41
|
+
- [Installation](./workdocs/tutorials/For%20Developers.md#installation)
|
|
42
|
+
- [Scripts](./workdocs/tutorials/For%20Developers.md#scripts)
|
|
43
|
+
- [Linting](./workdocs/tutorials/For%20Developers.md#testing)
|
|
44
|
+
- [CI/CD](./workdocs/tutorials/For%20Developers.md#continuous-integrationdeployment)
|
|
45
|
+
- [Publishing](./workdocs/tutorials/For%20Developers.md#publishing)
|
|
46
|
+
- [Structure](./workdocs/tutorials/For%20Developers.md#repository-structure)
|
|
47
|
+
- [IDE Integrations](./workdocs/tutorials/For%20Developers.md#ide-integrations)
|
|
48
|
+
- [VSCode(ium)](./workdocs/tutorials/For%20Developers.md#visual-studio-code-vscode)
|
|
49
|
+
- [WebStorm](./workdocs/tutorials/For%20Developers.md#webstorm)
|
|
50
|
+
- [Considerations](./workdocs/tutorials/For%20Developers.md#considerations)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
@@ -88,6 +88,6 @@ So if you can, if this project in any way. either by learning something or simpl
|
|
|
88
88
|
|
|
89
89
|
## License
|
|
90
90
|
|
|
91
|
-
This project is released under
|
|
91
|
+
This project is released under MIT with an AGPL-3.0 trigger for AI-generated code usage; MIT covers standard development, but AI-driven Decaf code generation activates full AGPL obligations—see [LICENSE.md](./LICENSE.md) for full terms.
|
|
92
92
|
|
|
93
|
-
By developers, for developers...
|
|
93
|
+
By developers, for developers...
|