Skip to content

Conversation

nightscape
Copy link
Contributor

No description provided.

@nightscape nightscape force-pushed the mcp branch 2 times, most recently from 0e7b2e8 to d59f655 Compare July 31, 2025 09:14
@zefhemel
Copy link
Collaborator

zefhemel commented Aug 2, 2025

I'm ok with building an MCP server for SB, but is there a way to do this separately and not built into the SB core?

@nightscape
Copy link
Contributor Author

You mean in a separate repository? That's basically what https://github.com/Ahmad-A0/silverbullet-mcp does.
I took the code and inlined it because it's much more convenient to have this integrated into a single server.

Maybe adding Universal Tool Calling Protocol protocol support would be a middle ground?
Then the silverbullet repo would just need to expose a file that describes the available REST interfaces for the tools and then one could use a UTCP-MCP translator to make these tools accessible to AI tools.

In order to be useful, one would need to create more REST routes for non-CRUD actions though, e.g. to

  • search notes
  • move note (otherwise the AI has to create a new note with the same content and delete the old one, which bears the risk of hallucinations during copying and wastes a lot of tokens)
  • Query metadata
  • Link graph analysis
  • Structured data queries

Would you be ok with adding such higher-level operations as REST endpoints?
Or maybe you have other ideas or plans of how to make AIs be able to interact efficiently with Silverbullet?

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.

2 participants