Constimport { defineConfig, defineStoneApp } from '@stone-js/core'
import { mcpBlueprint } from '@stone-js/mcp'
export const App = defineStoneApp({ name: 'app' }, [mcpBlueprint])
export const AppConfig = defineConfig((blueprint) => blueprint.set('stone.mcp', {
instructions: 'Tools for managing notes. Always read before you write.',
route: { auth: true }
}))
Opt-in blueprint: register it to expose your routes as tools.
The imperative half of the pair;
@Mcp()is the declarative one. One route appears,/mcpby default, and nothing else changes. No route becomes a tool until it saysmcp.