Serveur MCP

Titan Frameworks (LangChain, LlamaIndex, Ollama, XRPL)

io.github.bebopp187-stack/titan-frameworks
Outils développeur Connaissance et documentation Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Reviews, diagnoses, rewrites, and documents current APIs and deprecated patterns for LangChain, LlamaIndex, Ollama, and XRPL.

diagnose_framework_error
Diagnose Framework Error
Match a stack trace or exception against known deprecated APIs for langchain, llamaindex, ollama, or xrpl and return the replacement plus a fix. Use only when you have an error_log; matched=false means no catalog hit — then search_ai_framework_docs with the failing symbol. Lint source before it crashes with review_framework_code. Not for happy-path syntax (fetch_latest_syntax). Paid tools/call: $0.001 USDC or 1000 drops XRP; read-only, does not execute code.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'error_log'], 'properties': {'error_log': {'type': 'string', 'minLength': 1, 'description': 'Raw traceback or exception text. Paste the error, not a question about it'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library that threw the error'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'matched', 'matches', 'hints'], 'properties': {'hints': {'type': 'array', 'items': {'type': 'string'}}, 'matched': {'type': 'boolean'}, 'matches': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'deprecated', 'replacement', 'confidence', 'reason', 'fix'], 'properties': {'id': {'type': 'string'}, 'fix': {'type': 'string'}, 'reason': {'type': 'string'}, 'snippet': {'type': 'string'}, 'confidence': {'type': 'number'}, 'deprecated': {'type': 'string'}, 'replacement': {'type': 'string'}}, 'additionalProperties': False}}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}}, 'additionalProperties': False}
draft_xrpl_intent_tx
Draft XRPL Intent Transaction
Draft a typed xrpl.js / xrpl-py skeleton for payment, trustline, rlusd, or channel, plus required fields and common tec/tem failure codes. Use when building an XRPL tx; never submits, signs, or moves funds. Prefer fetch_working_example for a full script and review_framework_code to lint Amount/address mistakes. Paid tools/call: $0.001 USDC or 1000 drops XRP.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['intent'], 'properties': {'intent': {'type': 'string', 'minLength': 1, 'description': 'payment, trustline, rlusd, or channel — what the transaction should do'}, 'language': {'type': 'string', 'description': 'typescript (default) or python'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['matched', 'intent', 'transactionType', 'language', 'requiredFields', 'failureCodes', 'notes', 'skeleton', 'submits', 'movesFunds', 'hints'], 'properties': {'hints': {'type': 'array', 'items': {'type': 'string'}}, 'notes': {'type': 'array', 'items': {'type': 'string'}}, 'intent': {'type': 'string'}, 'matched': {'type': 'boolean'}, 'submits': {'type': 'boolean', 'const': False}, 'language': {'type': 'string'}, 'skeleton': {'type': 'string'}, 'movesFunds': {'type': 'boolean', 'const': False}, 'failureCodes': {'type': 'array', 'items': {'type': 'string'}}, 'requiredFields': {'type': 'array', 'items': {'type': 'string'}}, 'transactionType': {'type': 'string'}}, 'additionalProperties': False}
fetch_latest_syntax
Fetch Latest Syntax
Curated working imports, snippets, and migration notes for one topic (agents, rag, wallet, payment, trustlines, …). Use when writing or migrating a fragment; unknown topics fall back to related doc chunks instead of failing. Prefer fetch_working_example for a complete runnable file, search_ai_framework_docs for open-ended lookup, and diagnose_framework_error for exceptions. Paid tools/call: $0.001 USDC or 1000 drops XRP; read-only catalog.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'topic'], 'properties': {'topic': {'type': 'string', 'minLength': 1, 'description': 'One topic word: agents, rag, chat, tools, streaming, wallet, payment, trustlines, channels, rlusd, hooks, or migration'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library the user is coding against'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'topic', 'versionNote', 'imports', 'snippets', 'migrationNotes', 'relatedDocs'], 'properties': {'topic': {'type': 'string'}, 'imports': {'type': 'array', 'items': {'type': 'string'}}, 'snippets': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'language', 'code'], 'properties': {'code': {'type': 'string'}, 'title': {'type': 'string'}, 'language': {'type': 'string'}}, 'additionalProperties': False}}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}, 'relatedDocs': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'url'], 'properties': {'url': {'type': 'string'}, 'title': {'type': 'string'}}, 'additionalProperties': False}}, 'versionNote': {'type': 'string'}, 'migrationNotes': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
fetch_working_example
Fetch Working Example
Fetch one complete runnable file (filename, install/run, source) for a goal such as agent, rag, chat, payment, or rlusd. Use when fetch_latest_syntax snippets are too small to execute. matched=false means no catalog example — then fetch_latest_syntax. Paid tools/call: $0.001 USDC or 1000 drops XRP; does not execute the example.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'goal'], 'properties': {'goal': {'type': 'string', 'minLength': 1, 'description': 'What to build: agent, rag, chat, lcel, payment, rlusd, trustline, …'}, 'runtime': {'type': 'string', 'description': 'openai, ollama, or xrpl-testnet. Omit to take the best match'}, 'language': {'type': 'string', 'description': 'python or typescript. Omit to take the best match'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library the example should use'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'matched', 'id', 'filename', 'language', 'runtime', 'versions', 'run', 'code', 'goals', 'hints'], 'properties': {'id': {'type': 'string'}, 'run': {'type': 'string'}, 'code': {'type': 'string'}, 'goals': {'type': 'array', 'items': {'type': 'string'}}, 'hints': {'type': 'array', 'items': {'type': 'string'}}, 'matched': {'type': 'boolean'}, 'runtime': {'type': 'string'}, 'filename': {'type': 'string'}, 'language': {'type': 'string'}, 'versions': {'type': 'array', 'items': {'type': 'string'}}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}}, 'additionalProperties': False}
list_known_deprecations
List Known Deprecations
Return the known-deprecated API catalog (id, old API, replacement, fix) for one framework or all four at once. Use when you want the full deprecation list without a stack trace or source snippet. Prefer diagnose_framework_error when you have an error_log and review_framework_code when you have code. Paid tools/call: $0.001 USDC or 1000 drops XRP; catalog-backed, does not execute code.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'framework': {'type': 'string', 'description': 'Optional. One of langchain, llamaindex, ollama, or xrpl. Omit to list every known deprecation'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'count', 'deprecations', 'hints'], 'properties': {'count': {'type': 'integer'}, 'hints': {'type': 'array', 'items': {'type': 'string'}}, 'framework': {'type': 'string'}, 'deprecations': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'framework', 'deprecated', 'replacement', 'reason', 'fix'], 'properties': {'id': {'type': 'string'}, 'fix': {'type': 'string'}, 'reason': {'type': 'string'}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}, 'deprecated': {'type': 'string'}, 'replacement': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
list_supported_frameworks
List Supported Frameworks
List the framework ids this server covers (langchain, llamaindex, ollama, xrpl) with display names, aliases, homepages, and catalog topics. Use when you do not know which framework string to pass. Free tools/call (no x402). Not a docs search (search_ai_framework_docs) and not a deprecation dump (list_known_deprecations). Catalog-backed.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['count', 'ids', 'frameworks'], 'properties': {'ids': {'type': 'array', 'items': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}}, 'count': {'type': 'integer'}, 'frameworks': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'displayName', 'homepage', 'aliases', 'topics'], 'properties': {'id': {'$ref': '#/properties/ids/items'}, 'topics': {'type': 'array', 'items': {'type': 'string'}}, 'aliases': {'type': 'array', 'items': {'type': 'string'}}, 'homepage': {'type': 'string'}, 'displayName': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
resolve_symbol
Resolve Symbol
Map an API name to the current package, install line, import, and call shape (ChatOpenAI, create_agent, VectorStoreIndex, xrpToDrops, …). Use when you know the symbol but not where it lives. Prefer search_ai_framework_docs for concepts and fetch_latest_syntax for topic snippets. Paid tools/call: $0.001 USDC or 1000 drops XRP; catalog-backed.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'symbol'], 'properties': {'symbol': {'type': 'string', 'minLength': 1, 'description': 'API name or import path, e.g. ChatOpenAI, ServiceContext, RippleAPI'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library that owns the symbol'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'matched', 'symbol', 'package', 'install', 'importLine', 'call', 'note', 'aliases', 'hints'], 'properties': {'call': {'type': 'string'}, 'note': {'type': 'string'}, 'hints': {'type': 'array', 'items': {'type': 'string'}}, 'symbol': {'type': 'string'}, 'aliases': {'type': 'array', 'items': {'type': 'string'}}, 'install': {'type': 'string'}, 'matched': {'type': 'boolean'}, 'package': {'type': 'string'}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}, 'importLine': {'type': 'string'}}, 'additionalProperties': False}
review_framework_code
Review Framework Code
Scan source against known dead APIs (LLMChain, initialize_agent, ServiceContext, ripple-lib, …) and return each hit with replacement plus a unified-diff hunk. Use before running agent-written code; diagnose_framework_error is for after a stack trace. Does not execute or submit. Paid tools/call: $0.001 USDC or 1000 drops XRP; catalog-backed, not LLM-invented.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'code'], 'properties': {'code': {'type': 'string', 'maxLength': 100000, 'minLength': 1, 'description': 'Source to lint before running. Not a stack trace (use diagnose_framework_error)'}, 'filename': {'type': 'string', 'maxLength': 120, 'description': 'Optional path used only in unified-diff headers'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library the snippet is written against'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'matched', 'issueCount', 'issues', 'hints'], 'properties': {'hints': {'type': 'array', 'items': {'type': 'string'}}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'deprecated', 'replacement', 'pattern', 'line', 'excerpt', 'reason', 'fix', 'hunk'], 'properties': {'id': {'type': 'string'}, 'fix': {'type': 'string'}, 'hunk': {'type': 'string'}, 'line': {'type': 'integer'}, 'reason': {'type': 'string'}, 'excerpt': {'type': 'string'}, 'pattern': {'type': 'string'}, 'deprecated': {'type': 'string'}, 'replacement': {'type': 'string'}}, 'additionalProperties': False}}, 'matched': {'type': 'boolean'}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}, 'issueCount': {'type': 'integer'}}, 'additionalProperties': False}
rewrite_framework_code
Rewrite Framework Code
Apply conservative catalog rewrites (imports/identifiers) to a snippet and return the patched file plus a full unified diff. Use when review_framework_code found hits and you want an applyable file. Leftover lists unsafe call-site transforms (e.g. LLMChain(...)) that stay for a human/agent. Does not execute or submit. Paid tools/call: $0.001 USDC or 1000 drops XRP.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'code'], 'properties': {'code': {'type': 'string', 'maxLength': 100000, 'minLength': 1, 'description': 'Source to lint before running. Not a stack trace (use diagnose_framework_error)'}, 'filename': {'type': 'string', 'maxLength': 120, 'description': 'Optional path used only in unified-diff headers'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library the snippet is written against'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'changed', 'filename', 'code', 'diff', 'applied', 'leftover', 'notes'], 'properties': {'code': {'type': 'string'}, 'diff': {'type': 'string'}, 'notes': {'type': 'array', 'items': {'type': 'string'}}, 'applied': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'from', 'to'], 'properties': {'id': {'type': 'string'}, 'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}}, 'changed': {'type': 'boolean'}, 'filename': {'type': 'string'}, 'leftover': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'deprecated', 'replacement', 'pattern', 'reason', 'fix'], 'properties': {'id': {'type': 'string'}, 'fix': {'type': 'string'}, 'reason': {'type': 'string'}, 'pattern': {'type': 'string'}, 'deprecated': {'type': 'string'}, 'replacement': {'type': 'string'}}, 'additionalProperties': False}}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}}, 'additionalProperties': False}
search_ai_framework_docs
Search AI Framework Docs
Keyword search over a local Markdown index for langchain, llamaindex, ollama, or xrpl; returns compact chunks and never live-crawls. Use for concepts, symbols, or questions; hitCount 0 means no match — shorten the query. Do not use for stack traces (diagnose_framework_error), import/package lookup (resolve_symbol), or copy-paste current syntax (fetch_latest_syntax). Paid tools/call: $0.001 USDC or 1000 drops XRP.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'query'], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': '2–8 keywords or an API symbol. Not a stack trace (use diagnose_framework_error)'}, 'framework': {'type': 'string', 'description': 'One of langchain, llamaindex, ollama, or xrpl — the library the user is coding against'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['framework', 'query', 'hitCount', 'hits'], 'properties': {'hits': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'title', 'url', 'score', 'headingPath', 'chunk'], 'properties': {'id': {'type': 'string'}, 'url': {'type': 'string'}, 'chunk': {'type': 'string'}, 'score': {'type': 'number'}, 'title': {'type': 'string'}, 'headingPath': {'type': 'string'}}, 'additionalProperties': False}}, 'query': {'type': 'string'}, 'hitCount': {'type': 'integer'}, 'framework': {'enum': ['langchain', 'llamaindex', 'ollama', 'xrpl'], 'type': 'string'}}, 'additionalProperties': False}
Ajouté
list_known_deprecations
17 September 2026 12:40
Ajouté
list_supported_frameworks
17 September 2026 12:40
Ajouté
draft_xrpl_intent_tx
17 September 2026 12:40
Ajouté
search_ai_framework_docs
17 September 2026 12:40
Ajouté
fetch_latest_syntax
17 September 2026 12:40
Ajouté
fetch_working_example
17 September 2026 12:40
Ajouté
resolve_symbol
17 September 2026 12:40
Ajouté
diagnose_framework_error
17 September 2026 12:40
Ajouté
rewrite_framework_code
17 September 2026 12:40
Ajouté
review_framework_code
17 September 2026 12:40