-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: expose Claude MCP server #41
Conversation
Note: This is experimental. Not all tools are obviously working, but we will get there soon! |
Going to merge and ship it @okwasniewski, but let's do a CR anyways and we will do a follow-up on Monday if necessary! 🙏 |
import { Server } from '@modelcontextprotocol/sdk/server/index.js' | ||
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js' | ||
import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these imports need .js extensions?
const server = new Server( | ||
{ | ||
name: '@cali/mcp-server', | ||
version: '0.1.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe let's read this from package.json?
Fixes #33
Added Builder Bob to consumable package (for context, Bun doesn't produce declarations, and since it bundles everything into a single file, that becomes a challenge)
This PR adds experimental Model Context Protocol Server that can be used with Claude, Zed and other compatible environments.
This is just a first take, there are other features in MCP, including resources, prompts that are all useful and we will be exploring them later!
Going forward, we should unify Vercel AI SDK tools with this, potentially, moving entirely to MCP protocol and using that with Cali as MCP Client in Terminal.