@speakai/mcp-server 1.0.0 → 1.0.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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://speakai.co/assets/images/speak-ai-logo.png" alt="Speak AI" width="200" />
2
+ <img src="assets/logo.png" alt="Speak AI" width="120" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Speak AI MCP Server</h1>
@@ -56,14 +56,14 @@ For **Claude on the web** (claude.ai) and **ChatGPT**, use the hosted endpoint.
56
56
  **Claude (claude.ai):**
57
57
 
58
58
  1. Go to **Settings > Connectors > Add Connector**
59
- 2. Enter the URL: `https://api.speakai.co/v1/mcp/sse`
59
+ 2. Enter the URL: `https://api.speakai.co/v1/mcp`
60
60
  3. Add your authentication headers
61
61
  4. Start chatting with your Speak AI data
62
62
 
63
63
  **ChatGPT:**
64
64
 
65
65
  1. Go to **Settings > Connectors > Create**
66
- 2. Enter the MCP URL: `https://api.speakai.co/v1/mcp/sse`
66
+ 2. Enter the MCP URL: `https://api.speakai.co/v1/mcp`
67
67
  3. Configure authentication with your API key
68
68
  4. Done — your GPT can now access Speak AI
69
69
 
@@ -0,0 +1,12 @@
1
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ import { AxiosInstance } from "axios";
3
+
4
+ export declare function registerAllTools(server: McpServer, client?: AxiosInstance): void;
5
+
6
+ export declare function createSpeakClient(options: {
7
+ baseUrl: string;
8
+ apiKey: string;
9
+ accessToken: string;
10
+ }): AxiosInstance;
11
+
12
+ export declare function formatAxiosError(error: unknown): string;
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Official Speak AI MCP Server — connect Claude and other AI assistants to Speak AI's transcription, insights, and media management API",
5
5
  "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
6
7
  "bin": {
7
8
  "speak-mcp": "dist/index.js"
8
9
  },
9
10
  "scripts": {
10
- "build": "tsup src/index.ts --format cjs --clean",
11
+ "build": "tsup src/index.ts --format cjs --clean && cp src/types.d.ts dist/index.d.ts",
11
12
  "start": "node dist/index.js",
12
13
  "dev": "tsx src/index.ts",
13
14
  "prepare": "npm run build"