Skip to main content
Glama
Harzva

ChatGPT2LocalBridge

by Harzva

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCALBRIDGE_DASHBOARD_TOKENNoToken for accessing the local operator console at /app.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
project.snapshotA

Get local project context: git state, language, package manager, and a bounded file tree. Use this before editing a project.

code.readB

Read one or more text files from a local project.

code.read_rangeA

Read a bounded line range from one text file inside a project.

code.searchC

Search local project files with ripgrep-compatible output.

file.listA

List files and directories inside a project directory without reading file contents.

file.statB

Return metadata for a file or directory inside a project, optionally including sha256 for files.

file.writeB

Create or overwrite a text file inside a project. Use code.read first when modifying an existing file.

cloud.downloadA

Download a ChatGPT/App-provided HTTPS file URL into an approved local workspace. Use this when a cloud-side file has a download link and should be synced to local disk.

file.mkdirC

Create a directory inside a project.

file.copyC

Copy a file inside a project.

file.moveC

Move or rename a file or directory inside a project.

file.patchA

Replace exact text inside a file. Fails unless the old text is found exactly once, unless replaceAll is true.

file.deleteC

Delete a file inside a project.

shell.execA

Run a shell command in the project directory and return stdout/stderr. Use for tests, builds, and local inspection.

test.detectA

Detect likely project test commands without running them.

test.runC

Run a detected or explicit test command in a project directory.

git.statusA

Return git branch, HEAD, and porcelain status for a project.

git.diffB

Return git diff summary and structured diff for the current working tree.

git.checkpointA

Return the current HEAD commit. Use this before a risky edit so git.revert can restore the working tree to this commit.

git.revertB

Destructive: restore tracked files to a checkpoint and optionally remove untracked files.

project.scriptsB

Return scripts from package.json for a Node project.

project.indexC

Return a higher-level project index: package scripts, key files, detected tests, and top-level structure.

workspace.addC

Register a local project path with a short workspace name.

workspace.listA

List registered local workspaces.

workspace.resolveA

Resolve a workspace name to its project path. If name is omitted, resolves the default workspace.

task.startB

Start a lightweight persisted task/session record for multi-step work.

task.noteC

Append a note to a persisted task/session.

task.statusB

Read one task or list recent task/session records.

task.finishC

Mark a persisted task/session as done or blocked.

process.startC

Start a long-running project process and persist its pid/log path.

process.listB

List processes started by this bridge runtime.

process.stopA

Stop a process previously started by process.start. Requires confirm=true.

port.checkA

Check whether a local TCP port is listening and identify the owning process when possible.

bridge.statusA

Return local bridge and tunnel launchd service status.

bridge.healthB

Check local and optional public bridge health endpoints.

bridge.logsA

Read recent bridge and tunnel log lines from the configured log directory.

bridge.activityA

Read recent local bridge tool-call records and audit events. Use this to inspect what ChatGPT actually asked the MCP server to do.

service.restartA

Restart one fixed launchd service: bridge or ngrok. Requires confirm=true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Harzva/chatgpt2localbridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server