Vultr Codex Plugin
Enables safe management of Vultr VPS instances, including listing resources, previewing and creating instances with cost limits, and performing mutations like reboot and delete only after exact confirmation.
README
Vultr Codex Plugin
A Codex plugin for managing Vultr with explicit safety guards. The first version focuses on small VPS workflows: inspect account state, preview instance creation, then perform selected mutations only after exact confirmation.
The plugin's tools are implemented through a local MCP server, but the user-facing product is a Codex plugin.
Features
- List Vultr account, instances, plans, regions, OS images, SSH keys, and firewall groups.
- Check whether
vultr-cliis available locally for optional manual workflows. - Preview instance creation before spending money.
- Restrict instance creation by plan, region, and monthly cost.
- Require exact confirmation strings for create, reboot, snapshot, and delete.
- Read the Vultr token only from
VULTR_API_KEY.
Quick Start
npm install
npm run verify
export VULTR_API_KEY="your-vultr-api-key"
The Codex plugin manifest is in .codex-plugin/plugin.json; the MCP
configuration is in .mcp.json. The bundled server entrypoint is
mcp/server.mjs.
Codex Plugin Install
During local development, keep the repository under:
/Users/zeyuwang/Documents/project/vultr-codex-plugin
Then install the plugin from a local marketplace entry or copy/symlink the
repository into your personal plugin marketplace. The plugin does not need the
Vultr token at install time, but Vultr API tools require VULTR_API_KEY in the
environment where Codex launches the MCP server.
If you only want to smoke-test the MCP server without installing the plugin:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0.0.0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized","params":{}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' \
| node ./mcp/server.mjs
Safety Policy
By default, create operations are limited to:
- Plans:
vc2-1c-1gb,vc2-1c-2gb,vc2-2c-2gb - Regions:
nrt,itm,sgp,icn,lax,sjc,sea - Maximum monthly cost:
$20
Override these with environment variables:
VULTR_ALLOWED_PLANS=vc2-1c-1gb,vc2-1c-2gb
VULTR_ALLOWED_REGIONS=nrt,sgp,lax
VULTR_MAX_MONTHLY_COST_USD=10
Confirmation Strings
Mutation tools reject calls unless the confirm field exactly matches the
expected string returned by preview or described by the tool:
create:<label>:<plan>:<region>
reboot:<instance_id>
snapshot:<instance_id>
delete:<instance_id>:<label>
For deletion, the server first fetches the instance and checks that the Vultr
label matches the provided label.
Tools
get_policyget_accountget_vultr_cli_statuslist_instancesget_instancelist_regionslist_planslist_oslist_ssh_keyslist_firewall_groupscreate_instance_previewcreate_instancereboot_instancecreate_snapshotdelete_instance
Development
npm install
npm run check
npm test
npm run build
The source lives under src/. npm run build bundles it into
mcp/server.mjs, which is what Codex launches.
Local Context
For this machine, the preferred code repository root is:
/Users/zeyuwang/Documents/project
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.