
digitalnodecom/substrate
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
AI MCP Bedrock, Acorn, Sage 개발.
개요
WordPress + Bedrock + Acorn + Sage 용 MCP 서버. AI 조수는 당신의 뿌리 더미에 관하여 깊은 맥락을 줍니다. 설치 마법사는 IDE에 MCP를 구성하고 프로젝트 지침을 생성합니다. - PHP 8.2 + - 워드 프레스 6.0 + - 아콘 5.0 + 설치 프로그램은 .mcp.json을 자동으로 생성합니다. 수동 설정: BrowserLogs 도구에 대한 browser console.log, console.error 등을 캡처합니다. Auto-injected via Middleware, 또는 수동으로 추가하십시오:
개요(AI 번역)
WordPress + Bedrock + Acorn + Sage 용 MCP 서버. AI 조수는 당신의 뿌리 더미에 관하여 깊은 맥락을 줍니다.
빠른 시작
설치 마법사는 IDE에 MCP를 구성하고 프로젝트 지침을 생성합니다.
요구 사항
- PHP 8.2 이상
- 워드 프레스 6.0+
- 아콘 5.0+
사용법
MCP 구성
installer는 .mcp.json를 자동으로 생성합니다. 수동 설정:
도구
**31 도구 ** 세 가지 범주에 걸쳐:
핵심 (10)
| 도구 | 설명 |
|---|---|
ApplicationInfo |
PHP, WordPress, Acorn version, 테마 정보, 플러그인, 패키지 |
BrowserLogs |
브라우저 콘솔 로그 캡처 대상 |
DatabaseConnections |
구성 데이터베이스 연결 |
DatabaseQuery |
테이블 접두사 지원으로 읽기 전용 SQL 쿼리 |
DatabaseSchema |
워드 프레스 코어와 데이터베이스 스키마 사용자 지정 테이블 감지 |
GetConfig |
Acorn config, WP options, env vars, constants |
LastError |
어플리케이션 로그에서 오류/출시 |
ListEnvVars |
환경변수 .env 파일명 |
ReadLogEntries |
debug.log 또는 Acorn 로그의 항목에 로그인 |
| [T10] | 워드프레스 검색, 루트, 테일윈 문서 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP server for WordPress + Bedrock + Acorn + Sage. Gives AI assistants deep context about your Roots stack.
Quick Start
composer require digitalnodecom/substrate --dev
wp acorn package:discover
wp acorn substrate:install
The install wizard configures MCP for your IDE and generates project guidelines.
Requirements
- PHP 8.2+
- WordPress 6.0+
- Acorn 5.0+
Usage
# Start MCP server (usually handled by your IDE)
wp acorn substrate:mcp
# Refresh caches after plugin/theme changes
wp acorn substrate:update
MCP Configuration
The installer creates .mcp.json automatically. Manual setup:
{
"mcpServers": {
"substrate": {
"command": "wp",
"args": ["acorn", "substrate:mcp"]
}
}
}
Tools
31 tools across three categories:
Core (10)
| Tool | Description |
|---|---|
ApplicationInfo |
PHP, WordPress, Acorn versions, theme info, plugins, packages |
BrowserLogs |
Browser console logs captured by Substrate |
DatabaseConnections |
Configured database connections |
DatabaseQuery |
Execute read-only SQL queries with table prefix support |
DatabaseSchema |
Database schema with WordPress core vs custom table detection |
GetConfig |
Config values from Acorn config, WP options, env vars, constants |
LastError |
Last error/exception from application logs |
ListEnvVars |
Environment variable names from .env files |
ReadLogEntries |
Log entries from debug.log or Acorn logs |
SearchDocs |
Search WordPress, Roots, Tailwind documentation |
WordPress (16)
| Tool | Description |
|---|---|
AcfFields |
ACF field groups and fields (requires ACF) |
GetOption |
WordPress options by name or pattern |
ListBlocks |
Registered Gutenberg blocks (core and custom) |
ListCronJobs |
Scheduled WP-Cron jobs with next run times |
ListHooks |
Active action/filter hooks with callbacks |
ListMenus |
Navigation menus and menu locations |
ListPlugins |
Installed plugins (active, inactive, must-use) |
ListPostTypes |
Registered post types with configuration |
ListRestRoutes |
REST API endpoints with methods and arguments |
ListShortcodes |
Registered shortcodes with callback info |
ListTaxonomies |
Registered taxonomies |
ListThemes |
Installed themes with parent/child relationships |
ListTransients |
Database transients with expiration times |
ListUsers |
User roles and capabilities |
ListWidgets |
Widgets and sidebars |
WooCommerceInfo |
Store info, settings, gateways (requires WooCommerce) |
Acorn/Sage (5)
| Tool | Description |
|---|---|
ListAssets |
Assets from Vite manifest |
ListBladeComponents |
Blade components (anonymous and class-based) |
ListServiceProviders |
Acorn service providers |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"substrate": {
"command": "wp",
"args": ["acorn", "substrate:mcp"]
}
}
}