DataPacket MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DataPacket MCP Server list my servers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DataPacket MCP Server
An MCP (Model Context Protocol) server that provides access to the DataPacket GraphQL API. It exposes all DataPacket API operations as MCP tools, allowing LLMs and MCP clients to manage dedicated servers, view invoices, provision new servers, handle support requests, and more.
Features
33 tools covering all DataPacket GraphQL queries and mutations
Two transports: stdio (for local integrations) and streamable HTTP (for remote/web deployments)
Full coverage of the DataPacket API: servers, provisioning, billing, traffic, DNS, support, and post-install scripts
Related MCP server: MCP HTTP Client Server
Prerequisites
Node.js 22 or later
A DataPacket API token (generate one in the Security page of the DataPacket client panel)
Installation
git clone git@github.com:hjpotter92/datapacket-mcp-server.git
cd datapacket-mcp-server
npm install
npm run buildConfiguration
All options can be set via environment variables or CLI flags. CLI flags take precedence over environment variables.
Option | CLI Flag | Environment Variable | Default | Description |
API Token |
|
| (required) | DataPacket API bearer token |
Transport |
|
|
|
|
Port |
|
|
| HTTP server port (only for |
Debug |
|
| off | Log all GraphQL requests and responses to stderr |
Usage
stdio transport (default)
# Via environment variable
DATAPACKET_API_TOKEN=your-token node build/index.js
# Via CLI flag
node build/index.js --api-token your-token
# Or using the bin name after npm link
datapacket-mcp-server --api-token your-tokenStreamable HTTP transport
node build/index.js --api-token your-token --transport http --port 3000The server will listen at http://localhost:3000/mcp.
MCP client configuration
stdio (e.g. for Cursor, Claude Desktop):
{
"mcpServers": {
"datapacket": {
"command": "node",
"args": ["/path/to/datapacket-mcp-server/build/index.js", "--api-token", "your-token"]
}
}
}Streamable HTTP:
{
"mcpServers": {
"datapacket": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp"
}
}
}Available Tools
Queries (17)
Tool | Description |
| Account info (name, email, hostname, creation date) |
| List all API error codes |
| Single invoice by number |
| Paginated invoices with filters |
| All available data center locations |
| Available OS images for provisioning |
| Paginated post-install scripts |
| Server configs matching filter criteria |
| PTR record for an IP |
| Single server details by name/alias/IP |
| Link config task status |
| Paginated server list with filters |
| Single subscription details |
| Paginated subscriptions |
| Single support request with posts |
| Paginated support requests |
| Traffic statistics over a time period |
Mutations (16)
Tool | Description |
| Change IPMI password |
| Enable/disable link aggregation |
| Create a new post-install script |
| Open a support ticket |
| Delete a post-install script |
| Power on/off/reset/cycle a server |
| Provision a new server |
| Set default traffic plan for provisioning |
| Set or delete a PTR record |
| Set custom server alias |
| Set boot device via IPMI |
| Set primary IP address |
| Set or delete a single tag |
| Replace all tags on a server |
| Reply to a support ticket |
| Update an existing post-install script |
Security Best Practices for Remote Deployments
When running the server with the HTTP transport in a hosted/remote environment, follow these recommendations to keep your deployment secure:
Never expose the server directly to the internet
Always place the MCP server behind a reverse proxy (e.g. Nginx, Caddy, Traefik). The server does not implement TLS or authentication on its own, so the reverse proxy should handle:
TLS termination — serve traffic over HTTPS only.
Access control — restrict access by IP allowlist, VPN, or an authentication layer (e.g. HTTP Basic Auth, OAuth2 proxy, mutual TLS).
Protect your API token
Do not pass the token via CLI flags in production — command-line arguments are visible in process listings (
ps,/proc). Use theDATAPACKET_API_TOKENenvironment variable instead.Never commit tokens to version control. Use a secrets manager (e.g. Vault, AWS Secrets Manager, Doppler) or a
.envfile excluded from git.Rotate tokens regularly through the DataPacket security settings.
Limit network exposure
Bind the server to
127.0.0.1or a private interface rather than0.0.0.0. Let the reverse proxy handle external traffic.Use firewall rules (e.g.
iptables, security groups) to restrict which hosts can reach the server port.
Run with least privilege
Run the Node.js process as a non-root user with minimal filesystem permissions.
Use a process manager (e.g. systemd, PM2) to handle restarts, log rotation, and resource limits.
Consider running inside a container with a read-only filesystem and no extra capabilities.
Monitor and audit
Enable access logging on your reverse proxy to track all requests to the
/mcpendpoint.Monitor for unusual traffic patterns — the MCP server performs privileged operations (provisioning, power actions, DNS changes) that should be auditable.
Set up alerts for failed or unexpected requests.
Development
# Watch mode (recompiles on changes)
npm run dev
# Then run the server in another terminal
node build/index.js --api-token your-tokenLicense
MIT
Available Tools
33 toolschange_server_ipmi_passwordChange Server IPMI PasswordB
Change the IPMI password of a server. Must be 10-16 characters with at least one number.
Inputs: password (required), serverName (required).
configure_server_linksConfigure Server LinksA
Enable or disable link aggregation (LAG) on a server. Returns a taskId to track progress.
Inputs: serverName (required), linkAggregation (required).
create_post_install_scriptCreate Post-Install ScriptA
Create a new post-install script. Scripts must be plain text (no binaries), up to 10 MB, with a 30-minute execution timeout.
Inputs: name (required), content (required), isAutoSelected.
create_support_requestCreate Support RequestB
Open a new support ticket.
Inputs: message (required), subject (required), priority (required), servers, +2 more.
delete_post_install_scriptDelete Post-Install ScriptA
Delete a post-install script by its ID.
Inputs: id (required).
get_accountGet AccountA
Get account information including name, email, hostname template, and creation date.
Inputs: no named parameters.
get_error_codesGet Error CodesA
List all possible API error codes returned by the DataPacket API.
Inputs: no named parameters.
get_invoiceGet InvoiceA
Get details of a single invoice by its invoice number.
Inputs: invoiceNumber (required).
get_reverse_dns_recordGet Reverse DNS RecordA
Get the reverse DNS (PTR) record for a given IPv4 address.
Inputs: ip (required).
get_serverGet ServerA
Get detailed information about a single server by name, alias, IP, or IPMI IP.
Inputs: ip, name, alias, ipmiIp.
get_server_links_configuration_taskGet Server Links Configuration TaskA
Check the status of a link aggregation configuration task by its taskId.
Inputs: taskId (required).
get_subscriptionGet SubscriptionB
Get details of a single subscription by its name.
Inputs: name (required).
get_support_requestGet Support RequestA
Get details of a single support request by its ID, including all posts/messages.
Inputs: id (required).
get_trafficGet TrafficB
Get traffic statistics over a specified time period, either aggregated or broken down by server.
Inputs: to (required), from (required), filter.
list_invoicesList InvoicesA
List invoices with optional pagination and filters (invoice number, currency, payment status).
Inputs: filter, pageSize, pageIndex.
list_locationsList LocationsA
List all available data center locations.
Inputs: no named parameters.
list_operating_systemsList Operating SystemsA
List all available operating systems that can be installed on provisioned servers. Use the osImageId when calling provision_server.
Inputs: no named parameters.
list_post_install_scriptsList Post-Install ScriptsB
List post-install scripts with optional pagination and name filter.
Inputs: filter, pageSize, pageIndex.
list_provisioning_configurationsList Provisioning ConfigurationsA
Find available server configurations matching your requirements. Filter by region, CPU, memory, storage, GPU, price, and more. Results are sorted by price (lowest first). Use the configurationId from results when calling provision_server.
Inputs: memory, cpuCores, cpuCount, gpuCount, +11 more.
list_serversList ServersB
List servers in your account with optional pagination and filters (name, location, power status, IP, tags, etc.).
Inputs: filter, pageSize, pageIndex.
list_subscriptionsList SubscriptionsA
List subscriptions with optional pagination and filters (name, currency, type).
Inputs: filter, pageSize, pageIndex.
list_support_requestsList Support RequestsC
List support requests with optional pagination and filters (status, category).
Inputs: filter, pageSize, pageIndex.
perform_server_power_actionPerform Server Power ActionA
Perform an IPMI power action on a server (power on, off, reset, soft shutdown, or power cycle). This is asynchronous — success is not guaranteed.
Inputs: action (required), serverName (required).
provision_serverProvision ServerA
Provision a new server with the selected configuration. Requires a configurationId from list_provisioning_configurations, a billing period, an OS image ID from list_operating_systems, and optional SSH key names. The server will initially be in PROVISIONING or WAITING status.
Inputs: osImageId (required), billingPeriod (required), configurationId (required), sshKeyNames, +2 more.
set_default_traffic_planSet Default Traffic PlanA
Set the default server-scoped traffic plan used when provisioning new servers.
Inputs: type (required), bandwidth (required).
set_reverse_dns_recordSet Reverse DNS RecordA
Set or delete a reverse DNS (PTR) record for a given IPv4 address. Set hostname to null to delete.
Inputs: ip (required), hostname (required).
set_server_aliasSet Server AliasB
Set a custom alias for a server. Set alias to null to remove it.
Inputs: alias (required), serverName (required).
set_server_boot_deviceSet Server Boot DeviceC
Set the boot device for a server via IPMI.
Inputs: bootDevice (required), serverName (required).
set_server_primary_ipSet Server Primary IPB
Set the primary IP address for a server.
Inputs: ip (required), serverName (required).
set_server_tagSet Server TagA
Set or delete a single tag on a server. Omit value or set to null to delete the tag.
Inputs: key (required), serverName (required), value.
set_server_tagsSet Server TagsA
Replace all tags on a server. Tags not provided will be deleted. Max 10 tags.
Inputs: tags (required), serverName (required).
support_request_replyReply to Support RequestB
Add a reply message to an existing support request.
Inputs: id (required), message (required).
update_post_install_scriptUpdate Post-Install ScriptB
Update an existing post-install script by its ID.
Inputs: id (required), name, content, isAutoSelected.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 33 tools
Each tool targets a distinct resource and action, with clear separation across server management, networking, billing, support, scripts, and utilities. No overlapping purposes.
All tools follow a consistent verb_noun pattern in snake_case (e.g., create_post_install_script, set_server_alias), with predictable prefixes like list_, get_, set_, delete_, perform_.
33 tools is slightly on the high side but justifiable for a comprehensive server management API covering provisioning, networking, billing, support, and admin tasks. Each tool serves a clear purpose with minimal redundancy.
Missing critical server lifecycle operations like delete_server and update_server_configuration. Also lacks SSH key management and server health/event logs. Agents may hit dead ends when needing to decommission or modify servers.
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseCqualityBmaintenanceA Model Context Protocol server for the Hetzner Cloud API that enables natural language management of cloud infrastructure. Users can list, create, and modify servers, networks, volumes, and load balancers through MCP-compatible clients.1621,578 npmMIT
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server for making HTTP requests, GraphQL queries, and TCP/Telnet connections from AI assistants.7MIT
- AlicenseBqualityDmaintenanceMCP server that integrates with Coolify to let AI assistants manage Coolify instances via a clean toolkit wrapping the official REST API.35370 npm7MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with QUADS infrastructure systems via API, enabling resource management and automation through LLM applications.MIT