Rocky_Mountain_Vending/.pnpm-store/v10/files/73/5bc526777a9ba951e907af2c9e4ebc67c97f3126cc2f7422704e12db0e8440dafcd70863c9e81a8226544227e0f92c677d4ae0448fb948052359a30faa6d06
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

55 lines
No EOL
1.8 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "registerGetProjectMetadataTool", {
enumerable: true,
get: function() {
return registerGetProjectMetadataTool;
}
});
const _mcptelemetrytracker = require("../mcp-telemetry-tracker");
function registerGetProjectMetadataTool(server, projectPath, getDevServerUrl) {
server.registerTool('get_project_metadata', {
description: 'Returns the the metadata of this Next.js project, including project path, dev server URL, etc.',
inputSchema: {}
}, async (_request)=>{
// Track telemetry
_mcptelemetrytracker.mcpTelemetryTracker.recordToolCall('mcp/get_project_metadata');
try {
if (!projectPath) {
return {
content: [
{
type: 'text',
text: 'Unable to determine the absolute path of the Next.js project.'
}
]
};
}
const devServerUrl = getDevServerUrl();
return {
content: [
{
type: 'text',
text: JSON.stringify({
projectPath,
devServerUrl
})
}
]
};
} catch (error) {
return {
content: [
{
type: 'text',
text: `Error: ${error instanceof Error ? error.message : String(error)}`
}
]
};
}
});
}
//# sourceMappingURL=get-project-metadata.js.map