dex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port injected by platforms like Railway. Overrides DEX_MCP_PORT if set. | |
| DEX_MCP_HTTP | No | Enable remote mode. Bind 0.0.0.0, serve MCP over HTTP at /mcp, and point the bridge at wss://<host>. | false |
| DEX_MCP_PORT | No | WebSocket hub port. | 8392 |
| DEX_MCP_TOKEN | No | Shared token required by the bridge. Required in remote mode (container disks are ephemeral). | |
| DEX_MCP_TOKEN_FILE | No | Where the auto-generated token is persisted. | ~/.dex-mcp/token |
| DEX_MCP_ENABLE_WRITE | No | Enable set_property tool. | true |
| DEX_MCP_ENABLE_REMOTES | No | Enable remote calling/spying. | true |
| DEX_MCP_RPC_TIMEOUT_MS | No | Per-request timeout in milliseconds. | 15000 |
| DEX_MCP_ENABLE_RUN_LUAU | No | Enable run_luau tool. | true |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| dex_statusA | Report whether the Roblox bridge is connected and basic game info (name, placeId, client version, capabilities). |
| get_rootA | Get the root instance (game, ref 0) and its top-level services. |
| get_childrenA | List the direct children of an instance by ref. Optionally filter by className. |
| get_propertiesA | Read the properties of an instance by ref. Property names come from the cached Roblox API dump when available. |
| searchA | Recursively search instances by name substring (and optional className), capped by limit. Defaults to 100 results. |
| get_sourceC | Read the Source of a Script/LocalScript/ModuleScript by ref, if readable. |
| get_by_pathA | Resolve a dotted instance path (e.g. game.Workspace.Part) to a node with a ref. |
| set_propertyA | Set a property on an instance by ref. The value is coerced to the property's declared Roblox type when known. |
| fire_remoteC | Fire a RemoteEvent (FireServer) with the given arguments. |
| invoke_remoteB | Invoke a RemoteFunction (InvokeServer) with the given arguments and return its result. |
| remote_spy_startB | Start logging outgoing remote traffic. Returns an error if the executor lacks the required hooks. |
| remote_spy_stopA | Stop logging remote traffic. |
| remote_spy_dumpB | Return the remote traffic captured since the spy started. |
| run_luauB | Execute arbitrary Luau in the Roblox client and return captured output plus a best-effort serialized return value. Power tool. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanztheo/dex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server