mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-18 15:06:58 +01:00
Yaak MCP Server Plugin
A Yaak plugin that exposes Yaak's functionality via the Model Context Protocol (MCP), allowing AI assistants and other tools to interact with Yaak programmatically.
Features
This plugin starts an MCP server on http://127.0.0.1:64343/mcp that provides tools for:
HTTP Requests
list_http_requests- List all HTTP requests in a workspaceget_http_request- Get details of a specific HTTP requestsend_http_request- Send an HTTP request and get the responsecreate_http_request- Create a new HTTP requestupdate_http_request- Update an existing HTTP requestdelete_http_request- Delete an HTTP request
Folders
list_folders- List all folders in a workspace
Workspaces
list_workspaces- List all open workspaces in Yaak
Clipboard
copy_to_clipboard- Copy text to the system clipboard
Window
get_workspace_id- Get the current workspace IDget_environment_id- Get the current environment ID
Toast Notifications
show_toast- Show a toast notification in Yaak
Usage
Once the plugin is installed and Yaak is running, the MCP server will be available at:
http://127.0.0.1:64343/mcp
Configure your MCP client to connect to this endpoint to start interacting with Yaak.
Development
# Install dependencies
npm install
# Build the plugin
npm run build
# Development mode with auto-rebuild
npm run dev