Studio MCP

Studio MCP

Studio MCP transforms any CLI command into an AI tool by using a simple template syntax to define input schemas and arguments. It enables AI agents like Claude and Cursor to execute local scripts and system commands through a dynamically generated Model Context Protocol server.

Category
访问服务器

README

Studio MCP

Make any CLI into an AI tool with studio MCP server.

Bright Studio Apt – Just enough, nothing more – $0/mo OBO.

Text 404 for more details!

What's Included?

studio is the simplest possible way to add CLI tools that your AI Agent can use right now. Built on the Model Context Protocol, studio spawns a single tool mcp server with your command.

The tool turns everything after studio command into an MCP tool that can be called by Cursor, Claude, etc.

studio is great for patching CLIs into Claude, debugging MCPs or providing custom scripts to your LLM without having to deal with MCP.

It uses a very simple Mustache-like template syntax to provide inputs and descriptions telling the LLM how to use your command.

npx -y @studio-mcp/studio command "{ required_argument # Description of argument }" "[optional_args... # any array of arguments]"

studio turns this into an input schema for the MCP tool so that tool calls know what to send:

{
  "type": "object",
  "properties": {
    "required_argument": {
      "type": "string",
      "description": "Description of argument"
    },
    "optional_args": {
      "type": "array",
      "items": { "type": "string" },
      "description": "any array of arguments"
    }
  },
  "required": ["required_argument"]
}

You can run almost any command, but you might need to put the full path for scripts or commands installed via other package managers. Just run which cmd to find it's full path.

Since you're just renting the place, please be a good tenant and don't rm -rf anything.

Move-In

These install instructions are like my lease agreement: full of gotchas. Have your lawyer read it over. (You do have a lawyer right?)

You can install to your system with npm or use npx directly.

npm install -g @studio-mcp/studio

Unpack (it's an apartment metaphor)

Most MCPs don't run in your shell environment 😭 You'll probably need to add the full path somewhere.

We'll use the MacOS say command as an example command. If you're not on a Mac, use echo (it's worse than useless, but it's easy to understand).

Claude Desktop

Go to the Claude Desktop settings and click Developer > Edit Config. It should open your Claude Desktop MCP configuration. (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

{
  "mcpServers": {
    "say": {
      "command": "npx",
      "args": [
        "-y",
        "@studio-mcp/studio",
        "say",
        "-v",
        "siri",
        "{speech # A concise message to say outloud}"
      ]
    }
  }
}

Cursor

Add to your ~/.cursor/mcp.json (in your home or project directory) or go to Tools section of the Cursor UI.

Note: A bug in Cursor breaks args with spaces.

{
  "mcpServers": {
    "say": {
      "command": "npx",
      "args": [
        "-y",
        "@studio-mcp/studio",
        "say",
        "-v",
        "siri",
        "{speech#say_outloud}"
      ]
    }
  }
}

VSCode

It's a lot of the same here. Don't get confused betwee studio and stdio (that's how I got the name).

{
  "mcp": {
    "servers": {
      "echo": {
        "type": "stdio",
        "command": "npx",

        "args": [
          "-y",
          "@studio-mcp/studio",
          "echo",
          "{text#What do you want to say?}"
        ]
      }
    }
  }
}

Template Syntax

Studio uses templates to keep your studio tidy.

studio say -v "{voice# Choose your Mac say voice}" "[args...#Any additional args]"

This creates a Studio server with two arguments: voice and args. Everything after the # will be used as the description for the LLM to understand.

Studio templates are a modified mustache format with descriptions: {name # description} but they also add shell like optional [--flag] booleans, [optional # an optional string] and [args... # array with 0 or more strings] for additional args:

  • {name}: Required string argument
  • [name]: Optional string argument
  • [name...]: Optional array argument (spreads as multiple command line args)
  • [--flag]: Optional boolean named flag that prints --flag only when true.
  • {name...}: Required array (1 or more arguments required).

Inside a tag, there is a name and description:

  • name: The argument name that will be shown in the MCP tool schema. Only letter numbers and underscores (dashes and underscores are interchangeable, case-insensitive).
  • description: A description of what the argument should contain. Reads everything after the # to the end of the template tag.

Note: Double curly braces {{name}} are still supported for backward compatibility, but single braces {name} are preferred and used throughout the docs.

What about {cool_template_feature: string /[A-Z]+/ # Fancy tags}?

This is a simple studio, not one of those fancy 1 bedroom flats.

Maybe the landlord will get around to it at some point (but your rent will go up).

Utilities Included

To build and test locally:

make
make test
studio echo "{text # what you want said to you}"

Did something break?

The landlord definitely takes care of the place...

  • more than none tests
  • files! lots of 'em!
  • maybe even some test coverage
  • you still need Proof of Renters Insurance

Uncovered portions are tenant's responsibility. (no one appreciates how hard it is for us landlords)

Home Is Where You Make It

This is your studio too. Bugs, bedbugs, features, ideas? Swing by the repo during open-house:

🏠 https://github.com/studio-mcp/studio

Lease Terms: MIT

Move in under standard terms, no fine print. Full text here: MIT License.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选