aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mcp/src/index.ts
blob: 51437fc6abfe973d92dec9e06190e3d11846bac8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env node
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

import { mcpServer } from "./shared";

import "./bookmarks.ts";
import "./lists.ts";
import "./tags.ts";

async function run() {
  // Start receiving messages on stdin and sending messages on stdout
  const transport = new StdioServerTransport();
  await mcpServer.connect(transport);
}

run();