Skip to main content
Home

Built and signed on GitHub Actions

An open-source agent framework for building production-ready agentic AI agents

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
a week ago (0.4.4)
class McpServerManager

McpServerManager is a class that manages MCP (Model Context Protocol) servers and their tools. It handles server registration, tool management, and configuration persistence.

Authentication is handled by the McpClient layer.

Constructors

new
McpServerManager(context: ZypherContext)

Methods

cleanup(): void

Cleans up all server connections and resets the manager state

Deregisters a server and removes its tools

Gets all registered tools from all enabled servers and directly registered tools

getTool(name: string): Tool | undefined

Gets a specific tool by name from directly registered tools or any enabled server

Registers a new MCP server and its tools

registerTool(tool: Tool): void

Registers a new tool directly (non-MCP tool)

updateServer(
serverId: string,
updates: { server?: McpServerEndpoint; enabled?: boolean; },
): void

Updates server configuration and/or enabled status

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";
or

Import directly with a jsr specifier

import { McpServerManager } from "jsr:@corespeed/zypher";

Add Package

pnpm i jsr:@corespeed/zypher
or (using pnpm 10.8 or older)
pnpm dlx jsr add @corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";

Add Package

yarn add jsr:@corespeed/zypher
or (using Yarn 4.8 or older)
yarn dlx jsr add @corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";

Add Package

vlt install jsr:@corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";

Add Package

npx jsr add @corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";

Add Package

bunx jsr add @corespeed/zypher

Import symbol

import { McpServerManager } from "@corespeed/zypher";