Agentdock logo

Agentdock

CommunityPopular
uvwt

Secure MCP runtime for AI agents to operate local machines, servers, and containers with multi-device orchestration.

Publisheruvwt
Repositoryagentdock
LanguageGo
Forks
144
Stars
1.2K
Available tools
0
Transport typestdio
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Agentdock exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    1.2K stars and 144 forks from the linked repository.

English | 简体中文

AgentDock MCP

Give AI agents secure, controlled access to every machine you operate.

Open ChatGPT in your browser and manage multiple computers and servers from one conversation. Write code, change configuration, run commands, and deploy in the real environment where the work belongs—without consuming a dedicated Codex coding quota.

Documentation · Download · Code signing policy · Community

CI GitHub Release Docker Hub GHCR License

What is AgentDock?

AgentDock is an independent tool runtime for AI agents.

It provides unified, secure, and controlled file, command, Git, Skill, MCP, browser automation, and task execution across local computers, remote servers, and containers. Connect multiple AgentDock instances to coordinate work across devices and finish multi-machine workflows in a single conversation.

AgentDock does not provide a chat interface or perform model inference. It focuses on one responsibility:

Let AI agents operate real environments within explicit permission boundaries and return structured, traceable, and verifiable results.

text
              ChatGPT / Claude / Codex
                        │
                        │ MCP (multiple instances supported)
          ┌─────────────┼─────────────┐
          ▼             ▼             ▼
   ┌───────────┐ ┌───────────┐ ┌───────────┐
   │ AgentDock │ │ AgentDock │ │ AgentDock │
   │ Local Mac │ │ LAN Host  │ │ Cloud VPS │
   └─────┬─────┘ └─────┬─────┘ └─────┬─────┘
         │             │             │
         ▼             ▼             ▼
   Files · Shell · Git  Tunnels       Proxy · Deploy

What can AgentDock do?

  • Manage multiple computers and servers directly from ChatGPT without repeatedly switching SSH sessions
  • Write code, modify projects, run tests, and operate Git in the real local or remote environment without depending on a dedicated coding-agent quota
  • Manage VPS hosts, Docker services, reverse proxies, and deployment configuration
  • Inspect logs, processes, ports, and actual runtime state
  • Operate authenticated web pages and macOS desktop applications
  • Connect multiple AgentDock instances and coordinate cross-device work in one conversation
  • Extend capabilities through Skills and dynamic MCP servers
  • Persist long-running task state and continue after an interruption
  • Use the same tool model across macOS, Linux, Windows, and containers
  • And more

Quick start

Regular users can install AgentDock from the official package for their operating system. You do not need the source code or Go.

See Install AgentDock for the complete instructions.

Choose a connection option

  • Local only: the client and AgentDock run on the same computer.
  • Temporary public address: ChatGPT, a phone, or another remote device needs access and no domain is ready. The address may change after the Tunnel restarts.
  • Fixed domain: a stable address for long-term use. Requires a Cloudflare-managed domain and Tunnel Token.

After installation, get the MCP URL and Bearer Token or OAuth sign-in details from the control panel or terminal, then add them to the MCP, Tools, or Connectors settings in your client. Public access must keep authentication enabled. Do not include credentials in screenshots, issues, or public conversations.

Connect an AI client

AgentDock exposes tools over MCP Streamable HTTP. The exact client syntax varies, but a typical configuration looks like this:

json
{
  "mcpServers": {
    "agentdock": {
      "url": "http://127.0.0.1:8765/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTDOCK_AUTH_TOKEN>"
      }
    }
  }
}

Core capabilities

Files and commands

  • Read and search UTF-8 text, traverse directories, and apply structured edits
  • Atomic file writes, path boundaries, and private-directory protection
  • Command execution with timeout and output limits
  • Separate stdout, stderr, and exit status
  • Long-running command sessions, PTY, observation, input, and termination
  • Output truncation and sensitive-value redaction
  • macOS, Linux, Windows, and WSL support

Skills and dynamic MCP

Official and community Skill sources live in uvwt/agentdock-skills. This repository only keeps core Skills that must ship with the AgentDock runtime, including bootstrap/security Skills and the built-in agentdock-user-guide official user guide.

  • Install, update, and remove current managed Skill content with digest-based no-op and atomic replacement
  • Keep managed, shared, and workspace Skill sources distinct through host-issued skill_ref provenance
  • Isolate managed Skill environment variables and persistent data from package content
  • Register, enable, disable, refresh, and remove dynamic MCP servers
  • Streamable HTTP and stdio transports
  • Search tools, inspect schemas, and perform controlled calls
  • Configuration isolation between MCP servers

Native ACP

AgentDock can optionally act as a native ACP client and host a local coding-agent adapter.

  • Desktop control panels provide presets for Codex, Claude, and Grok; host configuration controls whether ACP is enabled and which adapter is selected.
  • Use acp_session to create and manage sessions, acp_prompt to run and observe prompts, and acp_interaction to answer agent permission requests.
  • Optional ACP operations are available only when the connected adapter advertises the corresponding capability.
  • ACP working directories follow the host process or container security boundary rather than an AgentDock filesystem allowlist.

Browser and desktop automation

  • Start, close, and clean up browser sessions
  • Navigate, click, type, select, and wait
  • Inspect page text, interactive elements, errors, and network responses
  • Persist login state, use dedicated browser profiles, and capture screenshots
  • Use system Chrome and macOS desktop automation

Recoverable tasks

  • Persist task state
  • Define explicit goals, steps, and completion conditions
  • Record staged checkpoints
  • Track blockers and resume after interruption
  • Perform final review and evidence-based completion checks
  • Reuse workflow templates

Recall and NexusDock integration

AgentDock can optionally pair with NexusDock as a multi-device aggregation entrypoint:

  • Long-term project memory
  • Runbooks and experience records
  • Workflow templates
  • Private notes
  • Multi-device state coordination
  • Temporary signed Artifact downloads proxied by NexusDock while the source node is online

Runtime directories

PathPurpose
~/AgentDockDefault working directory for relative file operations
~/.agentdockAgentDock state, configuration, sessions, and extension data

Ports

Default MCP URL for Docker, native installs, and local development:

http://127.0.0.1:8765/mcp

Ports are configurable. Clients must use the address defined by the actual deployment.

For public deployments, enable Bearer Token or OAuth authentication and use HTTPS. Never expose an unauthenticated MCP service to the public internet.

Development and contribution

Run the full check before submitting code:

bash
make check

GitHub Actions continuously run tests, static checks, builds, and release validation.

User documentation is maintained separately in uvwt/agentdock-docs. Changes to user-visible behavior, configuration, installation, or tool schemas should update the matching documentation in the same change set.

Changes involving device pairing, cross-node tool routing, Recall, or Workflow integrations may also require coordinated changes in uvwt/nexusdock. The shared protocol is maintained in uvwt/agentdock-protocol. When changing shared interfaces or data structures, update the protocol definitions first, then align both implementations and their protocol dependency versions, check compatibility, update the corresponding documentation, and link related cross-repository changes in the PR.

Submit bugs and feature requests through GitHub Issues.

Support the project

Star History

Star History Chart

Related links

License

Apache License 2.0. See LICENSE.

Community

Join the QQ group (1081337019)

Use Agentdock MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Agentdock is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Agentdock as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Agentdock MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "agentdock": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Agentdock MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Agentdock MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Agentdock to help me with this task?
Agentdock
Sure. I read it.
Here is what I found using Agentdock.

Frequently asked questions

What is the Agentdock MCP server used for?

Agentdock is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Agentdock MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Agentdock with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Agentdock MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Agentdock connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Agentdock MCP to TypingMind?

Agentdock runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Agentdock MCP provide in TypingMind?

Agentdock exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Agentdock MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Agentdock requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇