summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-06-29 01:28:01 +0900
committertanaka takashi <isazaka@gmail.com>2026-06-29 01:28:01 +0900
commit8d38b06f11c713e547d70468340242f23322152c (patch)
tree566b4c658d7d0157c0cec4da490b37aa747a2d4e /src/app
first commit
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;
+}
+