@tuppence/mcp 0.1.0 → 0.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 +2 -2
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Tuppence's MCP tools for clients that only speak **stdio**. Tuppence's MCP server is remote
|
|
4
4
|
(`https://api.tuppence.ai/mcp`); this is a small local server that forwards to it with your key,
|
|
5
|
-
so the tools are exactly the remote ones
|
|
5
|
+
so the tools are exactly the remote ones, scoped to what that key may do.
|
|
6
6
|
|
|
7
7
|
Clients that support remote (HTTP) MCP servers don't need this: point them at
|
|
8
8
|
`https://api.tuppence.ai/mcp` with an `Authorization: Bearer <key>` header.
|
|
@@ -27,6 +27,6 @@ claude mcp add tuppence --env TUPPENCE_API_KEY=sk_test_… -- npx -y @tuppence/m
|
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Use a **restricted key** (`rk_…`) with only the scopes the agent needs
|
|
30
|
+
Use a **restricted key** (`rk_…`) with only the scopes the agent needs: it will only see the
|
|
31
31
|
tools those scopes allow. Prefer `TUPPENCE_API_KEY` to `--api-key`: command lines are visible to
|
|
32
32
|
other processes. `TUPPENCE_API_URL` (or `--api-url`) points it somewhere other than production.
|
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/
|
|
|
19
19
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
20
20
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
21
21
|
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
22
|
-
const VERSION = "0.1.
|
|
22
|
+
const VERSION = "0.1.1";
|
|
23
23
|
function option(name) {
|
|
24
24
|
const at = process.argv.indexOf(`--${name}`);
|
|
25
25
|
if (at >= 0)
|
package/package.json
CHANGED