Skip to content

Conversation

@jtpio
Copy link
Member

@jtpio jtpio commented Oct 27, 2025

Fixes #7

Reference: https://modelcontextprotocol.io/specification/2025-06-18/server/prompts

  • Follow the approach currently used for tools
  • Support jupyter_server_mcp.prompts entrypoints

@Zsailer
Copy link
Contributor

Zsailer commented Oct 30, 2025

I love this @jtpio! Let me know I can help/support this PR to move forward.

@jtpio
Copy link
Member Author

jtpio commented Oct 30, 2025

Thanks! I wanted to test it a bit before undrafting.

Just tried it with another extension that provides commands to interact with notebooks and files in the frontend and exposed a small prompt via this new entrypoints.

In Claude Code these MCP prompts show up as slash commands, so they can be invoked by users:

image

Then, asking to create a new notebook steers the LLM towards using these commands:

image

@jtpio
Copy link
Member Author

jtpio commented Oct 30, 2025

Looks like it can already be quite useful as it would help avoid copy-pasting files like AGENTS.md or CLAUDE.md.

So happy to mark that PR as ready for review.

@jtpio jtpio marked this pull request as ready for review October 30, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for prompts

3 participants