A Model Context Protocol server that provides AI-powered features for the Transcripter project, including tools for searching and summarizing transcriptions and resources for accessing transcription and analysis data.
A Model Context Protocol (MCP) server implementation for the Transcripter project. This package provides tools and resources for AI-powered features using the MCP standard.
npm install
# Build for both ESM and CommonJS npm run build # Build for ESM only npm run build:esm # Build for CommonJS only npm run build:cjs
# Start the MCP server on the default port (3500) npm run server # Start the MCP server on a custom port npm run server 4000
npm test
import { Client } from "@modelcontextprotocol/sdk/client"; import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse"; async function testApiEndpoint() { // Connect to the MCP server const transport = new SSEClientTransport("http://localhost:3500/sse", "http://localhost:3500/message"); const client = new Client(); await client.connect(transport); // Use the test-api tool const result = await client.tools.execute("test-api", { endpoint: "transcriptions", method: "GET", }); console.log(result); }
import { Client } from "@modelcontextprotocol/sdk/client"; import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse"; async function getTranscription(id: number) { // Connect to the MCP server const transport = new SSEClientTransport("http://localhost:3500/sse", "http://localhost:3500/message"); const client = new Client(); await client.connect(transport); // Access the transcription resource const transcription = await client.resources.get(`transcription://${id}`); console.log(transcription); }
This MCP server integrates with the Transcripter project to provide AI-powered features for transcriptions and analyses. It serves as a standardized interface for AI model interactions.
src/cli.ts
: Command-line interface for starting the MCP serversrc/tools/
: Implementation of MCP toolssrc/resources/
: Implementation of MCP resource providerssrc/tests/
: Tests for tools and resourcesMIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!