tether-name-mcp-server 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Commit 451
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,159 @@
1
+ # tether-name-mcp-server
2
+
3
+ MCP server for [tether.name](https://tether.name) — AI agent identity verification.
4
+
5
+ This server wraps the [`tether-name`](https://www.npmjs.com/package/tether-name) SDK, letting any MCP-compatible AI
6
+ agent verify its identity through Tether without writing integration code.
7
+
8
+ ## What is Tether?
9
+
10
+ Tether is an identity verification service for AI agents. Agents hold their own RSA private keys and prove their
11
+ identity by signing cryptographic challenges — no custodial risk, no passwords.
12
+
13
+ ## Quick Start
14
+
15
+ ```bash
16
+ npx tether-name-mcp
17
+ ```
18
+
19
+ ## Configuration
20
+
21
+ The server reads from environment variables:
22
+
23
+ | Variable | Required | Description |
24
+ |---------------------------|----------|------------------------------------------------------|
25
+ | `TETHER_CREDENTIAL_ID` | ✅ | Your Tether credential ID |
26
+ | `TETHER_PRIVATE_KEY_PATH` | ✅ | Path to your RSA private key (DER or PEM) |
27
+ | `TETHER_BASE_URL` | ❌ | API base URL (defaults to `https://api.tether.name`) |
28
+
29
+ ## MCP Client Setup
30
+
31
+ ### Claude Desktop
32
+
33
+ Add to your `claude_desktop_config.json`:
34
+
35
+ ```json
36
+ {
37
+ "mcpServers": {
38
+ "tether": {
39
+ "command": "npx",
40
+ "args": [
41
+ "-y",
42
+ "tether-name-mcp-server"
43
+ ],
44
+ "env": {
45
+ "TETHER_CREDENTIAL_ID": "your-credential-id",
46
+ "TETHER_PRIVATE_KEY_PATH": "/path/to/private-key.der"
47
+ }
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ ### Cursor
54
+
55
+ Add to `.cursor/mcp.json` in your project:
56
+
57
+ ```json
58
+ {
59
+ "mcpServers": {
60
+ "tether": {
61
+ "command": "npx",
62
+ "args": [
63
+ "-y",
64
+ "tether-name-mcp-server"
65
+ ],
66
+ "env": {
67
+ "TETHER_CREDENTIAL_ID": "your-credential-id",
68
+ "TETHER_PRIVATE_KEY_PATH": "/path/to/private-key.der"
69
+ }
70
+ }
71
+ }
72
+ }
73
+ ```
74
+
75
+ ### VS Code
76
+
77
+ Add to your VS Code settings or `.vscode/mcp.json`:
78
+
79
+ ```json
80
+ {
81
+ "mcp": {
82
+ "servers": {
83
+ "tether": {
84
+ "command": "npx",
85
+ "args": [
86
+ "-y",
87
+ "tether-name-mcp-server"
88
+ ],
89
+ "env": {
90
+ "TETHER_CREDENTIAL_ID": "your-credential-id",
91
+ "TETHER_PRIVATE_KEY_PATH": "/path/to/private-key.der"
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ ```
98
+
99
+ ## Tools
100
+
101
+ | Tool | Description |
102
+ |-----------------------|--------------------------------------------------------------------------------------------|
103
+ | `verify_identity` | Complete verification flow in one call — requests a challenge, signs it, and submits proof |
104
+ | `request_challenge` | Request a new challenge string from the Tether API |
105
+ | `sign_challenge` | Sign a challenge string with the configured RSA private key |
106
+ | `submit_proof` | Submit a signed proof for a challenge |
107
+ | `get_credential_info` | Show the currently configured credential ID, key path, and base URL |
108
+
109
+ ## How It Works
110
+
111
+ 1. The agent calls `verify_identity`
112
+ 2. The MCP server requests a challenge from `api.tether.name`
113
+ 3. The challenge is signed locally using the agent's private key (the key never leaves the machine)
114
+ 4. The signed proof is submitted back to Tether for verification
115
+ 5. The result includes the agent's verified name and a public verification URL
116
+
117
+ For more granular control, use `request_challenge`, `sign_challenge`, and `submit_proof` individually.
118
+
119
+ ## Security
120
+
121
+ - **Non-custodial**: Your private key stays on your machine. The MCP server reads it from a local file path — it's never
122
+ transmitted.
123
+ - **No passwords**: Identity is proven through RSA challenge-response, not stored secrets.
124
+ - **Local execution**: The server runs as a local subprocess via STDIO. No remote server holds your keys.
125
+
126
+ ## Publishing
127
+
128
+ Published to npm automatically via GitHub Actions when a release is created.
129
+
130
+ ### Version checklist
131
+
132
+ Update the version in:
133
+
134
+ 1. `package.json` → `"version"`
135
+ 2. `src/index.ts` → `version` in `McpServer` constructor
136
+
137
+ ### Steps
138
+
139
+ 1. Update version numbers above (they must match)
140
+ 2. Commit and push to `main`
141
+ 3. Create a GitHub release with a matching tag (e.g. `v1.0.0`)
142
+ 4. CI builds and publishes to npm automatically
143
+
144
+ ### Manual publish (if needed)
145
+
146
+ ```bash
147
+ npm run build
148
+ npm publish --access public
149
+ ```
150
+
151
+ ## Links
152
+
153
+ - [tether.name](https://tether.name) — Agent identity verification
154
+ - [tether-name SDK](https://www.npmjs.com/package/tether-name) — Node.js SDK
155
+ - [MCP Protocol](https://modelcontextprotocol.io) — Model Context Protocol
156
+
157
+ ## License
158
+
159
+ MIT
@@ -0,0 +1,5 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ declare function createServer(): McpServer;
4
+
5
+ export { createServer };
@@ -0,0 +1,5 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ declare function createServer(): McpServer;
4
+
5
+ export { createServer };