summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/main.c b/src/app/main.c
new file mode 100644
index 0000000..ab8688f
--- /dev/null
+++ b/src/app/main.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+#include "mcp/server.h"
+
+int
+main(void)
+{
+ const int result = tiny_convmem_server_run(stdin, stdout);
+ if (result != 0)
+ {
+ fprintf(stderr, "tiny-convmem-mcp stopped with error code %d\n", result);
+ }
+ return result;
+}
+