Ownership MCP Server Extension
This VS Code extension automatically configures the Ownership MCP Server for use with Model Context Protocol (MCP) in VS Code.
Features
- One-click setup: Automatically configures MCP server in VS Code settings
- Remote server: Connects to hosted MCP server for area ownership data
- Area ownership data: Access Microsoft area ownership information
- Service mapping: Map areas to services and manage ownership
Installation
- Install the extension from the VS Code marketplace
- The extension will automatically configure the MCP server
- Start using MCP tools in VS Code chat
Configuration
The extension provides the following setting:
Once configured, you'll have access to these MCP tools:
- GetAreas: Get areas for specified users
- GetAreaById: Get specific area by organization and area ID
- GetAreaService: Get areas for a service
- GetAreaOwnership: Get owners for specified area paths
- GetFileOwnership: Get file ownership information
- UnassignAreas: Unassign owners and services from an area path
- MapAreaAndService: Map area to a different service
Usage
After installation, use VS Code's chat feature and reference the ownership tools:
@workspace What areas does john.doe own?
@workspace Get area 145411 in eswm organization
Commands
Ownership MCP: Setup Server - Manually setup/reconfigure the MCP server
Requirements
- VS Code 1.74.0 or later
- MCP support in VS Code (GitHub Copilot Chat or similar)
Development
To develop this extension locally:
- Clone the repository
- Run
npm install
- Press F5 to launch a new Extension Development Host
- Test the extension in the new VS Code window
Support
For issues and questions, please refer to the project repository.
| |