simplepractice-mcp 1.1.0 → 1.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/bundle.js +266 -202
- package/dist/tools/auth.js +4 -4
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/server.json +2 -2
package/dist/tools/auth.js
CHANGED
|
@@ -34,7 +34,7 @@ export function registerAuthTools(server, client) {
|
|
|
34
34
|
});
|
|
35
35
|
server.registerTool('simplepractice_request_sign_in_link', {
|
|
36
36
|
description: 'Ask SimplePractice to email a sign-in link to a Client Portal address. The portal has no password — this is how you sign in. Sends a real email and is rate-limited per email address AND per IP, so it requires confirm:true. A success does not prove the address has an account: the API answers identically for unknown addresses by design.',
|
|
37
|
-
annotations: toolAnnotations({ readOnly: false, idempotent: false }),
|
|
37
|
+
annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
|
|
38
38
|
inputSchema: z.object({
|
|
39
39
|
email: z.string().email().describe('The email address the Client Portal is registered to.'),
|
|
40
40
|
practice: z
|
|
@@ -74,7 +74,7 @@ export function registerAuthTools(server, client) {
|
|
|
74
74
|
});
|
|
75
75
|
server.registerTool('simplepractice_verify_sign_in_token', {
|
|
76
76
|
description: 'Exchange an emailed sign-in link (or the token in it) for a Client Portal session. Accepts the whole link or just the part after the "#". Prefer passing the WHOLE link: its address names the practice, so no practice has to be configured, and this server remembers it afterwards. Tokens are single-use and last 24 hours.',
|
|
77
|
-
annotations: toolAnnotations({ readOnly: false, idempotent: false }),
|
|
77
|
+
annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
|
|
78
78
|
inputSchema: z.object({
|
|
79
79
|
link: z
|
|
80
80
|
.string()
|
|
@@ -84,7 +84,7 @@ export function registerAuthTools(server, client) {
|
|
|
84
84
|
}, async ({ link }) => minifiedResult(await verifySignInToken(client, link)));
|
|
85
85
|
server.registerTool('simplepractice_verify_sign_in_pin', {
|
|
86
86
|
description: 'Exchange a 6-digit Client Portal sign-in PIN for a session, for practices that email a code instead of a link. Single-use.',
|
|
87
|
-
annotations: toolAnnotations({ readOnly: false, idempotent: false }),
|
|
87
|
+
annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
|
|
88
88
|
inputSchema: z.object({
|
|
89
89
|
email: z.string().email().describe('The address the PIN was sent to.'),
|
|
90
90
|
pin: z.string().regex(/^\d{6}$/, 'The PIN is exactly 6 digits.'),
|
|
@@ -92,7 +92,7 @@ export function registerAuthTools(server, client) {
|
|
|
92
92
|
}, async ({ email, pin }) => minifiedResult(await verifySignInPin(client, email, pin)));
|
|
93
93
|
server.registerTool('simplepractice_sign_out', {
|
|
94
94
|
description: 'Discard the stored Client Portal session from local state.',
|
|
95
|
-
annotations: toolAnnotations({ readOnly: false, idempotent: true }),
|
|
95
|
+
annotations: toolAnnotations({ readOnly: false, idempotent: true, destructive: false }),
|
|
96
96
|
inputSchema: z.object({}),
|
|
97
97
|
}, async () => minifiedResult({ signedOut: client.clearSession() }));
|
|
98
98
|
}
|
package/dist/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Single source of truth for the server version. release-please rewrites the
|
|
3
3
|
* literal below; every other file imports VERSION rather than repeating it.
|
|
4
4
|
*/
|
|
5
|
-
export const VERSION = '1.1.
|
|
5
|
+
export const VERSION = '1.1.2'; // x-release-please-version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simplepractice-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"mcpName": "io.github.chrischall/simplepractice-mcp",
|
|
6
6
|
"description": "SimplePractice Client Portal MCP server for Claude — developed and maintained by AI (Claude Code)",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"test:watch": "vitest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@chrischall/mcp-utils": "^
|
|
37
|
+
"@chrischall/mcp-utils": "^2.2.0",
|
|
38
38
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
39
|
-
"dotenv": "^
|
|
39
|
+
"dotenv": "^18.0.0",
|
|
40
40
|
"zod": "^4.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/chrischall/simplepractice-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "simplepractice-mcp",
|
|
14
|
-
"version": "1.1.
|
|
14
|
+
"version": "1.1.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|