@myna-sh/mcp 0.1.0 → 0.1.2
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 +52 -0
- package/package.json +7 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tiago Mouta
|
|
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,52 @@
|
|
|
1
|
+
# @myna-sh/mcp
|
|
2
|
+
|
|
3
|
+
Model Context Protocol server for managing [Myna](https://myna.sh) content from coding agents and MCP clients.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install --global @myna-sh/mcp
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Stdio
|
|
12
|
+
|
|
13
|
+
Configure your MCP client to run:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "@myna-sh/mcp"],
|
|
19
|
+
"env": {
|
|
20
|
+
"MYNA_TOKEN": "myna_sk_...",
|
|
21
|
+
"MYNA_ORGANIZATION": "my-organization",
|
|
22
|
+
"MYNA_PROJECT": "my-project"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Use a narrowly scoped Myna API key and keep it out of source control.
|
|
28
|
+
|
|
29
|
+
## Streamable HTTP
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
MYNA_MCP_TRANSPORT=http \
|
|
33
|
+
MYNA_MCP_TOKEN=server-access-token \
|
|
34
|
+
MYNA_TOKEN=myna_sk_... \
|
|
35
|
+
MYNA_PROJECT=my-project \
|
|
36
|
+
myna-mcp
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The MCP endpoint is `/mcp`; health checks are available at `/health`. The default port is `3333` and can be changed with `MYNA_MCP_PORT` or `PORT`.
|
|
40
|
+
|
|
41
|
+
## Configuration
|
|
42
|
+
|
|
43
|
+
The server reads `MYNA_API_URL`, `MYNA_TOKEN`, `MYNA_ORGANIZATION`, and `MYNA_PROJECT`. Named projects can be configured in `~/.config/myna/mcp.json` or a file selected by `MYNA_MCP_CONFIG`.
|
|
44
|
+
|
|
45
|
+
## Links
|
|
46
|
+
|
|
47
|
+
- [Myna](https://myna.sh)
|
|
48
|
+
- Support: [support@myna.sh](mailto:support@myna.sh)
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myna-sh/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"license": "
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"homepage": "https://myna.sh",
|
|
10
11
|
"bin": {
|
|
11
12
|
"myna-mcp": "bin/mcp.mjs"
|
|
12
13
|
},
|
|
@@ -18,7 +19,9 @@
|
|
|
18
19
|
},
|
|
19
20
|
"files": [
|
|
20
21
|
"dist",
|
|
21
|
-
"bin"
|
|
22
|
+
"bin",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE"
|
|
22
25
|
],
|
|
23
26
|
"dependencies": {
|
|
24
27
|
"@modelcontextprotocol/sdk": "1.20.0",
|
|
@@ -29,7 +32,7 @@
|
|
|
29
32
|
"eslint": "9.39.5",
|
|
30
33
|
"typescript": "5.9.3",
|
|
31
34
|
"@myna-sh/api-contracts": "0.0.0",
|
|
32
|
-
"@myna-sh/sdk": "0.1.
|
|
35
|
+
"@myna-sh/sdk": "0.1.2",
|
|
33
36
|
"@myna-sh/config": "0.0.0"
|
|
34
37
|
},
|
|
35
38
|
"scripts": {
|