MCSMCP

v1.0.0Coding Agentsstable

Lab for creating an MCP Server and using it in Microsoft Copilot Studio.

mcsmcpmcpai-integration
Share:
339
Stars
0
Downloads
0
Weekly
0/5

What is MCSMCP?

MCSMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to lab for creating an mcp server and using it in microsoft copilot studio.

Lab for creating an MCP Server and using it in Microsoft Copilot Studio.

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Lab for creating an MCP Server and using it in Microsoft Cop

Use Cases

Create MCP servers for Copilot Studio.
Integrate with Microsoft AI.
Build custom Copilot extensions.
microsoft

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 17, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcsmcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCSMCP

MCSMCP is a hands-on lab and reference implementation for building MCP (Model Context Protocol) servers and connecting them to Microsoft Copilot Studio. It demonstrates how to create an MCP server that exposes custom tools, host it so Copilot Studio can reach it via URL, and integrate it into a Copilot Studio agent through the connector infrastructure. The lab uses a Jokes server as a concrete example but the patterns apply to any enterprise data source or API you want to surface to AI agents in Copilot Studio.

Prerequisites

  • Node.js and npm installed
  • A Microsoft Copilot Studio account with an active environment
  • A way to host the MCP server at a public HTTPS URL (e.g., Azure App Service, ngrok for local dev)
  • Basic familiarity with TypeScript and MCP server patterns
1

Clone the MCSMCP lab repository

Clone the Microsoft MCSMCP repository which contains the reference MCP server implementation and Copilot Studio integration instructions.

git clone https://github.com/microsoft/mcsmcp.git
cd mcsmcp
2

Install dependencies and build the server

Install npm dependencies and build the TypeScript MCP server. The default example implements a jokes server with get-chuck-joke and get-dad-joke tools.

npm install
npm run build
3

Start the MCP server locally

Start the MCP server on the default port 3000. For Copilot Studio to reach it during development, use a tunneling tool like ngrok to expose it at a public HTTPS URL.

npm run start
# In a second terminal, expose it publicly for Copilot Studio:
ngrok http 3000
4

Add the MCP server to Copilot Studio

In Microsoft Copilot Studio, navigate to the connections or tools section and add your MCP server using the public HTTPS URL. The URL format is https://your-domain/mcp.

5

Create a Copilot Studio agent that uses the MCP tools

Create or edit a Copilot Studio agent and enable the MCP server connection. The agent can now call your custom MCP tools (e.g., get-chuck-joke, get-dad-joke) to respond to user messages.

6

Deploy to production

For production use, deploy the MCP server to a stable host such as Azure App Service and update the MCP server URL in Copilot Studio to the production endpoint.

MCSMCP Examples

Client configuration (local MCP client testing)

Claude Desktop config entry for testing the MCSMCP server locally before deploying to Copilot Studio.

{
  "mcpServers": {
    "mcsmcp": {
      "command": "npx",
      "args": ["mcsmcp"]
    }
  }
}

Prompts to try

Example interactions with an agent built on the MCSMCP reference server.

- "Tell me a Chuck Norris joke"
- "Get me a dad joke from the Dev category"
- "What tools does this MCP server expose?"
- "Give me a programming-themed dad joke"

Troubleshooting MCSMCP

Copilot Studio cannot reach the MCP server URL

The MCP server must be accessible at a public HTTPS URL. During development, use ngrok ('ngrok http 3000') to create a tunnel. Ensure the URL ends with /mcp and that HTTPS is used — Copilot Studio does not accept plain HTTP endpoints.

Build fails with TypeScript compilation errors

Run 'npm install' to ensure all dependencies including TypeScript are installed. Then run 'npm run build' again. Check that your Node.js version is 18 or higher with 'node --version'.

MCP tools not appearing in Copilot Studio agent

After adding the MCP server URL in Copilot Studio, refresh the connection and check the tools list. Tools are discovered from the MCP server's tool manifest endpoint. Verify the server is running and returning valid tool definitions by testing it locally first.

Frequently Asked Questions about MCSMCP

What is MCSMCP?

MCSMCP is a Model Context Protocol (MCP) server that lab for creating an mcp server and using it in microsoft copilot studio. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCSMCP?

Follow the installation instructions on the MCSMCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCSMCP?

MCSMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCSMCP free to use?

Yes, MCSMCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcsmcp": { "command": "npx", "args": ["-y", "mcsmcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCSMCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides