Agent Adapter
MCP server by WaniWani-AI Verified · npm:@waniwani
Turns a WaniWani agent runtime session into an AI SDK UI message stream and serves the /agent/v1 routes an MCP server mounts. Built for teams that run WaniWani's website chat next to their own MCP server.
Install Agent Adapter
Built from the published package, never by AI.
claude mcp add agent-adapter -- npx -y @waniwani/agent-adapterRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agent-adapter": {
"args": [
"-y",
"@waniwani/agent-adapter"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agent-adapter": {
"args": [
"-y",
"@waniwani/agent-adapter"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent-adapter": {
"args": [
"-y",
"@waniwani/agent-adapter"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent-adapter -- npx -y @waniwani/agent-adapter{
"mcpServers": {
"agent-adapter": {
"args": [
"-y",
"@waniwani/agent-adapter"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agent-adapter npx -y @waniwani/agent-adapterGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agent-adapter block.
About
@waniwani/agent-adapter sits between a browser and the WaniWani agent runtime. It converts a runtime session into the AI SDK UI message stream that the WaniWani SDK chat embed reads, and it ships the /agent/v1 routes that embed expects. The package has a framework-free core entry and an Express router that an MCP server built on Skybridge can mount beside its own /mcp route.
The router handles turns, cancellation, configuration, tools, resources, analytics events and health checks. Browsers present the environment's public key, and every non-GET request needs an Origin from an allowlist. The runtime is a separate Eve agent image that fetches the tenant's published prompt, model and channels from WaniWani. It suits teams that self-host WaniWani's website chat or use the hosted runtime.
Written from the project's README and checked against it.
Tools it gives your assistant
POST /Runs a chat turn and streams the reply as a UI message stream.POST /cancelStops the session's current turn, such as when a user presses Stop.GET /configServes the configuration for the agent.GET /toolsLists the tools the agent exposes to the model.POST /toolRoute for calling a tool on behalf of the agent.GET /resourceServes a resource to an iframe, which can pass the public key as ?token=.POST /eventsForwards widget analytics to WANIWANI_API_URL.GET /healthReports the health of the agent runtime.
What you need
- An MCP server built on Skybridge
- express, cors and @modelcontextprotocol/sdk as peer dependencies
- A WaniWani environment API key for self-hosted use
- Docker, if you run the agent image yourself
Try asking
- Mount the WaniWani agent routes on my MCP server
- Stream a chat reply from the WaniWani agent to my browser
- Stop the current agent turn for a session
Good to know
- The router allows sixty requests a minute per client.
- The hosted runtime does not mount the router, because it does not hold an environment key.
- After a restart, a resumed turn can pair an older prompt with a newer model until it ends.
- Cached configuration keeps working through an outage of under ten minutes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Agent Adapter
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Agent Adapter: common questions
Can I run it without the hosted WaniWani runtime?
Yes. The source describes a self-hosted deployment that holds its environment's own key and serves that one environment. Setting both or neither credential refuses to start.
Which routes does the router serve?
It serves POST /, POST /cancel, GET /config, GET /tools, POST /tool, GET /resource, POST /events and GET /health under /agent/v1.
How are browser requests checked?
Browsers send the environment's public key, which is compared in constant time. Every non-GET request must carry an Origin on the allowlist.
How do I install Agent Adapter?
In Claude Code run claude mcp add agent-adapter -- npx -y @waniwani/agent-adapter. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agent Adapter the official server?
Agent Adapter is published by npm:@waniwani from its verified domain in the official MCP Registry.
Is Agent Adapter free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Agent Adapter safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agent Adapter?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Agent Adapter work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
