Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitbonsai/mcpvault
/ functions
Functions
62 in github.com/bitbonsai/mcpvault
⨍
Functions
62
◇
Types & classes
34
↓ 109 callers
Method
isAllowed
(path: string)
src/pathfilter.ts:79
↓ 53 callers
Method
readNote
(path: string)
src/filesystem.ts:119
↓ 32 callers
Function
writeNote
(path: string, content: string)
src/search.test.ts:25
↓ 30 callers
Method
search
(params: SearchParams)
src/search.ts:28
↓ 26 callers
Method
stringify
(frontmatterData: Record<string, any>, content: string)
src/frontmatter.ts:68
↓ 22 callers
Method
patchNote
(params: PatchNoteParams)
src/filesystem.ts:226
↓ 22 callers
Method
writeNote
(params: NoteWriteParams)
src/filesystem.ts:151
↓ 19 callers
Method
isAllowedForListing
(path: string)
src/pathfilter.ts:104
↓ 14 callers
Method
resolvePath
(relativePath: string)
src/filesystem.ts:58
↓ 12 callers
Function
parseFrontmatter
(value: any)
src/frontmatter.ts:26
↓ 11 callers
Method
deleteNote
(params: DeleteNoteParams)
src/filesystem.ts:409
↓ 10 callers
Function
generateObsidianUri
(vaultPath: string, notePath: string)
src/uri.ts:9
↓ 10 callers
Method
parse
(content: string)
src/frontmatter.ts:48
↓ 9 callers
Method
getVaultStats
(recentCount: number = 5)
src/filesystem.ts:957
↓ 9 callers
Method
isDirectory
(path: string)
src/filesystem.ts:394
↓ 9 callers
Method
listAllTags
()
src/filesystem.ts:1014
↓ 9 callers
Method
updateFrontmatter
(params: UpdateFrontmatterParams)
src/filesystem.ts:771
↓ 8 callers
Function
classifyWriteError
(error: unknown, path: string)
src/filesystem.ts:19
↓ 7 callers
Method
moveFile
(params: MoveFileParams)
src/filesystem.ts:598
↓ 6 callers
Method
isFile
(path: string)
src/pathfilter.ts:143
↓ 6 callers
Method
listDirectory
(path: string = '')
src/filesystem.ts:317
↓ 6 callers
Function
mk
(code?: string, message = "boom")
src/filesystem.test.ts:1418
↓ 5 callers
Function
createServer
(vaultPath: string, options: CreateServerOptions = {})
src/createServer.ts:19
↓ 5 callers
Method
manageTags
(params: TagManagementParams)
src/filesystem.ts:851
↓ 5 callers
Method
validate
(frontmatterData: Record<string, any>)
src/frontmatter.ts:81
↓ 4 callers
Method
exists
(path: string)
src/filesystem.ts:379
↓ 4 callers
Method
preserveStringify
(rawMatter: string, updates: Record<string, any>, content: string)
src/frontmatter.ts:153
↓ 4 callers
Function
withYamlEngine
(options: Record<string, any> = {})
src/frontmatter.ts:17
↓ 3 callers
Method
filterPaths
(paths: string[])
src/pathfilter.ts:169
↓ 2 callers
Method
isIgnoredPath
(normalizedPath: string)
src/pathfilter.ts:116
↓ 2 callers
Function
isUnderSubtree
True if a vault-relative path is the subtree itself or sits under it.
src/search.ts:13
↓ 2 callers
Method
moveNote
(params: MoveNoteParams)
src/filesystem.ts:514
↓ 2 callers
Method
readMultipleNotes
(params: BatchReadParams)
src/filesystem.ts:723
↓ 2 callers
Method
simpleGlobMatch
(pattern: string, path: string)
src/pathfilter.ts:44
↓ 1 callers
Function
applyEmailStyles
* Apply inline styles to markdown-generated HTML so it looks right in email clients. * Email clients strip <style> tags, so everything must be inline
website/src/emails/send-broadcast.ts:104
↓ 1 callers
Method
canonicalizeForMatch
* Canonicalize a path for restricted-directory matching. On Windows the * filesystem strips trailing dots and spaces from each path segment, so
src/pathfilter.ts:71
↓ 1 callers
Method
checkForProblematicValues
( obj: any, result: FrontmatterValidationResult, path: string )
src/frontmatter.ts:102
↓ 1 callers
Method
findMarkdownFiles
(dirPath: string)
src/search.ts:193
↓ 1 callers
Function
formatCount
(n: number)
website/src/pages/api/downloads.json.ts:3
↓ 1 callers
Method
getNotesInfo
(paths: string[])
src/filesystem.ts:808
↓ 1 callers
Function
handleTabClick
(id: string)
website/src/components/InteractiveDemo.tsx:278
↓ 1 callers
Function
normalizeSubtree
Normalize a subtree path: forward slashes, no leading/trailing slashes.
src/search.ts:8
↓ 1 callers
Method
rerank
( candidates: RankCandidate[], terms: string[], termDocFreq: Map<string, number>, docCount: nu
src/search.ts:217
↓ 1 callers
Function
resolveConfig
(locals?: APIContext['locals'])
website/src/pages/api/subscribe.ts:8
↓ 1 callers
Function
resolveConfig
(locals?: APIContext['locals'])
website/src/pages/api/unsubscribe.ts:6
↓ 1 callers
Function
trimPaths
(args: any)
src/createServer.ts:425
↓ 1 callers
Function
unsubscribePageHtml
()
website/src/pages/api/unsubscribe.ts:56
Function
CodeBlock
({ code, language = 'json' }: CodeBlockProps)
website/src/components/CodeBlock.tsx:75
Function
GET
()
website/src/pages/api/downloads.json.ts:9
Function
GET
({ url, locals })
website/src/pages/api/unsubscribe.ts:19
Function
InteractiveDemo
()
website/src/components/InteractiveDemo.tsx:272
Function
POST
({ request, locals })
website/src/pages/api/subscribe.ts:23
Function
ResponseRenderer
({ response }: ResponseRendererProps)
website/src/components/ResponseRenderer.tsx:74
Function
ThemeToggle
()
website/src/components/ThemeToggle.tsx:3
Method
constructor
( private vaultPath: string, pathFilter?: PathFilter, frontmatterHandler?: FrontmatterHandler )
src/filesystem.ts:42
Method
constructor
(config?: Partial<PathFilterConfig>)
src/pathfilter.ts:21
Method
constructor
( vaultPath: string, private pathFilter: PathFilter )
src/search.ts:21
Method
extractFrontmatter
(content: string)
src/frontmatter.ts:178
Method
getVaultPath
()
src/filesystem.ts:953
Method
scanDirectory
(dirPath: string, relativePath: string = '')
src/filesystem.ts:963
Function
toggleTheme
()
website/src/components/ThemeToggle.tsx:23
Method
updateFrontmatter
(content: string, updates: Record<string, any>)
src/frontmatter.ts:183