JF

jakevin/fastcontext-agent-tools

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 7 forks 品質 73 トレンド 14MIT

Microsoft FastContext リポジトリの探索のための MCP サーバーとコーデックス スキル

概要

Microsoft の FastContext を読み取り専用のリポジトリ探索サブエージェントとして使用するための MCP サーバーとコーデックス スキル。 FastContext は、コーディングエージェントの 1 つの狭い質問に答えます。 このタスクを解決する前に、主要なエージェントが検査するファイルとライン範囲はどれですか? このリポジトリは、完全な統合を提供します。 - fastcontext-mcp: Microsoft FastContext をピン留めされたランタイム依存としてインストールする Python stdio MCP サーバー。 - スキル/fastcontext-explorer:リポジトリ探索を委任する際にエージェントを教えるコーデックススキル。 - 英語、繁体字、日本語でのMCP設定ガイド。 モデルの重みを束ねたり、推論を実行したり、リポジトリを変更したりしません。 MCP サーバは、同じ Python 環境でバンドルされた fastcontext.cli モジュールを実行し、メインエージェントが検証する候補のファイルラインの引用を返します。 https://github.com/Jakevin/fastcontext-agent-tools;からFastContext Agent Toolsをインストールします。パッケージのインストールにはMicrosoft FastContextが含まれます.

概要(AI 翻訳)

MicrosoftのFastContextを読み取り専用として使用するためのMCPサーバーとCodexスキル リポジトリの調査の補助金。

FastContext は、コーディングエージェントの 1 つの狭い質問に答えます。

このタスクを解決する前に、どのファイルとライン範囲が主要なエージェント検査をすべきですか?

このリポジトリは、完全な統合を提供します。

  • [fastcontext-mcp:Microsoft FastContextをピン留めされたランタイム依存としてインストールするPython stdio MCPサーバー。
  • [skills/fastcontext-explorer:リポジトリ探索を委任する際にエージェントを教えるコーデックススキル。
  • 英語、繁体字、日本語でのMCP設定ガイド。

モデルの重みを束ねたり、推論を実行したり、リポジトリを変更したりしません。 MCPの特長 サーバは同じPython環境のbundled fastcontext.cli モジュールを実行します メインエージェントの候補のファイルライン引用を検証します。

##ワンラインLMエージェントは、プロンプトをインストールします

LLM の代理店に尋ねて下さい:

https://github.com/Jakevin/fastcontext-agent-toolsからFastContext Agent Toolsをインストールします。パッケージのインストールにはMicrosoft FastContextが含まれています.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

FastContext Agent Tools

MCP server and Codex skill for using Microsoft’s FastContext as a read-only repository exploration subagent.

FastContext answers one narrow question for a coding agent:

Which files and line ranges should the main agent inspect before solving this task?

This repository provides the complete integration:

  • fastcontext-mcp: a Python stdio MCP server that installs Microsoft FastContext as a pinned runtime dependency.
  • skills/fastcontext-explorer: a Codex skill that teaches an agent when to delegate repository exploration.
  • MCP setup guides in English, Traditional Chinese, and Japanese.

It does not bundle model weights, run inference, or modify repositories. The MCP server runs the bundled fastcontext.cli module in the same Python environment and returns candidate file-line citations for the main agent to verify.

One-Line LLM Agent Install Prompt

Ask an LLM agent:

Install FastContext Agent Tools from https://github.com/Jakevin/fastcontext-agent-tools; its package installation includes Microsoft FastContext. Configure python -m fastcontext_mcp as a stdio MCP server with BASE_URL, MODEL, API_KEY, and FASTCONTEXT_ALLOWED_ROOTS, then enable skills/fastcontext-explorer.

Direct install command for Codex-style local skills:

git clone https://github.com/Jakevin/fastcontext-agent-tools && cd fastcontext-agent-tools && python -m pip install -e . && mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills" && ln -sfn "$(pwd)/skills/fastcontext-explorer" "${CODEX_HOME:-$HOME/.codex}/skills/fastcontext-explorer"

Why This Exists

Microsoft FastContext separates repository exploration from code solving. The upstream project describes a dedicated explorer that uses read-only READ, GLOB, and GREP tools, issues parallel tool calls, and returns compact `` citations. Microsoft reports Mini-SWE-Agent integration gains of up to 5.5 score improvement and up to 60% main-agent token reduction.

Primary sources:

  • Microsoft FastContext:
  • Model card:
  • Paper:

Quick Install

git clone https://github.com/Jakevin/fastcontext-agent-tools
cd fastcontext-agent-tools
python -m pip install -e .
python -m fastcontext_mcp --print-health

If your Python scripts directory is on PATH, fastcontext-mcp --print-health works too.

Requirements

  • Python 3.12+.
  • An OpenAI-compatible endpoint serving a FastContext-compatible model.

Installing this package also installs Microsoft FastContext from the pinned official source revision. No separate FastContext checkout or CLI installation is required.

Endpoint environment:

export BASE_URL="http://127.0.0.1:30000/v1"
export MODEL="microsoft/FastContext-1.0-4B-SFT"
export API_KEY="your-api-key"
export FASTCONTEXT_ALLOWED_ROOTS="/path/to/repos"
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "fastcontext": { "command": "python", "args": ["-m", "fastcontext_mcp"], "env": { "BASE_URL": "http://127.0.0.1:30000/v1", "MODEL": "microsoft/FastContext-1.0-4B-SFT", "API_KEY": "your-api-key", "FASTCONTEXT_ALLOWED_ROOTS": "/path/to/repos" } } } }