Official CLI & MCP Server for FormLM — AI-powered forms, scored assessments and professional reports. Listed in the official MCP Registry as me.formlm/cli.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add formlm --env FORMLM_TOKEN='<FORMLM_TOKEN>' -- npx -y @formlm/cli~/.codex/config.toml
[mcp_servers.formlm]
command = "npx"
args = ["-y", "@formlm/cli"]
env = { FORMLM_TOKEN = "<FORMLM_TOKEN>" }
# codex mcp add formlm --env FORMLM_TOKEN='<FORMLM_TOKEN>' -- npx -y @formlm/cli~/.cursor/mcp.json
{
"mcpServers": {
"formlm": {
"command": "npx",
"args": [
"-y",
"@formlm/cli"
],
"env": {
"FORMLM_TOKEN": "<FORMLM_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"formlm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@formlm/cli"
],
"env": {
"FORMLM_TOKEN": "<FORMLM_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"formlm": {
"command": "npx",
"args": [
"-y",
"@formlm/cli"
],
"env": {
"FORMLM_TOKEN": "<FORMLM_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"formlm": {
"command": "npx",
"args": [
"-y",
"@formlm/cli"
],
"env": {
"FORMLM_TOKEN": "<FORMLM_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"formlm": {
"command": "npx",
"args": [
"-y",
"@formlm/cli"
],
"env": {
"FORMLM_TOKEN": "<FORMLM_TOKEN>"
}
}
}
}需要的环境变量
FORMLM_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。