MCP_SERVER_NAME_RE (mcp/mcp-types.ts)

atomic-agent · src/mcp/mcp-types.ts · typescript · MIT
integration

Type definitions for MCP client configuration, server status, and tool metadata.

// Source: https://github.com/AtomicBot-ai/atomic-agent | License: MIT | Copyright 2026 Atomic Bot
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * MCP (Model Context Protocol) client types.
 *
 * atomic-agent is an MCP **client only** — it connects to external
 * MCP servers and surfaces their `tools` / `resources` / `prompts`
 * through the existing `ToolRegistry`. The agent itself never
 * exposes an MCP server interface.
 *
 * Locked invariant (see docs/client.md): the
 * `@modelcontextprotocol/sdk` package is imported from a single
 * file — `src/mcp/mcp-client.ts`. Everything else operates on the
 * neutral shapes defined here.
 */

import type { ResourceClass } from "../agent/tool-resource-class.js";

/**
 * Single MCP server configuration entry. Lives in
 * `

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key