typespec-mcp-todo
The TypeSpec based local TODO MCP Server is a server set up using the TypeSpec MCP Server Demo Script. It operates in GitHub Copilot Agent mode with the OpenAI GPT 4.1 model, offering capabilities such as managing a TODO list within a local environment.
TypeSpec based local TODO MCP Server
A TODO MCP server fully vibecoded using the TypeSpec MCP Server Demo Script in GitHub Copilot Agent mode with OpenAI GPT 4.1 model.
Prerequisites
- Install VS Code
- Install GitHub Copilot and GitHub Copilot Chat extensions
- Install NodeJS (needs v22+)
Setup Instructions
-
Clone the repository:
git clone https://github.com/achandmsft/typespec-mcp-todo.git
-
Install dependencies: Run the following command to install all required dependencies:
npm install
-
Build the project: Build the TypeSpec and TypeScript files using:
npm run build
-
Start the server: Start the MCP server with:
npm run mcp
-
Inspect the server (optional): Use the MCP Inspector to inspect the server:
npm run inspect
-
Use the server in VSCode with GitHub Copilot Agent Mode (optional): Go to .vscode/mcp.json. Click Start. Switch GitHub Copilot to Agent mode. Ask it to "list todos" which should now use a tool from this server:
{
"servers": {
/*Click Start here in VSCode*/
"Local TODO MCP Server": {
"command": "node",
"args": ["${workspaceFolder}/dist/src/mcp-server.js"]
}
}
}