Files
deepseek-harness/packages/mcp
sjw1231 9382d70537 refactor(sdk): bound the initialize startup wait with a generic startupWaitMs
Review asked for one startup-wait setting instead of an MCP-specific
parameter that each similar need would repeat. The `initialize` parameter
`mcpStartupTimeoutMs` and its TypeScript and Python client options are
removed, so the protocol and both clients match master again.

`sdk-jsonrpc-server` gains `startupWaitMs` (0 by default, at most the timer
maximum). After route validation, `initialize` waits at most that long for
startup work that finishes after Loader settlement, currently MCP manager
servers in their first connection attempt, then answers and logs what is
still pending. The `sdk` profile sets it to 5000, below the TypeScript and
Python handshake timeouts.
2026-11-24 17:46:59 +08:00
..
2026-11-22 15:27:28 +08:00
2026-11-22 15:27:28 +08:00

description, kind
description kind
The MCP package group: connect external Model Context Protocol servers, call their tools, and read their resources. package-group

MCP — Model Context Protocol

English | 中文

Summary

The mcp/ group lets the model call external Model Context Protocol (MCP) tools and read server resources. Configure mcp-client entries directly, or let mcp-manager run a settings-driven fleet of them that a management surface edits at runtime; shipped profiles already mount mcp-resources once. MCP tools and prompt text appear only for callers with a configured server in scope. Connections also supply server instructions. Package READMEs own configuration and limitations.

Table of Contents


Packages

The client owns each configured connection, the manager runs a settings-driven fleet of clients, and the shared resource package supplies resource tools across those connections.

Package What it provides
mcp-account/ Show each MCP connector's OAuth server account on the Plugins page through the connector account registry
mcp-client/ Connect one MCP server, expose its tools and instructions, and provide its resource operations
mcp-manager/ Manage a settings-driven fleet of mcp-client instances: live add/edit/enable/disable/delete, status, restart, probe
mcp-resources/ Discover and read resources through shared tools with explicit server selection

Try the worked example configurations to see the plugin in action, then read the Agent Note for the behavior decisions behind it.

Dev Note

Working context for maintainers — click to expand

None.