TypeSpec based local TODO MCP Server
LocalAbout TypeSpec based local TODO MCP Server
TypeSpec based local TODO MCP Server is a locally run MCP server for TODO tasks, built with TypeSpec and TypeScript. It is intended for local use with VS Code and GitHub Copilot Agent mode.
Key features
- 01Local TODO MCP server
- 02Built with TypeSpec and TypeScript
- 03Node.js 22 or later
- 04Optional MCP Inspector inspection
Use cases
- 01Ask GitHub Copilot Agent mode to list TODOs
- 02Run a TODO server locally in VS Code
MCP support
Runs as a local MCP server that can be started from VS Code using the provided MCP configuration. The README demonstrates using its tool to list TODOs with GitHub Copilot Agent mode.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMETypeSpec 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"]
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.