feat: Add testing framework and initial test cases for various tools and database operations
This commit is contained in:
@@ -19,6 +19,11 @@ class MCPServer {
|
||||
private server: Server;
|
||||
private tools: Map<string, { tool: Tool; handler: ToolHandler }> = new Map();
|
||||
|
||||
// Expose tools for testing
|
||||
getTools(): Map<string, { tool: Tool; handler: ToolHandler }> {
|
||||
return this.tools;
|
||||
}
|
||||
|
||||
constructor() {
|
||||
this.server = new Server(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user