Content
# MCP Samples
This repo contains sample code for using OpenAI's Responses API and MCP server.
## Pre-requisites
Before you start, make sure you already have deployed Twilio MCP Server to your account. For more information, see [Twilio MCP Function Templates](https://github.com/twilio-labs/function-templates/tree/main/mcp-server).
## Usage
This code sample is using OpenAI's Response API and support for remote MCP server.
1) Copy `.env.sample` to `.env`
2) Replace your Twilio `AUTH_TOKEN` and generate a new `OPENAI_API_KEY`
3) Copy the Twilio Function domain that is hosting your Twilio MCP server
4) Make any changes you want to the `index.js` prompt and run `npm start`
## Security Recommandations
This MCP server function will provide Tools to your LLM that provide access to your Twilio account. We recommend the following considerations when giving clients access to your server:
* Always set your MCP client to require tool approval to ensure that there are no unintended actions taken within your account.
* Use scoped permissions for your Twilio API Key. Not all endpoints support scoped permissions, but some do. See https://www.twilio.com/docs/iam/api-keys/restricted-api-keys for more information about which actions are supported per API Service.
* To ensure privacy, do not use other MCP servers in conjunction with your Twilio MCP server.
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
cc-switch
All-in-One Assistant for Claude Code, Codex & Gemini CLI across platforms.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers
Agent-Reach
Give your AI agent eyes to see the entire internet. Read & search Twitter,...