# Support for Language Model Tools?

**URL:** <https://forum.cursor.com/t/support-for-language-model-tools/152071>\
**Category:** Help\
**Tags:** mcp, extensions\
**Created:** [February 17, 2026, 6:53am UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071 "2026-02-17T06:53:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charlie\_Jonas](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlie_jonas/32/98140_2.png) [@Charlie\_Jonas](https://forum.cursor.com/u/Charlie_Jonas)\
**Post date:** [February 17, 2026, 6:53am UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/1 "2026-02-17T06:53:31Z")

</div>

Does cursor currently support language model tools? Or the MCP API as they’ve built it?

I have an extension that I’d like to expose tools for.

> **[Language Model Tool API](https://code.visualstudio.com/api/extension-guides/ai/tools)**
>
> A guide to creating a language model tool and how to implement tool calling in a chat extension

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 21, 2026, 8:41am UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/3 "2026-02-21T08:41:07Z")

</div>

Hey, thanks for the question.

Cursor doesn’t currently support the VS Code language model tools API `vscode.lm.registerTool` and related APIs. This has already been requested. See this thread for a detailed comparison: [Missing MCP Extension API](https://forum.cursor.com/t/missing-mcp-extension-api/146860)

There are two workarounds to expose tools from your extension:

1. **`cursor.mcp.registerServer`** : a Cursor-specific extension API that lets you programmatically register an MCP server from your extension. It’s more complex than `vscode.lm.registerTool` since you’ll need to set up a local MCP server, but it works.

2. **Standard MCP config** : you can package your tools as an MCP server that users configure via `mcp.json` or Cursor settings. Docs: [Model Context Protocol (MCP) | Cursor Docs](https://cursor.com/docs/context/mcp)

I’ll pass this along to the team.

---

<div class="post-metadata">

**Author:** ![Charlie\_Jonas](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlie_jonas/32/98140_2.png) [@Charlie\_Jonas](https://forum.cursor.com/u/Charlie_Jonas)\
**Post date:** [March 23, 2026, 3:15pm UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/4 "2026-03-23T15:15:24Z")

</div>

> [@deanrie](#):
>
> **`cursor.mcp.registerServer`** : a Cursor-specific extension API that lets you programmatically register an MCP server from your extension. It’s more complex than `vscode.lm.registerTool` since you’ll need to set up a local MCP server, but it works.

@deanrie does the first approach work if the MCP needs to access/share the process instance/memory of the extension? Also kinda a PITA for extension developers to have to manage two different implementations for exactly the same thing. This harms the ecosystem IMO.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 27, 2026, 8:48am UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/5 "2026-03-27T08:48:09Z")

</div>

If the MCP server is running as an in-process SSE server (Express inside the extension host), then yes, it will share memory with the extension because it’s running in the same Node.js process. But if you’re using the stdio transport, it’s a separate process, so you can’t have shared state.

About having two implementations, I totally agree, it’s inconvenient. The Radon IDE team already described this issue in detail here: [Missing MCP Extension API](https://forum.cursor.com/t/missing-mcp-extension-api/146860). It’s basically the same feedback. `vscode.lm.registerTool` is way simpler and cleaner than the Express plus MCP workaround.

---

<div class="post-metadata">

**Author:** ![xixixixxixi](https://avatars.discourse-cdn.com/v4/letter/x/22d042/32.png) [@xixixixxixi](https://forum.cursor.com/u/xixixixxixi)\
**Post date:** [July 13, 2026, 3:17am UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/9 "2026-07-13T03:17:20Z")

</div>

Hi, is there documentation for cursor.mcp.registerServer?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 31, 2026, 2:27pm UTC](https://forum.cursor.com/t/support-for-language-model-tools/152071/10 "2026-08-31T14:27:37Z")

</div>

Hey, yeah, the docs are here: [Extension API reference | Cursor Docs](https://cursor.com/docs/extension-api)

It covers the full API, `vscode.cursor.mcp.registerServer` and `unregisterServer`, the `StdioServerConfig` and `RemoteServerConfig` types, plus examples for HTTP/SSE, stdio, and Node.js servers. Note the full namespace name: `vscode.cursor.mcp.registerServer`.

Also on the same page there’s a type definitions block (`declare module "vscode"`) that you can add to your extension project to get type checking for these APIs.

Let me know if anything doesn’t work.
