Agentweaver MCP Server
Click on "Install 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., "@Agentweaver MCP Serverstart a new agent run to add error handling to the payment module"
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.
Agentweaver
β οΈ Alpha software. Agentweaver is under active development. Expect breaking changes, incomplete features, and rough edges. Not intended for production use.
Agentweaver runs AI agents inside sandboxed git worktrees, mirrors run events into a shared store so any replica can stream them live, and waits for human review before anything merges.
π Read the docs at sabbour.me/agentweaver β or browse the source in docs/index.md
Prerequisites
For local development, install Git, Node.js, and the .NET 10 SDK; Windows also
needs WSL2 + bubblewrap. Azure work additionally needs the Azure CLI and
kubectl; publishing a release needs the gh CLI. npm run setup checks the
local-development tools after you clone the repository.
For platform-specific install commands, the Windows isolation requirement, and OAuth setup, follow the authoritative Getting started guide.
Related MCP server: harness_to_mcp
Getting Started with an AI Agent
You do not need to memorize a command catalog to get started. Open your preferred coding agentβGitHub Copilot CLI or an Agentweaver Squad agentβand describe the outcome you want. These prompts are ready to paste and give the agent a clear starting point:
Understand the project
Get a plain-language tour of the product and the important parts of the repository.
Explain what Agentweaver does and how this repository is structured. Point me to the best places to start reading.Run it locally
Ask the agent to prepare your machine and start the local development loop.
Set up my local development environment and run Agentweaver. Tell me about any prerequisites I need to install first.Provision Azure infrastructure
Create a fresh Azure environment; the agent should use azure:provision-infra for the first-time infrastructure setup.
Provision a fresh Azure environment for Agentweaver.Deploy local work to Azure
Ship the current checkout to an existing dev/test environment with azure:deploy-from-localβno PR is needed for this validation step.
Deploy my current local changes to the Azure dev/test environment.Deploy a specific commit to Azure
Ask for a reviewable deployment of a named Git ref using azure:deploy-from-commit -- <sha-or-ref>.
Deploy commit abc1234 to the Azure dev/test environment so I can review it.Create a release
Have the agent guide a real release through release:publish, or use azure:release for the full cut-and-deploy workflow when appropriate.
Cut a new release of Agentweaver.Deploy an existing release
Deploy a version that has already been published using azure:deploy-from-release -- vX.Y.Z.
Deploy release v1.4.0 to the staging environment.Investigate a bug or issue
Start with evidence and root cause before deciding how to change the code.
Investigate issue #42 and figure out the root cause before proposing a fix.Fix a bug or issue
Ask the agent to trace, implement, and validate a focused fix.
Fix the bug described in issue #42.Create a new feature
Describe the outcome in your own words; the agent can help turn it into an implementation plan.
Add a new feature: <describe what you want>Features
Sandboxed execution β every agent run lives in an isolated git worktree with Kata VM isolation on AKS
Live streaming β watch every agent step, tool call, and file change in real time from any replica
Human-in-the-loop review β nothing merges until you approve the assembled diff
Sandbox browser preview β open a live in-browser preview of the app running inside a run's sandbox (port-forward)
MCP server β expose Agentweaver runs and outcomes as MCP tools for Claude Desktop and compatible clients
Quick start
π New to Agentweaver? See Prerequisites above if you don't have git/Node/.NET installed yet, or follow the full getting started guide.
Windows local dev requires WSL2 +
bubblewrapbefore you start. The API runs inside WSL2 for a real isolated sandbox; follow Why WSL2 on Windows? so setup does not surprise you midway through the first run.
git clone https://github.com/sabbour/agentweaver.git
cd agentweaver
# One-time bootstrap: prerequisite checks, Web install, .NET restore, and
# appsettings.Development.json scaffolding. No servers or Azure resources.
npm run setup
# Start the API (http://localhost:5000) and the Web UI (http://localhost:5173).
npm run devBefore first sign-in, configure the GitHub OAuth client ID and user-secrets as
described in the local authentication
step.
The first API build can take 1β3 minutes (commonly longer through a
Windows-mounted WSL2 checkout). API logs stream in the terminal; the loop is
ready only after it prints both API is ready and Web UI is ready.
Use pnpm run <script> in place of npm run <script> if you use pnpm.
Dev/test versus branching
Local and Azure testing do not require a staging branch:
feature worktree
ββ npm run dev βββββββββββββββββββββββ> local test (no GitHub interaction)
ββ azure:provision-infra / azure:deploy-from-local βββββ> Azure dev/test environment
ββ azure:deploy-from-commit <ref> ββββββββββββββββββββββ> exact committed ref, without checkout switching
ββ PR CI β> update to latest dev β> CI rerun β> squash-merge to protected dev
ββ green SHA β> release/vX.Y.Z soak β> promotion to main
ββ publish vX.Y.Z β> deploy from releasenpm run dev uses whatever is checked out locally. Azure dev/test commands
can deploy an unmerged feature branch to a real cluster for integration
testing. The cluster is the staging/integration environment; protected
dev plus required up-to-date PR checks is the git integration path. See
Branch Topology for how branches map to
environments.
Deploy to Azure
π See Prerequisites above (you'll also need the Azure CLI
logged in via az login), or the full Azure deploy
guide.
From a cloned checkout:
# First/full provisioning of a personal or shared dev/test environment:
npm run azure:provision-infraThis is environment validation, not a release. Use azure:provision-infra to
provision or idempotently reconcile the full environment; after it exists,
use npm run azure:deploy-from-local to ship the current clean HEAD β even from an
unmerged feature branch/worktree β during normal development, and
npm run azure:verify to rerun live checks. Only the release workflow changes
VERSION, creates a vX.Y.Z tag, and publishes a GitHub Release. See the
release and deployment command model.
With no arguments, azure:provision-infra launches an interactive installer that prompts
for: the Azure subscription (defaulting to your current az default), a
resource group (pick an existing one or create a new one), a location, the
AKS cluster / ACR / Key Vault names (prefilled with sensible defaults,
editable), and a GitHub OAuth client ID + secret (the secret is entered with
no echo). It then provisions the cluster, identity, monitoring, the MCP OAuth
signing key, PostgreSQL, builds and pushes images, verifies image provenance,
and performs an initial SHA-identified deployment. At the end it prints an outputs
summary (resource group, cluster, ACR, namespace, image tags, gateway
host/IP, GitHub OAuth callback URL, verification pass/fail counts) β it
never prints the OAuth client secret or any other credential.
GitHub OAuth App callback URL β local vs. Azure. The registered callback URL must match where the app is actually running:
Local dev β
http://localhost:5000/auth/github/callbackAzure deployment β
https://<gateway-host>/auth/github/callbackβ printed verbatim as GitHub OAuth callback URL in the outputs summary above once the deploy finishes. It's only known after AKS App Routing provisions the managed certificate on your first deploy, so there's no way to know it in advance β deploy first with any placeholder callback URL, then go back to the OAuth App settings and paste in the printed callback URL. GitHub OAuth Apps only support one callback URL each β if you also do local dev, create a second OAuth App forlocalhost, or swap the callback URL each time you switch between local and Azure.
Non-interactive usage β via flags, environment variables, and/or a params file (precedence: flags > env > params file > detected defaults > prompt; a non-interactive run β no TTY, or any flags passed β never blocks on a prompt and fails fast naming any missing required field):
npm run azure:provision-infra -- \
--resource-group agentweaver-rg \
--cluster-name agentweaver-aks \
--acr-name agentweaverregistry \
--location westus2 \
--keyvault-name agentweaver-kv \
--github-client-id "$GITHUB_CLIENT_ID" \
--github-client-secret "$GITHUB_CLIENT_SECRET"Or with a params file (copy scripts/azure/params.example.json):
{
"RESOURCE_GROUP": "agentweaver-rg",
"CLUSTER_NAME": "agentweaver-aks",
"ACR_NAME": "agentweaverregistry",
"LOCATION": "westus2",
"KEYVAULT_NAME": "agentweaver-kv",
"NAMESPACE": "agentweaver",
"GITHUB_CLIENT_ID": "your-github-oauth-app-client-id",
"GITHUB_CLIENT_SECRET": "",
"IMAGE_TAG": "",
"SKIP_POSTGRES": false,
"SKIP_OAUTH_KEY": false
}npm run azure:provision-infra -- --params-file scripts/azure/params.my-env.jsonNever commit a params file containing a real
GITHUB_CLIENT_SECRETβ prefer theGITHUB_CLIENT_SECRETenvironment variable or the interactive secret prompt; the params file field exists only for unattended CI use against disposable/test environments.
Deploying current local work to an existing environment:
npm run azure:deploy-from-localazure:deploy-from-local deploys current local work without assigning release
identity. It is distinct from azure:provision-infra (initial/full setup) and
from azure:deploy-from-release (an existing published semver release). It
mints an immutable short-SHA tag from HEAD, builds and pushes images,
redeploys, performs post-deploy provenance verification, and waits for the
AgentHost warm pool.
To deploy a teammate's branch, PR ref, or older commit without switching your own checkout:
npm run azure:deploy-from-commit -- origin/feature-branchThe command resolves the ref to an exact commit, creates a temporary detached worktree, and runs the same short-SHA deployment pipeline. It never includes uncommitted local state.
Related commands (see the operations guide and AKS deployment runbook for more detail):
npm run release:publishβ create the tag and GitHub Release only.npm run azure:deploy-from-release -- vX.Y.Zβ deploy an existing published release.npm run azure:releaseβ publish and perform the first deployment as one resumable orchestration.npm run azure:verifyβ runs the post-deploy health verification checks on their own.
Local development
# Supported full environment (API + Web UI; no browser auto-open)
npm run dev
# Same orchestration, but open the browser when ready
npm run dev:open
# Frontend only (builds, then starts Vite)
npm run dev:web
# API only (builds, then starts the API)
npm run dev:apiUse pnpm run with the same script name if you use pnpm.
Run components manually
Start each component from the repo root (three terminals). On Windows, use the
full npm run dev loop for actual agent execution: the raw dotnet run
command below runs natively and does not provide the required WSL2 +
bubblewrap sandbox path; it is suitable only for API debugging that does not
execute model-generated commands.
# Terminal 1 β API backend
dotnet run --project apps/Agentweaver.Api
# Terminal 2 β MCP server (optional)
dotnet run --project apps/Agentweaver.Mcp
# Terminal 3 β Web UI (Vite dev server, hot reload)
npm --prefix apps/web run devConfigure the GitHub OAuth client secret for local dev with .NET user-secrets (do not put it in appsettings*.json):
cd apps/Agentweaver.Api
dotnet user-secrets set "Auth:GitHub:ClientSecret" "<your-oauth-app-client-secret>"Package scripts
From the repository root, run these with npm run <script> (or pnpm run <script>):
Script | Purpose |
| Local dev environment setup only: checks prerequisites (git/.NET 10/Node 20+), installs |
| Interactive/non-interactive installer β provisions everything and deploys (replaces the old |
| Deploy current local HEAD using a short-SHA image identifier; no release identity. |
| Deploy an arbitrary exact committed ref through a temporary detached worktree. |
| Deploy an existing published |
| Create an annotated tag and GitHub Release from a prepared exact-main checkout; no deploy. |
| Publish and deploy a prepared release by composing the two commands above. |
| Post-deploy health verification checks. |
| Start the full local API + Web UI dev environment (WSL2 + bubblewrap sandbox on Windows). No Azure calls; browser does not auto-open. |
| Same as |
| Build the web frontend, then start Vite. |
| Build the API in Release mode, then run it without rebuilding. |
Never use
:latest. The default image tag is the short git SHA (git rev-parse --short HEAD). Always pin to a specific SHA for reproducible deployments β image tags are immutable per build.
Skills
Project skills in .copilot/skills/ capture Agentweaver's
project-specific operating practices:
agentweaver-azure-fluent-system-sync β Refresh the Azure Fluent System library from Azure UI Kit / Fluent 2 via Figma MCP and validate checked-in React, CSS, docs, and showcase artifacts.
agentweaver-docs-feature β Full authoring playbook for documenting new or existing features across all documentation facets.
agentweaver-docs-sync β Keep Agentweaver docs in sync with code changes, including source grounding, regeneration, and builds.
agentweaver-git-workflow β Agentweaver Git workflow for protected dev integration, worktrees, and PRs.
agentweaver-github-issue β File a well-structured GitHub issue and dispatch the right Squad member for triage, RCA, or specification work.
agentweaver-issue-status β Print a live pipeline status board for GitHub issues, deployments, and documentation disposition.
agentweaver-playwright-cli β Automate browser interactions, test web pages, and work with Playwright tests.
GitHub Copilot CLI discovers its official skill paths in
.github/skills/; these thin entry points expose the
project's maintained harness workflows:
agentweaver-api-harness β Run Agentweaver's REST API harness for backend validation, repro reruns, or plain-English scenario exploration.
agentweaver-harness β Run Agentweaver's complete cross-surface persona harness for validation, regression, or exploratory passes.
agentweaver-harness-scenarios β List built-in harness scenarios and persona catalogs, or generate reviewed surface adapters.
agentweaver-mcp-harness β Run Agentweaver's MCP protocol harness for tool-surface validation, repro reruns, or scenario exploration.
agentweaver-ui-harness β Run Agentweaver's deployed-UI harness for browser evidence, repros, or scenario exploration.
AKS architecture
Block diagram

Full component breakdown, networking, security model, and warm-pool lifecycle: AKS Architecture β
Key docs
Skills
Agentweaver changelog β Changesets, release publication, release notes, and release deployment identity.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceExposes OpenClaw tools (web search, page fetching, browser automation, PDF analysis, messaging, inter-agent communication, Canvas) as MCP tools for ACP agents.Last updated1The Unlicense
- Alicense-qualityCmaintenanceExposes internal tools from agent harnesses (Claude Code, Codex, etc.) as a standard MCP server by intercepting LLM API calls.Last updated1MIT
- AlicenseAqualityCmaintenanceExposes local Flowise chatflows as MCP tools, enabling listing and running chatflows from any MCP client.Last updated2347MIT
- AlicenseAqualityBmaintenanceProvides browser automation, audio transcription, and LLM chat as MCP tools for any agent.Last updated7MIT
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/sabbour/agentweaver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server