MCSMCP
Lab for creating an MCP Server and using it in Microsoft Copilot Studio.
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
Maintainer
Works with
Installation
Manual Installation
npx mcsmcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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 mcsmcpInstall 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 buildStart 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 3000Add 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.
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.
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.
MCSMCP Alternatives — Similar Coding Agents Servers
Looking for alternatives to MCSMCP? Here are other popular coding agents servers you can use with Claude, Cursor, and VS Code.
Dify
★ 142.2kProduction-ready platform for agentic workflow development.
Ruflo
★ 54.0k🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, self-learning swarm intelligence, RAG integrat
Goose
★ 45.7kan open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Antigravity Awesome Skills
★ 38.3kInstallable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
AgentScope
★ 25.5kBuild and run agents you can see, understand and trust.
Serena
★ 24.5kA coding agent toolkit that provides IDE-like semantic code retrieval and editing tools, enabling LLMs to efficiently navigate and modify codebases using symbol-level operations instead of basic file reading and string replacements.
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.
Set Up MCSMCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.