-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathindex.ts
More file actions
33 lines (29 loc) · 952 Bytes
/
index.ts
File metadata and controls
33 lines (29 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { CoursesTool } from "./tools/CourseTool.js";
import { BlogTool } from "./tools/BlogTool.js";
import { ResourceTool } from "./tools/ResourceTool.js";
import { ReminderTool } from "./tools/ReminderTool.js";
import { ProgressTool } from "./tools/ProgressTool.js";
const server = new McpServer({
name: "interviewready",
version: "1.0.0",
capabilities: {
resources: {},
tools: {},
},
});
new CoursesTool(server)
new BlogTool(server)
new ResourceTool(server)
new ReminderTool(server)
new ProgressTool(server)
async function main() {
const transport = new StdioServerTransport();
await server.connect(transport);
console.error("InterviewReady MCP Server running on stdio");
}
main().catch((error) => {
console.error("Fatal error in main():", error);
process.exit(1);
});