From 2d2a0fc8e67cf9586dd898c3e97fc769a45a6818 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Wed, 16 Apr 2025 23:53:08 +0000 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bdc8298 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:lts-alpine + +# Create app directory +WORKDIR /app + +# Install app dependencies +COPY package.json package-lock.json ./ +RUN npm install --ignore-scripts + +# Copy source code +COPY . . + +# Build the project +RUN npm run build + +# Expose port if needed (optional, not specified in source, so leaving as is) + +# Command to run the MCP server +CMD ["node", "dist/index.js"] From ab476df8262928a502936ee0cb466585d1ad0bc4 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Wed, 16 Apr 2025 23:53:08 +0000 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..1aec5f6 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,24 @@ +# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml + +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: + - VAPI_TOKEN + properties: + VAPI_TOKEN: + type: string + default: "" + description: Vapi API token used for making API calls + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ + command: 'node', + args: ['dist/index.js'], + env: { VAPI_TOKEN: config.VAPI_TOKEN } + }) + exampleConfig: + VAPI_TOKEN: dummy_vapi_token_123 From 60beeb0b40f61f0c3e7128c6169d6576b378b771 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Wed, 16 Apr 2025 23:53:09 +0000 Subject: [PATCH 3/3] Update README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df2e99f..92c28b1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Vapi MCP Server +[![smithery badge](https://smithery.ai/badge/@VapiAI/vapi-mcp-server)](https://smithery.ai/server/@VapiAI/vapi-mcp-server) + The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allows you to integrate with Vapi APIs through function calling. @@ -154,4 +156,4 @@ The Vapi MCP Server provides the following tools for integration: ### Phone Number Tools - `list_phone_numbers`: Lists all Vapi phone numbers -- `get_phone_number`: Gets details of a specific phone number \ No newline at end of file +- `get_phone_number`: Gets details of a specific phone number