@talkspresso/mcp-server 1.3.1 → 1.3.3

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/dist/index.js CHANGED
@@ -14,7 +14,7 @@ else if (args.includes('--help')) {
14
14
  process.exit(0);
15
15
  }
16
16
  else if (args.includes('--version')) {
17
- console.log('1.3.1');
17
+ console.log('1.3.3');
18
18
  process.exit(0);
19
19
  }
20
20
  else {
@@ -42,7 +42,7 @@ else {
42
42
  const { registerSubscriptionTools } = await import('./tools/subscription.js');
43
43
  const server = new McpServer({
44
44
  name: 'talkspresso',
45
- version: '1.3.1',
45
+ version: '1.3.3',
46
46
  });
47
47
  const apiClient = new TalkspressoClient();
48
48
  registerAppointmentTools(server, apiClient);
@@ -13,6 +13,25 @@ export declare class SetupApiClient {
13
13
  password: string;
14
14
  }): Promise<any>;
15
15
  createApiKey(name: string): Promise<any>;
16
+ updateProfile(data: {
17
+ expert_title?: string;
18
+ about?: string;
19
+ bio?: string;
20
+ categories?: string[];
21
+ }): Promise<any>;
22
+ createService(data: {
23
+ title: string;
24
+ description: string;
25
+ price: number;
26
+ duration: number;
27
+ type: string;
28
+ }): Promise<any>;
29
+ updateCalendar(data: {
30
+ timezone?: string;
31
+ availability?: Record<string, any>;
32
+ booking_interval_days?: number;
33
+ buffer_minutes?: number;
34
+ }): Promise<any>;
16
35
  getStatus(err: unknown): number | undefined;
17
36
  private formatError;
18
37
  }
package/dist/setup-api.js CHANGED
@@ -39,6 +39,33 @@ export class SetupApiClient {
39
39
  throw this.formatError(err);
40
40
  }
41
41
  }
42
+ async updateProfile(data) {
43
+ try {
44
+ const response = await this.http.put('/profile', data);
45
+ return response.data?.data;
46
+ }
47
+ catch (err) {
48
+ throw this.formatError(err);
49
+ }
50
+ }
51
+ async createService(data) {
52
+ try {
53
+ const response = await this.http.post('/service', data);
54
+ return response.data?.data;
55
+ }
56
+ catch (err) {
57
+ throw this.formatError(err);
58
+ }
59
+ }
60
+ async updateCalendar(data) {
61
+ try {
62
+ const response = await this.http.put('/calendar', data);
63
+ return response.data?.data;
64
+ }
65
+ catch (err) {
66
+ throw this.formatError(err);
67
+ }
68
+ }
42
69
  getStatus(err) {
43
70
  if (err instanceof Error && 'status' in err)
44
71
  return err.status;
package/dist/setup.js CHANGED
@@ -20,7 +20,7 @@ function getClaudeDesktopConfigPath() {
20
20
  return join(home, '.config', 'Claude', 'claude_desktop_config.json');
21
21
  }
22
22
  function getClaudeCodeConfigPath() {
23
- return join(homedir(), '.claude', 'mcp_servers.json');
23
+ return join(homedir(), '.claude', 'mcp.json');
24
24
  }
25
25
  function readJsonSafe(path) {
26
26
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@talkspresso/mcp-server",
3
- "version": "1.3.1",
4
- "description": "Manage your Talkspresso business through Claude, ChatGPT, or any MCP-compatible AI",
3
+ "version": "1.3.3",
4
+ "description": "Manage your Talkspresso business through Claude Code or any MCP-compatible AI assistant",
5
5
  "bin": {
6
6
  "talkspresso-mcp": "./dist/index.js"
7
7
  },
@@ -17,7 +17,7 @@
17
17
  "talkspresso",
18
18
  "ai",
19
19
  "claude",
20
- "chatgpt"
20
+ "claude-code"
21
21
  ],
22
22
  "license": "MIT",
23
23
  "dependencies": {