Skip to content

Commit a07a092

Browse files
authored
Merge pull request #2 from VapiAI/smithery/config-yom1
Deployment: Dockerfile and Smithery config
2 parents 38043ca + 60beeb0 commit a07a092

3 files changed

Lines changed: 47 additions & 1 deletion

File tree

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:lts-alpine
3+
4+
# Create app directory
5+
WORKDIR /app
6+
7+
# Install app dependencies
8+
COPY package.json package-lock.json ./
9+
RUN npm install --ignore-scripts
10+
11+
# Copy source code
12+
COPY . .
13+
14+
# Build the project
15+
RUN npm run build
16+
17+
# Expose port if needed (optional, not specified in source, so leaving as is)
18+
19+
# Command to run the MCP server
20+
CMD ["node", "dist/index.js"]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Vapi MCP Server
22

3+
[![smithery badge](https://smithery.ai/badge/@VapiAI/vapi-mcp-server)](https://smithery.ai/server/@VapiAI/vapi-mcp-server)
4+
35
The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allows you to integrate with Vapi APIs through function calling.
46

57
<a href="https://glama.ai/mcp/servers/@VapiAI/mcp-server">
@@ -154,4 +156,4 @@ The Vapi MCP Server provides the following tools for integration:
154156
### Phone Number Tools
155157

156158
- `list_phone_numbers`: Lists all Vapi phone numbers
157-
- `get_phone_number`: Gets details of a specific phone number
159+
- `get_phone_number`: Gets details of a specific phone number

smithery.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+
startCommand:
4+
type: stdio
5+
configSchema:
6+
# JSON Schema defining the configuration options for the MCP.
7+
type: object
8+
required:
9+
- VAPI_TOKEN
10+
properties:
11+
VAPI_TOKEN:
12+
type: string
13+
default: ""
14+
description: Vapi API token used for making API calls
15+
commandFunction:
16+
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
17+
|-
18+
(config) => ({
19+
command: 'node',
20+
args: ['dist/index.js'],
21+
env: { VAPI_TOKEN: config.VAPI_TOKEN }
22+
})
23+
exampleConfig:
24+
VAPI_TOKEN: dummy_vapi_token_123

0 commit comments

Comments
 (0)