Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@local-context-mcpwhat is the current date and time?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
local-context-mcp
local-context-mcp は、MCP サーバ実装の習作として作ったミニプロジェクトです。
AIとユーザが同じ環境にいる前提で、現在の文脈を共有するために便利、かもしれない、機能を提供します。
機能説明
ローカルで動く MCP サーバ
AIとユーザが同じ場所にある前提で、現在日時を共有するための tool を提供
when-is-now
現在日時(ISO 8601形式)を返します
タイムゾーンはサーバ実行環境のローカルタイムゾーンに従う
詳細は
docs/tools/when-is-now.mdを参照
開発者向け
詳細は package.json や AGENTS.md を参照。 以下は一般向け機能ではなく、開発やテストのための tools
dev-helloworld
メッセージ
hello worldを返すだけ
dev-error-test
結合テスト用の tool
MCP の tool error result を返す挙動を確認
詳細は
docs/tools/dev-error-test.mdを参照
LM Studio から Docker で使う
詳細仕様は docs/docker.md を参照。
事前準備
Docker イメージをビルドする
npm run docker:build設定例
LM Studio の MCP サーバ設定に以下を追加する
when-is-nowはサーバ実行環境のローカルタイムゾーンを返すため、TZは明示する
{
"mcpServers": {
"local-context": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TZ=Asia/Tokyo",
"obaratch/local-context-mcp-server"
]
}
}
}確認
接続後に
tools/listで以下のツールが見えることwhen-is-nowdev-helloworlddev-error-test
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.