#!/usr/bin/env node
import { ObsidianMcpServer } from "./server.js";
/**
* Main function to start the Obsidian MCP server
*/
async function main() {
const server = new ObsidianMcpServer();
await server.start();
}
// Run main function if this is the main module
if (import.meta.url === import.meta.resolve("./index.js")) {
main().catch((error) => {
console.error("Fatal error:", error);
process.exit(1);
});
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/takuya0206/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server