Amadeusz Wieczorek
54dfa08aba
Update name of function search_notes in error output ( #92 )
...
Signed-off-by: Amadeusz Wieczorek <git@amadeusw.com >
2025-04-14 11:06:15 -05:00
Paul Hernandez
617e60bda4
feat: permalink enhancements ( #82 )
...
- Avoiding "useless permalink values" for files without metadata
- Enable permalinks to be updated on move via config setting
2025-04-06 14:54:59 -05:00
github-actions[bot]
9d581cee13
fix: [BUG] Cursor has errors calling search tool ( #78 )
2025-04-05 19:12:23 -05:00
Paul Hernandez
b27827671d
feat: rename search tool to search_notes ( #66 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-28 19:11:35 -05:00
phernandez
731b502d36
docs: add help docs to mcp cli tools
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-25 13:01:11 -05:00
phernandez
b35037eb86
fix broken merge
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-24 23:18:22 -05:00
phernandez
b667bca5a2
fix test coverage and type checks
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-24 22:46:47 -05:00
phernandez
9c791259a0
\fix: improve tags handling in write_note tool to fix #38\n\nThis change makes the write_note tool more flexible with tag inputs by:\n1. Adding a parse_tags helper function to handle various input formats\n2. Removing explicit type annotation from the write_note signature\n3. Adding documentation on how to pass tags from external MCP clients\n4. Adding a test that reproduces the issue from bug report #38\n\nThe issue occurred in external MCP clients like Cursor where the tags\nparameter was causing type mismatch errors.\n\n\ud83e\udd16 Generated with [Claude Code]( https://claude.ai/code )\n\nCo-Authored-By: Claude <noreply@anthropic.com>\
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-24 22:46:47 -05:00
phernandez
0ade6b0603
\fix: improve tags handling in write_note tool to fix #38\n\nThis change makes the write_note tool more flexible with tag inputs by:\n1. Adding a parse_tags helper function to handle various input formats\n2. Removing explicit type annotation from the write_note signature\n3. Adding documentation on how to pass tags from external MCP clients\n4. Adding a test that reproduces the issue from bug report #38\n\nThe issue occurred in external MCP clients like Cursor where the tags\nparameter was causing type mismatch errors.\n\n\ud83e\udd16 Generated with [Claude Code]( https://claude.ai/code )\n\nCo-Authored-By: Claude <noreply@anthropic.com>\
2025-03-24 18:30:21 -05:00
Paul Hernandez
6a4bd54646
chore: Pre beta prep ( #20 )
...
fix: drop search_index table on db reindex
fix: ai_resource_guide.md path
chore: remove logfire
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-07 14:31:35 -06:00
Paul Hernandez
d2bd75a949
feat: add project_info tool ( #19 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-03-05 23:44:28 -06:00
Paul Hernandez
90d5754180
feat: Implement boolean search ( #18 )
2025-03-05 20:57:12 -06:00
Paul Hernandez
e6496df595
feat: Beta work ( #17 )
...
feat: Add multiple projects support
feat: enhanced read_note for when initial result is not found
fix: merge frontmatter when updating note
fix: handle directory removed on sync watch
2025-03-05 18:46:04 -06:00
Paul Hernandez
f8078cdd46
Fix: Beta testing fixes ( #16 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-28 20:23:53 -06:00
Paul Hernandez
093dab5f03
feat: Add enhanced prompts and resources ( #15 )
...
## Summary
- Add comprehensive documentation to all MCP prompt modules
- Enhance search prompt with detailed contextual output formatting
- Implement consistent logging and docstring patterns across prompt
utilities
- Fix type checking in prompt modules
## Prompts Added/Enhanced
- `search.py`: New formatted output with relevance scores, excerpts, and
next steps
- `recent_activity.py`: Enhanced with better metadata handling and
documentation
- `continue_conversation.py`: Improved context management
## Resources Added/Enhanced
- `ai_assistant_guide`: Resource with description to give to LLM to
understand how to use the tools
## Technical improvements
- Added detailed docstrings to all prompt modules explaining their
purpose and usage
- Enhanced the search prompt with rich contextual output that helps LLMs
understand results
- Created a consistent pattern for formatting output across prompts
- Improved error handling in metadata extraction
- Standardized import organization and naming conventions
- Fixed various type checking issues across the codebase
This PR is part of our ongoing effort to improve the MCP's interaction
quality with LLMs, making the system more helpful and intuitive for AI
assistants to navigate knowledge bases.
🤖 Generated with [Claude Code](https://claude.ai/code )
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-27 20:48:56 -06:00
Paul Hernandez
0d7b0b3d7e
feat: Add new canvas tool to create json canvas files in obsidian. ( #14 )
...
Add new `canvas` tool to create json canvas files in obsidian.
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-25 21:21:05 -06:00
Paul Hernandez
37a01b806d
feat: Incremental sync on watch ( #13 )
...
- incremental sync on watch
- sync non-markdown files in knowledge base
- experimental `read_resource` tool for reading non-markdown files in raw form (pdf, image)
2025-02-24 22:13:15 -06:00
phernandez
f5a7541da1
feat: add cli commands for mcp tools
2025-02-18 23:23:09 -06:00
phernandez
bc9ca0744f
fix: search query pagination params
2025-02-18 21:29:11 -06:00
phernandez
02f8e86692
feat: add pagination to read_notes
2025-02-18 20:42:19 -06:00
phernandez
0123544556
feat: add pagination to build_context and recent_activity
2025-02-18 20:22:35 -06:00
phernandez
00d23a5ee1
fix: add logfire spans to cli
2025-02-18 19:56:20 -06:00
phernandez
812136c8c2
fix: add logfire spans to cli
2025-02-18 19:08:46 -06:00
phernandez
3e8e3e8961
fix: add logfire instrumentation to tools
2025-02-18 18:52:09 -06:00
Paul Hernandez
0689e7a730
feat: return semantic info in markdown after write_note ( #11 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-17 23:33:11 -06:00
Paul Hernandez
39bd5ca08f
fix: Re do enhanced read note format ( #10 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-17 18:47:59 -06:00
phernandez
e0803734e6
fix: handle memory:// url format in read_note tool
2025-02-15 12:00:03 -06:00
Paul Hernandez
5b4f0eafcc
Pre release fixups ( #5 )
...
* configure logging
* set mcp output logging also
* fix type check errors
* fix type check
* rename Permalink schema type
* fix type errors
* add typechecks to ci workflow
* pytest coverage setup
* add tests for status cli
* sync tests coverage
* watch_service test coverage
* tests for tool_utils.py
* clean up imports
* file_utils coverage
* markdown plugins coverage
* 99% test coverage
* more test coverage, remove ObservationCategory
* more tool coverage
* fix type-check
* format, upgrade deps
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-12 08:23:10 -06:00
phernandez
3d2c0c8c32
fix: fix recent activity bug
2025-02-04 17:25:15 -06:00
phernandez
3199ab0217
simplify MemoryUrl to be validated string
2025-02-01 13:42:48 -06:00
phernandez
572187a59a
add verbose=True to write_note
2025-01-31 20:41:31 -06:00
phernandez
a1108680c0
update notes tool docs
2025-01-31 19:34:53 -06:00
phernandez
eafe563cfa
add title/folder to EntitySchema
2025-01-31 19:29:16 -06:00
phernandez
f0fd1ee942
fix fuzzy search on note create
2025-01-31 16:38:06 -06:00
phernandez
dec1cc0827
Remove ai_edit tool import and registration
2025-01-31 14:27:28 -06:00
phernandez
835061a938
refactor entity_service to use file/markdown
2025-01-30 16:11:30 -05:00
phernandez
c2aa947be9
remove observation, relation services
2025-01-27 17:01:34 -06:00
phernandez
e39132bc1b
fix recent_activity tool type arg
2025-01-22 23:12:59 -06:00
phernandez
526baead18
add delete_note tool
2025-01-21 20:08:52 -06:00
phernandez
18d4584652
make write_note overwrite existing notes
2025-01-21 19:27:43 -06:00
phernandez
5ba6d0d1f5
add fuzzy matching to notes
2025-01-20 20:26:16 -06:00
phernandez
224b11332c
add notes tools
2025-01-20 19:05:16 -06:00
phernandez
02e6c763cf
improve TimeFrame and recent_activity types
2025-01-20 16:17:44 -06:00
phernandez
14f520c272
remove activity router, replace with memory/recent
2025-01-20 15:35:08 -06:00
phernandez
bc6632732e
speed up context query
2025-01-19 10:06:14 -06:00
phernandez
32606d771d
fix tests for context and permalinks
2025-01-18 23:54:28 -06:00
phernandez
db9da9051a
add ai_edit tool
2025-01-18 21:17:34 -06:00
phernandez
d65fca0a3c
fixes for sync
2025-01-18 20:04:45 -06:00
phernandez
7322bb5350
refactor tools, remove BasicMemoryServer, update mcp sdk
2025-01-18 18:48:22 -06:00
phernandez
ae9926f54d
add discussion tools
2025-01-18 10:23:01 -06:00