A super simple Starter to build your own MCP Server
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add starter-project -- node ./bin/cli.mjs --http --port 4200~/.codex/config.toml
[mcp_servers.starter-project]
command = "node"
args = ["./bin/cli.mjs", "--http", "--port", "4200"]
# codex mcp add starter-project -- node ./bin/cli.mjs --http --port 4200~/.cursor/mcp.json
{
"mcpServers": {
"starter-project": {
"command": "node",
"args": [
"./bin/cli.mjs",
"--http",
"--port",
"4200"
]
}
}
}.vscode/mcp.json
{
"servers": {
"starter-project": {
"type": "stdio",
"command": "node",
"args": [
"./bin/cli.mjs",
"--http",
"--port",
"4200"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"starter-project": {
"command": "node",
"args": [
"./bin/cli.mjs",
"--http",
"--port",
"4200"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"starter-project": {
"command": "node",
"args": [
"./bin/cli.mjs",
"--http",
"--port",
"4200"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"starter-project": {
"command": "node",
"args": [
"./bin/cli.mjs",
"--http",
"--port",
"4200"
]
}
}
}