@thisispamela/mcp 1.1.0 → 1.1.1
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/README.md +21 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -73,6 +73,20 @@ Use the absolute path to `sdk/mcp/dist/index.js` after building. Restart Claude
|
|
|
73
73
|
|
|
74
74
|
When `PAMELA_MCP_TRANSPORT=http`, the server listens on `http://localhost:8033` by default (Streamable HTTP transport).
|
|
75
75
|
|
|
76
|
+
## OAuth Token Support
|
|
77
|
+
|
|
78
|
+
The MCP server supports both API keys and OAuth access tokens:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# API key (default)
|
|
82
|
+
export PAMELA_API_KEY=pk_live_xxx
|
|
83
|
+
|
|
84
|
+
# OR OAuth token
|
|
85
|
+
export PAMELA_ACCESS_TOKEN=at_xxx
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
If both are set, OAuth token takes precedence.
|
|
89
|
+
|
|
76
90
|
## Development
|
|
77
91
|
|
|
78
92
|
```bash
|
|
@@ -81,4 +95,10 @@ npm install
|
|
|
81
95
|
npm run build
|
|
82
96
|
```
|
|
83
97
|
|
|
84
|
-
Then run with `node dist/index.js` and ensure `PAMELA_API_KEY` is set.
|
|
98
|
+
Then run with `node dist/index.js` and ensure `PAMELA_API_KEY` or `PAMELA_ACCESS_TOKEN` is set.
|
|
99
|
+
|
|
100
|
+
## Requirements
|
|
101
|
+
|
|
102
|
+
- Node.js 18+
|
|
103
|
+
- Pamela Enterprise API key or OAuth access token
|
|
104
|
+
- `@thisispamela/sdk` ^1.1.0 or higher
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thisispamela/mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Pamela Voice API MCP server — tools for AI assistants",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
33
|
-
"@thisispamela/sdk": "^1.1.
|
|
33
|
+
"@thisispamela/sdk": "^1.1.1",
|
|
34
34
|
"zod": "^3.23.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|