MCP Server 2.0 (#452)
* MCP Server 2.0 - Updated application version from 2.23.14 to 2.24.0 in package.json. - MCP Server improved with new features - Migrated functionality from Dev Tools to MCP Server - Improved getMonitoringProvider not to crash application when misconfigured
This commit is contained in:
committed by
GitHub
parent
059408a70a
commit
f3ac595d06
32
apps/dev-tool/app/database/page.tsx
Normal file
32
apps/dev-tool/app/database/page.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import { Metadata } from 'next';
|
||||
|
||||
import { DatabaseToolsInterface } from './_components/database-tools-interface';
|
||||
import { loadDatabaseToolsData } from './_lib/server/database-tools.loader';
|
||||
|
||||
interface DatabasePageProps {
|
||||
searchParams: Promise<{
|
||||
search?: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Database Tools - MCP Server',
|
||||
description:
|
||||
'Explore database schemas, tables, functions, and enums through the MCP Server interface',
|
||||
};
|
||||
|
||||
async function DatabasePage({ searchParams }: DatabasePageProps) {
|
||||
const searchTerm = (await searchParams).search || '';
|
||||
|
||||
// Load all database data server-side
|
||||
const databaseData = await loadDatabaseToolsData();
|
||||
|
||||
return (
|
||||
<DatabaseToolsInterface
|
||||
searchTerm={searchTerm}
|
||||
databaseData={databaseData}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default DatabasePage;
|
||||
Reference in New Issue
Block a user