Expand description
§forge-manifest
Hierarchical capability manifest for the Forgemax Code Mode Gateway.
The manifest is the queryable index of all tools across all connected MCP servers. It lives in the V8 sandbox (not the LLM context window), enabling progressive discovery without consuming tokens.
§Manifest layers (progressive discovery)
- Layer 0: Server names + descriptions (~50 tokens returned)
- Layer 1: Categories per server (~200 tokens returned)
- Layer 2: Tool list for a category (~500 tokens returned)
- Layer 3: Full schema for specific tools (~200 tokens per tool)
Re-exports§
pub use live::LiveManifest;
Modules§
- live
- Lock-free live manifest for dynamic tool discovery.
Structs§
- Category
- A category grouping related tools within a server.
- Manifest
- The complete capability manifest across all connected servers.
- Manifest
Builder - Builder for constructing manifests.
- McpResource
- An MCP resource description as returned by
resources/list. - McpTool
- An MCP tool description as returned by
tools/list. - Param
Def - A tool parameter definition.
- Resource
Entry - A resource exposed by an MCP server.
- Server
Builder - Builder for constructing server entries.
- Server
Entry - A connected MCP server and its capabilities.
- Tool
Entry - A single tool exposed by an MCP server.
Constants§
- FORGE_
DTS - TypeScript type definitions for the forge sandbox API.
Functions§
- server_
entry_ from_ tools - Build a
ServerEntryfrom raw MCPtools/listresponses. - server_
entry_ from_ tools_ and_ resources - Build a
ServerEntryfrom tools and resources.