MCPC Core - A library for building scalable agentic MCP servers. * MCPC allows you to create composable MCP servers with one-prompt automation * workflow declaration, supporting thousands of dependent MCPs from the community.
MCPC Core - A library for building scalable agentic MCP servers.
MCPC allows you to create composable MCP servers with one-prompt automation workflow declaration, supporting thousands of dependent MCPs from the community.
This module provides utilities for AI services, WeChat Work integration, LLM providers (Ollama, Qwen), middleware, and MCP composition capabilities.
import { mcpc } from "@mcpc/core"; import { StdioServerTransport } from "@modelcontextprotocol/sdk"; // Create a composable MCP server const server = await mcpc( [ { name: "my-agent", version: "1.0.0" }, { capabilities: { tools: { listChanged: true } } } ], [ { name: "file-organizer", description: "Automatically organize files in directories", deps: { mcpServers: { "@wonderwhy-er/desktop-commander": { command: "npx", args: ["-y", "@wonderwhy-er/desktop-commander@latest"] } } } } ] ); // Connect with stdio transport const transport = new StdioServerTransport(); await server.connect(transport);
Add Package
deno add jsr:@mcpc/core
Import symbol
import * as core from "@mcpc/core";
Import directly with a jsr specifier
import * as core from "jsr:@mcpc/core";
Add Package
pnpm i jsr:@mcpc/core
pnpm dlx jsr add @mcpc/core
Import symbol
import * as core from "@mcpc/core";
Add Package
yarn add jsr:@mcpc/core
yarn dlx jsr add @mcpc/core
Import symbol
import * as core from "@mcpc/core";
Add Package
vlt install jsr:@mcpc/core
Import symbol
import * as core from "@mcpc/core";
Add Package
npx jsr add @mcpc/core
Import symbol
import * as core from "@mcpc/core";
Add Package
bunx jsr add @mcpc/core
Import symbol
import * as core from "@mcpc/core";