Skip to content

feat: Implement MCP List Tools #9

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

Merged
merged 6 commits into from
May 26, 2025
Merged

Conversation

edenreich
Copy link
Collaborator

Summary

This Pull Request (PR) introduces a new function called list_tools to list available MCP tools. It also includes a refactor of the development environment setup and enables GitHub Copilot with an authentication provider.

Changes

  • refactor: Update dev environment
  • feat: Add MCP tools support with listing functionality
  • chore: Enable GitHub Copilot and set authentication provider

@edenreich edenreich requested a review from Copilot May 26, 2025 14:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces MCP tools support by adding a new function, list_tools, along with its corresponding response structures and tests. Additionally, the PR refactors the development environment configuration, updates the devcontainer setup, and enables GitHub Copilot with an authentication provider.

  • Added new MCP tool definitions and the list_tools API call with corresponding tests.
  • Updated provider handling by adding Deepseek and its associated conversion logic.
  • Modified devcontainer files: removed launch.json and .zshrc, updated Dockerfile and devcontainer.json for enhanced tooling and configuration.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/lib.rs Introduces MCP tool structures, list_tools function, and tests, including Deepseek provider support.
README.md Updates documentation to include MCP tool listing details.
.github/copilot-instructions.md Adds custom instructions for GitHub Copilot integration.
.devcontainer/launch.json Removed launch configuration for debugging.
.devcontainer/devcontainer.json Updates features, GitHub Copilot settings, and MCP server configuration.
.devcontainer/Dockerfile Upgrades TASK_VERSION, installs GitHub CLI, configures shell completions, and clones powerlevel10k.
.devcontainer/.zshrc Removed custom Zsh configuration file.
Comments suppressed due to low confidence (1)

.devcontainer/.zshrc:1

  • [nitpick] The removal of .devcontainer/.zshrc should be reviewed to ensure that all necessary shell customizations are now provided elsewhere (e.g., via Dockerfile modifications). Verify that this change does not affect developers relying on custom Zsh configurations.
# Entire file removed

USER vscode

# Use Powerlevel10k theme
RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /home/vscode/.powerlevel10k && \
Copy link
Preview

Copilot AI May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider pinning the powerlevel10k repository to a specific commit or tag to prevent potential breakage from upstream changes. This would improve the long-term stability of the development environment.

Suggested change
RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /home/vscode/.powerlevel10k && \
RUN git clone https://github.com/romkatv/powerlevel10k.git /home/vscode/.powerlevel10k && \
cd /home/vscode/.powerlevel10k && \
git checkout 1.18.0 && \

Copilot uses AI. Check for mistakes.

@edenreich edenreich merged commit 1f07d95 into main May 26, 2025
1 check passed
@edenreich edenreich deleted the feature/implement-mcp-list-tools branch May 26, 2025 14:35
github-actions bot pushed a commit that referenced this pull request May 26, 2025
## [0.10.0](0.9.2...0.10.0) (2025-05-26)

### ✨ Features

* Implement MCP List Tools ([#9](#9)) ([1f07d95](1f07d95))
Copy link

🎉 This PR is included in version 0.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant