-
Notifications
You must be signed in to change notification settings - Fork 143
Add MCP integration and commands #18
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
Add MCP integration and commands #18
Conversation
ff7a403
to
3841dd3
Compare
|
||
export function MarkdownRenderer({ content }: { content: string }) { | ||
return <Markdown>{content}</Markdown>; | ||
// Simple text renderer to avoid ink-markdown compatibility issues |
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.
Out of curiosity, what compatibility issues were there? Markdown would be nice down the road
…tion add schema validation for resources, prompts, and roots update MCP service to include serverId for default resources add new MCP commands for resources, prompts, and roots implement MCP server transport for stdio communication update UI components to show additional MCP status information add interactive commands for MCP features document MCP features in MCP_FEATURES.md
3841dd3
to
3bcb04f
Compare
- Add prompts field to MCPServerStatus interface - Add prompts management to MCPManager and MCPClient - Update UI components to display prompt counts - Implement error handling for prompt operations
- Validate command existence before spawning stdio transport - Add detailed timeout error messages with actual timeout values - Improve connection logging with success/error emojis - Add test script for MCP connectivity testing - Disable mcp-hooks by default in config
add tools capability to MCP interface and implement tool listing and calling functionality add bash script to validate MCP server startup update stdio transport to handle tools requests and return proper capabilities
Hey @jasonkneen mind taking a look at the conflicts? |
Done! |
bug -- fixing |
…uctor Remove redundant GROK_TOOLS parameter in chat and chatStream calls Fix constructor by removing unnecessary super() call
* bump sdk version * fix security issues
* fix rendering issues in Ink * fix tool names
This has now been resolved @homanp |
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.
Great work, there are a lot files here that shouldn't be in this pr, please remove them.
Also it would be cool to have slash commands /mcp where it list popular mcp tools like github, linear, jira etc. and trigger auth etc.
wdyt?
.vercel/project.json
Outdated
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.
Please remove
69b33fb
to
e6e64ab
Compare
Great, I will do some cleaning up and testing and then merge, appreciate the effort! |
Big thanks for this, I made some changes and pushed in another branch. Closing this! |
Introduces Model Context Protocol (MCP) integration with configuration file support, new CLI commands for managing MCP servers, and updates to the agent to dynamically load and execute MCP tools. Updates documentation to describe MCP setup, configuration scopes, and usage. Adds example MCP config files and enhances UI/help output for MCP status and tools.
What does this PR do?
Describe your changes here.
Fixes #
Checklist