Generated Computers
Locals는 Apple Silicon 엔진으로 로컬 LLM을 최대 3배 빠르게 실행하는 Generated Computers 제품
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Tool definitions, schemas and handlers behind the PageHub MCP server
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗The toolset that powers PageHub's AI integrations — 98 typed tools for building, editing, and publishing websites programmatically.
This is the shared core: tool schemas (MCP-compatible), HTTP handlers against the PageHub API, request context, and validation helpers. It's consumed by:
@pagehub/mcp — stdio MCP server (use with Claude Desktop, Cursor, etc.)A visual + AI website builder. The MCP tools let an LLM create sites, edit their HTML + Liquid files, place blocks, set themes, manage pages, run accessibility/SEO audits, search stock media, and publish — all against pagehub.dev via authenticated HTTP.
npm install @pagehub/mcp-core
# or
pnpm add @pagehub/mcp-core
Node.js 18+.
const { runWithContext, executeTool, getAllTools } = require("@pagehub/mcp-core");
// 1. Inspect available tools (MCP schema)
const tools = getAllTools(); // 98 tools
// 2. Run a tool inside a request context
const result = await runWithContext(
{
apiKey: process.env.PAGEHUB_API_KEY,
apiBaseUrl: "https://pagehub.dev",
},
() => executeTool("list_sites", {})
);
console.log(result.content[0].text);
Get a free API key by signing up at pagehub.dev or calling the register tool with an email.
See examples/ for runnable scripts (list tools, execute a tool, full Claude Agent SDK loop).
const { generateText, tool } = require("ai");
const { gateway } = require("ai");
const { getAgentTools, runWithContext, executeAgentTool } = require("@pagehub/mcp-core");
const schemas = getAgentTools(); // 67 tools safe for public agents
const aiTools = Object.fromEntries(
schemas.map(s => [
s.name,
tool({
description: s.description,
parameters: s.input_schema,
execute: args => executeAgentTool(s.name, args),
}),
])
);
await runWithContext({ apiKey: process.env.PAGEHUB_API_KEY }, () =>
generateText({
model: gateway("anthropic/claude-sonnet-4-6"),
tools: aiTools,
prompt: "Create a landing page for a coffee shop.",
})
);
About 100 tools across 11 domains. The full schemas live in src/data/tools.json.
| Domain | Examples |
|---|---|
| Sites | list_sites, create_site, select_site, publish_site, unpublish_site |
| Templates | list_templates, pull_template, save_template, update_template |
| Pages | list_pages, add_page, update_page, delete_page |
| Files | list_site_files, read_site_file, edit_site_file, edit_site_files |
| Blocks | search_blocks, get_block, save_block, patch_block, apply_kit_block |
| Theme & Design | set_theme, suggest_palettes, suggest_font_pairings, set_favicon |
| Stripe | stripe_connect, set_checkout, refresh_products, stripe_search_products |
| Media | upload_image, find_image, find_video (Pexels / Unsplash) |
| SEO | audit_seo, audit_accessibility |
| Portal | set_portal, get_portal, remove_portal |
| Site Config | set_integrations, set_redirects |
const {
// Tool execution
runWithContext, // (ctx, fn) — seed request context (AsyncLocalStorage)
getContext, // () — read current context
executeTool, // (name, args) — execute any HTTP tool
executeAgentTool, // (name, args) — execute only agent-allowed tools
handlers, // raw handler map
// Schemas
getAllTools, // every tool, MCP format ({inputSchema})
getAgentTools, // the public-agent-safe tools, Claude API format ({input_schema})
// Sets
HTTP_TOOL_NAMES,
AGENT_ALLOWED,
AGENT_EXCLUDED,
// Helpers
apiFetch,
parseMaybeJson,
} = require("@pagehub/mcp-core");
For handler delegation patterns (e.g. wrapping individual tools), import handlers directly:
const site = require("@pagehub/mcp-core/handlers/site-config"); // { set_integrations, set_favicon, set_redirects }
const seo = require("@pagehub/mcp-core/handlers/seo"); // { audit_seo, audit_accessibility }
const ai = require("@pagehub/mcp-core/ai-models"); // ESM — AI model defaults
Available subpaths: handlers/{discovery,portal,remote,remote-collections,seo,site-config,stock-images,stock-videos}, ai-models. Internals (core/, helpers/, utils/, validation/, data/, lib/) are not part of the public API.
src/
├── index.js ← public entry
├── ai-models.mjs ← ESM: AI model defaults
├── core/ ← context, api-fetch, direct upload
├── handlers/ ← HTTP tool implementations (one file per domain)
│ └── seo/ ← SEO + a11y audit (server-rendered draft page)
├── helpers/ ← shared handler utilities (target, file edits, library, publish state)
├── validation/ ← button, branding validators
├── utils/ ← pure utilities (color)
├── data/ ← static data: tools.json, instructions, style reference, vibes, categories
└── lib/ ← theme-fonts
See src/README.md for a per-folder breakdown.
See CONTRIBUTING.md for the handler contract, context system, and how to add a new tool.