mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
feat(web): WebMCP tools via @profullstack/webmcp (#285)
Adds @profullstack/webmcp so in-browser AI agents get the site's tools. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1fe44f0399
commit
64eb42e2c1
1 changed files with 8 additions and 0 deletions
|
|
@ -73,6 +73,14 @@ export default function RootLayout({ children }: { children: ReactNode }): React
|
|||
<link rel="openprofile" href={`${SITE_URL}/.well-known/openprofile.md`} />
|
||||
{/* OpenStack.md discovery (/openstack, rule 9): what this site is built on. */}
|
||||
<link rel="openstack" href={`${SITE_URL}/.well-known/openstack.md`} />
|
||||
{/* WebMCP (@profullstack/webmcp): site_info and open_page for the AI agent in the
|
||||
visitor's browser. No-op where the browser has no WebMCP. */}
|
||||
<script
|
||||
type="module"
|
||||
data-webmcp=""
|
||||
src="https://cdn.jsdelivr.net/npm/@profullstack/webmcp@0/src/embed.js"
|
||||
data-pages='{"specs":"/specs","docs":"/docs","pricing":"/pricing","openmcp":"/openmcp","openagent":"/openagent","openprofile":"/openprofile","blog":"/blog","about":"/about"}'
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue