Çeşitli dosya formatlarından metin, anahtar kelime ve dil bilgisi çıkarır ve RAG boru hatları için metin parçalama işlemi yapar.
Ayrıca bilinen adı IntelagentStudios/Intelagent-MCPs, @intelagent/mcp-file-processor
- Yıldızlar
- 0
- Araçlar
- 4
- İndirmeler, 30 gün
- 178
- En son sürüm
- 0.1.1
- Son commit
- 13 Kas 2026
- Lisans
- MIT
file-processor MCP nedir?
file-processor bir MCP sunucusudur. Çeşitli dosya formatlarından metin, anahtar kelime ve dil bilgisi çıkarır ve RAG boru hatları için metin parçalama işlemi yapar. 4 araç sunar; örneğin content, text, limit.
Özet, projenin README dosyasından oluşturuldu
file-processor MCP sunucusu hakkında
Bu sunucu, geliştiricilerin dokümanları retrieval-augmented generation boru hatlarına hazırlamasına olanak tanır. Çeşitli dosya formatlarını, kolayca indekslenebilir veya analiz edilebilir yapılandırılmış metin verilerine dönüştürmenin bir yolunu sunar. Kullanıcılar, extract_text ve chunk_text gibi araçları kullanarak PDF ve DOCX gibi ikili dosyaları veya Markdown ve CSV gibi metin tabanlı dosyaları, embedding modelleri için yönetilebilir segmentlere dönüştürebilir.
Node.js 20+ ile yerel olarak çalışan bu sunucu, çalışmak için API anahtarı veya harici hesap gerektirmez. npx kullanılarak Claude Desktop veya Claude Code içine entegre edilebilir. Sunucu, doğal dil ile TypeScript veya Python gibi programlama dillerini ayırt etmek için detect_language ve bir metin içindeki sık kullanılan terimleri belirlemek için extract_keywords gibi özelleşmiş yetenekler sunar. Akıcı bir iş akışı için process_file aracı; çıkarma, dil algılama, anahtar kelime sıralama ve metin parçalama işlemlerini tek bir komutta birleştirir.
Neler yapabilirsiniz
- 1RAG için metin hazırlamaEmbedding boru hatlarında geri çağırma doğruluğunu artırmak için büyük dokümanları örtüşen segmentlere bölün.
- 2Programlama dillerini tanımlamaBir dosyanın doğal dil mi yoksa Java veya Rust gibi belirli bir kod mu içerdiğini belirleyin.
- 3Doküman konularını özetlemeBelirli bir metinde bulunan en sık geçen anahtar kelimelerin sıralı bir listesini oluşturun.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
file-processor MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a eklefile-processor MCP'yi Claude Code içine yükleyin
$ claude mcp add mcp-file-processor -- npx -y @intelagent/mcp-file-processorfile-processor MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-file-processor": {
"command": "npx",
"args": [
"-y",
"@intelagent/mcp-file-processor"
]
}
}
}file-processor MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"mcp-file-processor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@intelagent/mcp-file-processor"
]
}
}
}file-processor MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"mcp-file-processor","type":"stdio","command":"npx","args":["-y","@intelagent/mcp-file-processor"]}'file-processor MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"mcp-file-processor": {
"command": "npx",
"args": [
"-y",
"@intelagent/mcp-file-processor"
]
}
}
}file-processor MCP'yi Codex içine yükleyin
$ codex mcp add mcp-file-processor -- npx -y @intelagent/mcp-file-processorfile-processor MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.mcp-file-processor] command = "npx" args = ["-y", "@intelagent/mcp-file-processor"]
file-processor MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user mcp-file-processor npx -- -y @intelagent/mcp-file-processorfile-processor MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"mcp-file-processor": {
"command": "npx",
"args": [
"-y",
"@intelagent/mcp-file-processor"
]
}
}
}file-processor MCP araçları 4
README dosyasından algılandıcontenttextlimitoverlap
| content | — | |
| text | — | |
| limit | — | |
| overlap | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirintelagentstudios/intelagent-mcps is public and reachablegithub.com/intelagentstudios/intelagent-mcps ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyor@intelagent/mcp-file-processor names intelagentstudios/intelagent-mcps as sourcenpmjs.com/package/@intelagent/mcp-file-processor ↗Geçti
- Derleme kökeni (Sigstore onayı)No build attestation published for this releaseKontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-11-09github.com/intelagentstudios/intelagent-mcps ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilNo popular package one edit away from @intelagent/mcp-file-processorGeçti
- Pakette veya bağımlılıklarında kritik uyarı yok125 resolved dependencies checked; no critical advisoryosv.dev ↗Geçti
- Modele yönelik gizli talimat yok4 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişNo tool named like delete, drop or execGeçti
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
@opafex/mcp-file-processor
MCP server for universal text extraction, keyword extraction, language detection, and text chunking — designed for RAG pipelines.
Supports PDF, DOCX, CSV, JSON, Markdown, HTML, and code files. Zero platform dependencies.
Installation
npm install @opafex/mcp-file-processor
Requires Node.js 20+.
Quick Start
Add to Claude Code / Claude Desktop
{
"mcpServers": {
"file-processor": {
"command": "npx",
"args": ["@opafex/mcp-file-processor"]
}
}
}
No API keys needed — everything runs locally.
Tools
extract_text
Extract text content from a file.
| Parameter | Type | Required | Description |
|---|---|---|---|
content |
string | Yes | File content — base64 for binary formats (PDF, DOCX), raw text for text formats |
fileType |
string | Yes | MIME type (e.g. "application/pdf") or extension (e.g. ".pdf", "pdf") |
{
"success": true,
"text": "Extracted text content here...",
"wordCount": 142,
"pageCount": 3,
"processingTimeMs": 45
}
extract_keywords
Extract ranked keywords from text. Filters stop words, sorted by frequency.
| Parameter | Type | Required | Description |
|---|---|---|---|
text |
string | Yes | Text to extract keywords from |
limit |
number | No | Max keywords to return (default: 20) |
{
"success": true,
"keywords": [
{ "word": "javascript", "frequency": 8 },
{ "word": "framework", "frequency": 4 },
{ "word": "react", "frequency": 3 }
],
"totalWords": 156
}
detect_language
Detect whether content is code, natural language, or mixed.
| Parameter | Type | Required | Description |
|---|---|---|---|
text |
string | Yes | Text to analyse |
fileName |
string | No | File name for extension-based detection (e.g. "app.ts") |
{
"success": true,
"contentType": "code",
"programmingLanguage": "typescript"
}
chunk_text
Split text into overlapping chunks for RAG/embedding pipelines.
| Parameter | Type | Required | Description |
|---|---|---|---|
text |
string | Yes | Text to chunk |
chunkSize |
number | No | Target chunk size in characters (default: 1000) |
overlap |
number | No | Overlap between chunks in characters (default: 200) |
{
"success": true,
"chunks": [
{ "index": 0, "text": "...", "startOffset": 0, "endOffset": 1000, "wordCount": 167 },
{ "index": 1, "text": "...", "startOffset": 800, "endOffset": 1800, "wordCount": 172 }
],
"totalChunks": 5,
"totalCharacters": 4200
}
process_file
All-in-one: extract text, detect content type, extract keywords, and chunk.
| Parameter | Type | Required | Description |
|---|---|---|---|
content |
string | Yes | File content (base64 or raw text) |
fileType |
string | Yes | MIME type or file extension |
chunkSize |
number | No | Chunk size in characters (default: 1000) |
chunkOverlap |
number | No | Overlap in characters (default: 200) |
keywordLimit |
number | No | Max keywords (default: 20) |
server_info (built-in)
Returns server metadata, registered tools, and resources.
Resources
| Resource | Description |
|---|---|
file-processor://supported-types |
Lists all supported MIME types and file extensions |
Supported Formats
| Format | Extension | Input |
|---|---|---|
.pdf |
base64 | |
| Word | .docx, .doc |
base64 |
| Plain text | .txt |
raw text |
| Markdown | .md |
raw text |
| CSV | .csv |
raw text |
| JSON | .json |
raw text |
| HTML | .html |
raw text |
| XML | .xml |
raw text |
| JavaScript | .js, .jsx, .mjs |
raw text |
| TypeScript | .ts, .tsx |
raw text |
| Python | .py |
raw text |
| Java | .java |
raw text |
| Go | .go |
raw text |
| Rust | .rs |
raw text |
| C/C++ | .c, .cpp, .h |
raw text |
Development
npm run build # Compile TypeScript
npm run dev # Run with tsx
npm test # Run tests
npm start # Run compiled server
Library Usage
import { FileProcessorService } from '@opafex/mcp-file-processor/service';
const service = new FileProcessorService();
const result = await service.processFile(
'Hello world, this is a document.',
'.txt',
500, // chunk size
100 // overlap
);
Contributing
Found a bug or have a feature request? Open an issue.
License
MIT — see LICENSE.
file-processor MCP soruları
file-processor MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add mcp-file-processor -- npx -y @intelagent/mcp-file-processor komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
file-processor MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
file-processor MCP hangi araçları sunar?
4 araç sunar; bunlar arasında content, text, limit, overlap yer alır.
Hangi dosya formatları destekleniyor?
Sunucu PDF, DOCX, CSV, JSON, Markdown, HTML, XML formatlarını ve JavaScript, TypeScript, Python, Java, Go, Rust ve C/C++ gibi çeşitli programlama dillerini destekler.
Bu sunucuyu kullanmak için bir API anahtarına ihtiyacım var mı?
Hayır, sunucu yerel olarak çalışır ve herhangi bir API anahtarı gerektirmez.
Sistem gereksinimleri nelerdir?
Node.js sürüm 20 veya üzerinin yüklü olması gerekir.
RAG boru hatları için kullanılabilir mi?
Evet, özellikle RAG ve embedding boru hatları için tasarlanmış, örtüşen segmentlere sahip metin parçalama araçları içerir.