Skip to content

Commit 0499319

Browse files
groksrcclaude[bot]
andauthored
fix: rename MCP prompt names to avoid slash command parsing issues (#289)
Signed-off-by: Drew Cain <[email protected]> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent 3a6baf8 commit 0499319

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/basic_memory/mcp/prompts/continue_conversation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
@mcp.prompt(
21-
name="Continue Conversation",
21+
name="continue_conversation",
2222
description="Continue a previous conversation",
2323
)
2424
async def continue_conversation(

src/basic_memory/mcp/prompts/recent_activity.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
@mcp.prompt(
19-
name="Share Recent Activity",
19+
name="recent_activity",
2020
description="Get recent activity from across the knowledge base",
2121
)
2222
async def recent_activity_prompt(
@@ -72,32 +72,32 @@ async def recent_activity_prompt(
7272

7373
capture_suggestions = f"""
7474
## Opportunity to Capture Activity Summary
75-
75+
7676
Consider creating a summary note of recent activity:
77-
77+
7878
```python
7979
await write_note(
8080
title="Activity Summary {timeframe}",
8181
content='''
8282
# Activity Summary for {timeframe}
83-
83+
8484
## Overview
8585
[Summary of key changes and developments over this period]
86-
86+
8787
## Key Updates
8888
[List main updates and their significance]
89-
89+
9090
## Observations
9191
- [trend] [Observation about patterns in recent activity]
9292
- [insight] [Connection between different activities]
93-
93+
9494
## Relations
9595
- summarizes [[{first_title}]]
9696
- relates_to [[Project Overview]]
9797
'''
9898
)
9999
```
100-
100+
101101
Summarizing periodic activity helps create high-level insights and connections between topics.
102102
"""
103103

src/basic_memory/mcp/prompts/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
@mcp.prompt(
20-
name="Search Knowledge Base",
20+
name="search_knowledge_base",
2121
description="Search across all content in basic-memory",
2222
)
2323
async def search_prompt(

0 commit comments

Comments
 (0)