- Home
- MCP servers
- Cline MCP Server Sample
Cline MCP Server Sample
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"hymnk-cline-mcp-server-sample": {
"command": "/root/.bun/bin/bun",
"args": [
"run",
"/workspace/mcp-server/index.ts"
]
}
}
}A Minimal MCP server lets you run a local microservice that communicates with an MCP client to perform specific actions. This setup enables rapid testing, integration, and automation from your development environment using Bun as the runtime and Cline in VSCode for management.
How to use
You run a local MCP server by configuring a server entry in your tooling that launches the Bun runtime to execute your MCP index script. Once the server is registered, you enable it in your MCP client environment and monitor its status from the client UI. Use the server to handle requests issued by your MCP client and return results or actions based on the script you provide.
How to install
Prerequisites: Bun runtime must be installed on your system. The project runs with Bun v1.2.5 and is initialized using Bun’s tooling.
Install project dependencies with Bun.
bun install
Run the MCP server entry using Bun to start the server script.
bun run index.ts
Additional configuration and notes
Configure the MCPServer in your environment so the client can discover and communicate with it. The example shows a local, self-contained setup that launches Bun with a script located at a specific path.
{
"mcpServers": {
"example-server": {
"command": "/root/.bun/bin/bun",
"args": ["run", "/workspace/mcp-server/index.ts"],
"env": {}
}
}
}
Within your editor, enable the MCPServer by refreshing the server list and verifying that the status shows as running. Open the command palette, run “Cline: Refresh MCP Servers,” and confirm the server appears in the status bar.