Skip to content
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 client implementation #1561

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

This PR implements a Model Context Protocol (MCP) client for Onlook based on the MCP client development guide.

Features

  • Core MCP client implementation with transport layer
  • Capability management for tools, resources, prompts, and roots
  • Context formatting and management for LLM consumption
  • Utility functions for validation, error handling, and logging
  • Tests for the MCP client
  • Example usage

Implementation Details

The implementation follows the core architecture described in the guide, with a focus on:

  • Type-safe client implementation
  • Modular architecture
  • Comprehensive error handling
  • Flexible transport mechanisms

Link to Devin run: https://app.devin.ai/sessions/3c47c17ab061448f8efecb3bb9af5b6f
Requested by: Slack user in #devin-requests

- Implement Model Context Protocol client based on the development guide
- Add client, transport, and capability management
- Add context formatting and management
- Add utility functions for validation, error handling, and logging
- Add tests for the MCP client
- Add example usage

Co-Authored-By: [email protected] <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Contributor Author

Closing due to inactivity for more than 7 days.

@Kitenite Kitenite reopened this Mar 16, 2025
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.

1 participant