The Model Context Protocol (MCP) gives a chat application a way to discover tools offered by another program. Adding an MCP server in LM Studio makes those tools available to a chat. The Time server provides a way to check that connection with a current-time tool.
LM Studio starts a local server from the executable path in mcp.json and communicates with it over standard input and output. LM Studio's MCP configuration also supports remote endpoints specified by URL. The Time entry requires the official mcp-server-time package installed in a local Python environment. On Linux and macOS, the mcp-server-time launcher is in that environment’s bin directory.
A local MCP server runs with the permissions of your user account and can access your files and network. Review the source and command before enabling any integration. In LM Studio, the Ask before running setting lets you approve individual tool calls when they arise.
Steps to add an MCP server in LM Studio:
- Open the right sidebar in an empty LM Studio chat.

- Select the hammer-shaped Program tab at the top of the sidebar.

- Click Install under Integrations.
If the Introducing: LM Link card covers Install, dismiss it with its close button.
- Choose Edit mcp.json from the Install menu.

- Acknowledge the MCP security warning with Got It.

- Close the right sidebar if it covers part of the mcp.json editor.

- Add the time entry inside the existing mcpServers object using your launcher’s absolute path in place of /path/to/time.
"time": { "command": "/path/to/time", "args": [] }Each server name inside mcpServers must be unique. Commas separate the new entry from any existing entries.
- Click Save in the mcp.json editor.
Saving reloads the MCP configuration. The MCP Server Added! notice names time.
- Reopen the right sidebar if you closed it for editing.

- Expand mcp/time under Integrations.
Enabling the integration lets LM Studio launch the executable under your account. The Ask setting requires approval before a tool runs.
- Turn on the switch for mcp/time.

- Return to the chat tab beside mcp.json.

- Confirm that get_current_time is checked under Tools for mcp/time in the chat's Program sidebar.
The tool list is available before you load a model. An empty list can mean the integration is off or the executable path is wrong.
Related: How to run a chat with a local model in LM Studio