microsoft / microsoft/vscode-azurefunctions

Errors appear in index.ts after creating a TypeScript Self-Hosted MCP Server project

Open
#4,802 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI
Dominant language
TypeScript
Stars
319
Forks
158
Avg merge
2d 13h
Merged PRs (30d)
4

Description

OS: Win 11
Build Version: 1.19.3-alpha.0

Repro Steps:

  1. F1-> Azure Functions: Create New Project->Select a folder->Choose Self-Hosted MCP Server as the project type
  2. Select TypeScript as the language.
  3. Complete the wizard without modifying any files
  4. Observe the editor after project creation

Expect:
Project should scaffold without errors. No red squiggles in index.ts

Actual:
Multiple TypeScript errors appear in index.ts
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through the Azure Functions project-creation wizard using the TypeScript Self-Hosted MCP Server option, then inspect the red squiggles in the generated index.ts. Identify why the scaffold produces those errors and verify that a newly created project opens without TypeScript errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.