Skip to content

Commit 1360431

Browse files
authored
Merge pull request #53 from vinayakmsft/users/vinayakjoshi/removeconsolelogs
Removing console logs and correcting the version number in index.ts
2 parents 8422b72 + 2877b03 commit 1360431

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ async function getAzureDevOpsClient() : Promise<azdev.WebApi> {
4040
}
4141

4242
async function main() {
43-
console.error("Starting Azure DevOps MCP Server...");
4443
const server = new McpServer({
4544
name: "Azure DevOps MCP Server",
46-
version: "1.0.0",
45+
version: packageVersion,
4746
});
4847

4948
configurePrompts(server);
@@ -55,9 +54,8 @@ async function main() {
5554
);
5655

5756
const transport = new StdioServerTransport();
58-
console.error("Connecting server to transport...");
57+
console.log("Azure DevOps MCP Server version : " + packageVersion);
5958
await server.connect(transport);
60-
console.error("Azure DevOps MCP Server running on stdio");
6159
}
6260

6361
main().catch((error) => {

0 commit comments

Comments
 (0)