mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-28 11:12:38 +01:00
Move the MCP server into Rust, hosted by the app and yaak mcp (#752)
This commit is contained in:
1 parent
b6c1f700f1
commit
72b43f7110
35 files changed
+2501
-61
No files matched your search
@@ -2,6 +2,9 @@
|
||||
|
||||
Exposes Yaak's functionality via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/).
|
||||
|
||||
**Deprecated.** Yaak now has a built-in MCP server with the same tools. Uninstall this plugin,
|
||||
then turn the server on in Settings > Agents, or run `yaak mcp` from the Yaak CLI.
|
||||
|
||||
## Setup
|
||||
|
||||
Add this to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
|
||||
|
||||
@@ -11,6 +11,13 @@ export const plugin: PluginDefinition = {
|
||||
// like show the startup toast.
|
||||
console.log("Initializing MCP Server plugin");
|
||||
setTimeout(async () => {
|
||||
void ctx.toast.show({
|
||||
message:
|
||||
"The MCP Server plugin is deprecated. Yaak now has a built-in MCP server: uninstall this plugin, then turn it on in Settings > Agents.",
|
||||
icon: "alert_triangle",
|
||||
color: "notice",
|
||||
timeout: 30000,
|
||||
});
|
||||
try {
|
||||
mcpServer = createMcpServer({ yaak: ctx }, serverPort);
|
||||
} catch (err) {
|
||||
|
||||
Reference in new issue
Block a user