Refactor configuration and API; added endpoints for image, video, and news.
This commit is contained in:
29 files changed
+2867
-490
No files matched your search
+10
-10
@@ -1,10 +1,10 @@
|
||||
import { server } from "../server.js";
|
||||
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
||||
|
||||
export const start = async (): Promise<void> => {
|
||||
const transport = new StdioServerTransport();
|
||||
await server.connect(transport);
|
||||
console.error("Stdio server started");
|
||||
};
|
||||
|
||||
export default { start }
|
||||
import { server } from '../server.js';
|
||||
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
||||
|
||||
export const start = async (): Promise<void> => {
|
||||
const transport = new StdioServerTransport();
|
||||
await server.connect(transport);
|
||||
console.error('Stdio server started');
|
||||
};
|
||||
|
||||
export default { start };
|
||||
Reference in new issue
Block a user