UNPKG

opencode-mcp

Version:

MCP server for OpenCode coding workflows, durable async jobs, project resources, and explicit user input

11 lines (10 loc) • 479 B
/** * MCP Resources — expose OpenCode data as browseable resources. * * Resources let MCP clients (and LLMs) discover and read structured data * without needing to know the exact tool calls. They're perfect for * things like "show me the current project" or "list available sessions". */ import { McpServer } from "./mcp-server.js"; import { OpenCodeClient } from "./client.js"; export declare function registerResources(server: McpServer, client: OpenCodeClient): void;