Skip to content

Conversation

Copy link

Copilot AI commented Dec 1, 2025

Merges main branch into the MCP implementation PR, resolving 13 file conflicts. Also addresses reviewer feedback to rename MCP-specific types to avoid conflicts with Python's built-in types module.

Changes

  • New module mcp_types.py: Extracted MCP-specific types (ListToolsAction, CallToolAction, ListToolsObservation, CallToolObservation) from types.py into dedicated module
  • Updated imports: All references to MCP types now import from mcp_types instead of types
  • Merged from main:
    • snake_env environment
    • CodingActionCodeAction rename
    • PyPI workflow build path updates
    • uvicorn standard extras

Usage

# Before
from core.env_server.types import CallToolAction, ListToolsAction

# After  
from core.env_server.mcp_types import CallToolAction, ListToolsAction
from core.env_server.types import Action, Observation  # base types unchanged

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@meta-cla
Copy link

meta-cla bot commented Dec 1, 2025

Hi @copilot!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

…es to mcp_types.py

Co-authored-by: Darktex <890615+Darktex@users.noreply.github.com>
Copilot AI changed the title [WIP] Add basic local MCP server and client support Merge main and rename MCP types to mcp_types.py Dec 1, 2025
Copilot AI requested a review from Darktex December 1, 2025 22:44
Copilot finished work on behalf of Darktex December 1, 2025 22:44
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