A Model Context Protocol (MCP) server that connects AI assistants to GitHub repositories containing Obsidian vaults. This server enables seamless integration with your knowledge base stored on GitHub, allowing AI…
obsidian-github-mcp source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server that connects AI assistants to GitHub repositories containing Obsidian vaults. This server enables seamless integration with your knowledge base stored on GitHub, allowing AI assistants to read, search, and analyze your Obsidian notes and documentation.”
The documented npm package is obsidian-github-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares GITHUB_TOKEN, GITHUB_OWNER, GITHUB_REPO. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| getFileContents | Retrieve the contents of specific notes, documents, or files from your Obsidian vault |
| searchFiles | Enhanced search with multiple modes: |
| filename | Find files by exact filename (perfect for "OKR 2025" type searches) |
| path | Search anywhere in file paths |
| content | Search within file contents |
| all | Comprehensive search across filenames, paths, and content |
| searchIssues | Search for issues and discussions related to your knowledge base projects |
| getCommitHistory | Track how your knowledge base has evolved over time with detailed commit history and diffs |
{
"mcpServers": {
"obsidianGithub": {
"command": "npx",
"args": [
"-y",
"obsidian-github-mcp"
],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN",
"GITHUB_OWNER": "your-github-username",
"GITHUB_REPO": "your-obsidian-vault-repo"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| GITHUB_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
| GITHUB_OWNER | Declared in the maintainer’s client configuration. | Check documentation |
| GITHUB_REPO | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.