defade-mcp 0.3.0
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 +21 -0
- package/README.md +34 -0
- package/bin/defade-mcp.js +15 -0
- package/package.json +38 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeFade Ltd
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# defade-mcp
|
|
2
|
+
|
|
3
|
+
Runs the [DeFade](https://defade.org) MCP server over stdio, for clients that
|
|
4
|
+
launch a local command instead of connecting to a URL.
|
|
5
|
+
|
|
6
|
+
```json
|
|
7
|
+
{
|
|
8
|
+
"mcpServers": {
|
|
9
|
+
"defade": {
|
|
10
|
+
"command": "npx",
|
|
11
|
+
"args": ["-y", "defade-mcp"],
|
|
12
|
+
"env": { "DEFADE_API_KEY": "df_your_key" }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
This package is a thin alias: the implementation lives in
|
|
19
|
+
[`defade`](https://www.npmjs.com/package/defade), the official SDK, and
|
|
20
|
+
`npx -p defade defade-mcp` runs exactly the same thing. Both are published
|
|
21
|
+
from [DeFadeLtd/defade-sdk](https://github.com/DeFadeLtd/defade-sdk) at
|
|
22
|
+
matching versions.
|
|
23
|
+
|
|
24
|
+
Most clients don't need this at all — the hosted endpoint speaks
|
|
25
|
+
streamable HTTP directly:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
https://api.defade.org/mcp?api_key=YOUR_KEY
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Keys: [defade.org/developers](https://defade.org/developers) ·
|
|
32
|
+
Docs: [defade.org/api-docs#mcp](https://defade.org/api-docs#mcp)
|
|
33
|
+
|
|
34
|
+
MIT licensed.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
// `defade-mcp` is the command name the docs and the Claude Desktop config
|
|
5
|
+
// snippets have always used, but the implementation ships inside the
|
|
6
|
+
// `defade` package — so `npx defade-mcp` resolved to nothing on the
|
|
7
|
+
// registry. This package owns that name and hands straight over.
|
|
8
|
+
//
|
|
9
|
+
// Owning it is also the point: an unclaimed package name that published
|
|
10
|
+
// instructions tell people to run is a credential-harvesting slot, and the
|
|
11
|
+
// thing users paste into this one is a DeFade API key.
|
|
12
|
+
//
|
|
13
|
+
// The real proxy runs its work at load, so requiring it is the whole job:
|
|
14
|
+
// argv, stdin and stdout all belong to this process either way.
|
|
15
|
+
require('defade/bin/defade-mcp.js');
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "defade-mcp",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Runs the DeFade MCP stdio server. Thin alias for the `defade` package, which carries the implementation \u2014 `npx defade-mcp` and `npx -p defade defade-mcp` are equivalent.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "DeFade Ltd (https://defade.org)",
|
|
7
|
+
"homepage": "https://defade.org/api-docs#mcp",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/DeFadeLtd/defade-sdk.git",
|
|
11
|
+
"directory": "packages/defade-mcp"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/DeFadeLtd/defade-sdk/issues"
|
|
15
|
+
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"defade-mcp": "./bin/defade-mcp.js"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"defade": "^0.3.0"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"bin/defade-mcp.js",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"defade",
|
|
32
|
+
"mcp",
|
|
33
|
+
"model context protocol",
|
|
34
|
+
"rug pull",
|
|
35
|
+
"solana",
|
|
36
|
+
"token security"
|
|
37
|
+
]
|
|
38
|
+
}
|