Aspose.Total for .NET MCP Server
One engine, one endpoint, for the Aspose.Words for .NET and Aspose.TeX for .NET documentation: ask both at once or pick a product, and use each product's own route when you only need one. This deployment covers these two products only, not every Aspose.Total component.
How it works
- The server is the Aspose Context Engine with the Words and TeX plugins registered. It indexes each product's documentation and API reference, and your AI client reads from those indexes.
- Your client calls 9 read-only tools: search the guides, look up an exact signature, list a type's members, and list breaking changes and release features. Nothing is written and no files are touched.
- One endpoint serves aspose.words, aspose.tex. Leave product_id out to ask every member, or set it to ask one. Each member also keeps its own route on the same server.
Routes served by this one engine:
/total/net/mcp/v1/streamable-http/words/net/mcp/v1/streamable-http(aspose.words)/tex/net/mcp/v1/streamable-http(aspose.tex)
Host Aspose.Total for .NET yourself
No hosted endpoint is provided. You run the engine, its databases and the ingestion step, so plan for a developer machine or a server, not a one-line install.
Before you start
- Git and Python 3.12 or newer.
- PostgreSQL, Valkey, RabbitMQ, Qdrant and OpenSearch. The engine's make infra-up starts development copies in Docker; read its environment and ports first so they do not clash with services you already run.
- An OpenAI-compatible embeddings endpoint, its API key and a model name.
- On Windows, run every command in WSL 2 (Ubuntu): the helper scripts are POSIX shell scripts. Docker Desktop can provide the services.
1. Get the code and set it up
Do not clone recursively: the engine carries historical documentation submodules this deployment does not need. Setup installs the engine and plugin interpreters and verifies registration. It downloads no documentation and publishes nothing.
git clone https://github.com/aspose-total-mcp/net-server.git cd net-server ./scripts/setup.sh
2. Start the services and configure the engine
Copy engine/.env.example to engine/.env.local and set the values below. make infra-up starts the five services with its own example credentials, so make the connection settings match them (or the credentials you chose). Keep real secrets out of git.
cp engine/.env.example engine/.env.local make -C engine infra-up
| Setting | What it does | Example |
|---|---|---|
POSTGRES_DSN | PostgreSQL connection. It also holds the API-reference symbol store. | postgresql+psycopg://adcs:CHANGE_ME@127.0.0.1:5432/adcs |
REDIS_URL | Valkey (Redis-compatible) connection. | redis://127.0.0.1:6379/0 |
RABBITMQ_URL | RabbitMQ connection, used by the worker for queued ingestion. | amqp://adcs:CHANGE_ME@127.0.0.1:5672// |
QDRANT_URL | Qdrant, the vector store. | http://127.0.0.1:6333 |
OPENSEARCH_URL | OpenSearch, the lexical index. | http://127.0.0.1:9200 |
ADCS_PERSISTENCE_BACKEND | Where the engine keeps its records. | postgres |
ADCS_RETRIEVAL_BACKEND | How retrieval is served. | qdrant_opensearch |
APIREF_STRUCTURED_STORE_ENABLED | Turns on the four exact-symbol tools (aspose_lookup, get_symbol, list_members, search_symbols). Without it they return an error. | true |
ADCS_API_KEY | Key for the engine's admin API. Generate a random value. | CHANGE_ME |
ADCS_HASH_SECRET | Keys the hash of client IP addresses in logs. The engine warns when it is unset, and reads it from the environment of the process that starts the server, so export it there. | CHANGE_ME |
ADCS_EMBEDDING_BACKEND | The embeddings provider type. | openai_compatible |
ADCS_EMBEDDING_API_URL | Base URL of an OpenAI-compatible embeddings API. | https://embeddings.example.com/v1 |
ADCS_EMBEDDING_API_KEY | That API's key. | YOUR_API_KEY |
ADCS_EMBEDDING_MODEL | The embedding model. Keep it fixed after ingestion: changing it means re-indexing. | your-embedding-model |
3. Fetch the documentation sources
Shallow, sparse clones of the documentation and API-reference repositories. Keep the working trees clean.
mkdir -p workspaces/words/sources workspaces/tex/sources git clone --filter=blob:none --sparse --branch master https://github.com/aspose-words-mcp/docs.git workspaces/words/sources/documentation-current git -C workspaces/words/sources/documentation-current sparse-checkout set en/net git clone --filter=blob:none --sparse --branch main https://github.com/aspose-words-mcp/reference.git workspaces/words/sources/api-reference git -C workspaces/words/sources/api-reference sparse-checkout set english/net git clone --filter=blob:none --sparse --branch main https://github.com/aspose-tex-mcp/docs.git workspaces/tex/sources/documentation git -C workspaces/tex/sources/documentation sparse-checkout set en/net git clone --filter=blob:none --sparse --branch master https://github.com/aspose-tex-mcp/reference.git workspaces/tex/sources/api-reference git -C workspaces/tex/sources/api-reference sparse-checkout set english/net
4. Prepare the code-example cache
This downloads the code examples the documentation references. It is a network step: run it once per cache, and never concurrently.
PYTHONPATH=plugins/words-net/src plugins/words-net/.venv/bin/python -m adcs_words_net.gist_examples --source-root workspaces/words/sources/documentation-current/en/net --cache plugins/words-net/sources/gist-examples.json PYTHONPATH=plugins/tex-net/src plugins/tex-net/.venv/bin/python -m adcs_tex_net.gist_examples --source-root workspaces/tex/sources/documentation/en/net --cache plugins/tex-net/sources/gist-examples.json
5. Validate, then publish the index
Validation checks extraction and publishes nothing. Review it, then publish. Publishing embeds the content, so it calls your embeddings endpoint and takes a while.
# validate: checks extraction, publishes nothing ./scripts/ingest.sh words --source-kind both ./scripts/ingest.sh tex --source-kind both # publish: embeds the content into the index ./scripts/ingest.sh words --source-kind both --publish ./scripts/ingest.sh tex --source-kind both --publish
6. Run the server
Always use the run-engine.sh wrapper, which selects this deployment's plugin catalog. The worker is only needed for queued ingestion (--enqueue).
./scripts/run-engine.sh -m uvicorn adcs.api.main:app --host 127.0.0.1 --port 8080 # separate terminal, only for queued ingestion ./scripts/run-engine.sh -m celery -A adcs.worker.celery_app:celery_app worker --loglevel=info
7. Check it works
A running process and a successful initialize do not prove the index has content. Call a tool and look at the citations it returns.
curl http://127.0.0.1:8080/healthz
Connect your AI client to Aspose.Total for .NET
The address below is the local one from the steps above. Use your own host in its place, with TLS and authentication set up to match your engine settings; these examples supply no credentials.
claude mcp add --transport http total-net http://127.0.0.1:8080/total/net/mcp/v1/streamable-http
{
"servers": {
"total-net": {
"type": "http",
"url": "http://127.0.0.1:8080/total/net/mcp/v1/streamable-http"
}
}
}{
"mcpServers": {
"total-net": {
"url": "http://127.0.0.1:8080/total/net/mcp/v1/streamable-http"
}
}
}Example prompts
- Using the Aspose.Total for .NET MCP server, compare how Aspose.Words and Aspose.TeX for .NET convert a document to PDF.
- Ask only Aspose.TeX for .NET: which class holds the options for a TeX conversion?
- Ask only Aspose.Words for .NET: what is the exact signature of Document.Save for saving to a file?
Available tools (9)
Every tool this server exposes, read from the running server's own tool list. The language is fixed to .NET; product_id is optional and takes the products listed here.
| Tool | Description | Parameters |
|---|---|---|
resolve_product |
List this endpoint's allowed products and fixed .NET language. Select product_id to return one product's scope. Optional query text does not change the allowed products. Read-only |
query: string, product_id: string (one of aspose.words, aspose.tex)
|
| prompt: which products does the aspose total net mcp server cover? | ||
| prompt: resolve the product for the query 'latex' using the aspose total net mcp server, product aspose.tex | ||
query_docs |
query_docs for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
query: string (required), product_id: string (one of aspose.words, aspose.tex)
|
| prompt: search the docs of both products for how to convert a document to PDF using the aspose total net mcp server | ||
| prompt: search only aspose.tex for how to convert a LaTeX document to PDF using the aspose total net mcp server | ||
get_symbol_doc |
get_symbol_doc for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), symbol_fqn: string (required)
|
| prompt: get the documentation for Aspose.Words.Document.Save from aspose.words using the aspose total net mcp server | ||
| prompt: get the documentation for Aspose.TeX.TeXOptions using the aspose total net mcp server | ||
list_breaking_changes |
list_breaking_changes for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), from_version: string (required), to_version: string (required)
|
| prompt: list the breaking changes between 25.10 and 26.10 for aspose.words using the aspose total net mcp server | ||
list_latest_release_features |
list_latest_release_features for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), version: string, top_k: integer
|
| prompt: list the new features in the latest release of both products using the aspose total net mcp server | ||
| prompt: list the top 5 new features of latest-stable for aspose.words using the aspose total net mcp server | ||
aspose_lookup |
aspose_lookup for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
query: string (required), product_id: string (one of aspose.words, aspose.tex), version: string, limit: integer
|
| prompt: look up the class for mail merge in aspose.words using the aspose total net mcp server | ||
| prompt: look up PdfDevice in latest-stable and show up to 5 matches using the aspose total net mcp server | ||
get_symbol |
get_symbol for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), version: string, symbol_fqn: string (required)
|
| prompt: get every overload of Aspose.Words.Document.Save with its signature using the aspose total net mcp server | ||
| prompt: get Aspose.TeX.TeXOptions for latest-stable from aspose.tex using the aspose total net mcp server | ||
list_members |
list_members for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), version: string, parent_fqn: string (required)
|
| prompt: list the members of Aspose.Words.Document using the aspose total net mcp server | ||
| prompt: list the members of Aspose.TeX.TeXOptions for latest-stable from aspose.tex using the aspose total net mcp server | ||
search_symbols |
search_symbols for Aspose.Total for .NET: Aspose.Words for .NET, Aspose.TeX for .NET. Omit product_id to query all members: results_by_product contains one product_id and result (or not_found) per product. Limits and pagination apply per product. Select product_id for the normal single-product response. Read-only |
product_id: string (one of aspose.words, aspose.tex), version: string, query: string (required), limit: integer
|
| prompt: search both products' APIs for symbols about saving as pdf using the aspose total net mcp server | ||
| prompt: search the latest-stable aspose.words API for 'save as pdf' and show the top 5 using the aspose total net mcp server | ||
Source code and components
Pinned to exact commits, because these repositories publish no release tags.
| Component | Repository | Commit |
|---|---|---|
| Deployment (this server) | aspose-total-mcp/net-server | 39a726d |
| Context engine | aspose-core-mcp/context-engine | bc82ec3 |
| words-net plugin | aspose-words-mcp/net-plugin | 336eee1 |
| tex-net plugin | aspose-tex-mcp/net-plugin | 4b610c3 |
Documentation sources it indexes
| Repository | Branch | Folder |
|---|---|---|
| aspose-words-mcp/docs | master | en/net |
| aspose-words-mcp/reference | main | english/net |
| aspose-tex-mcp/docs | main | en/net |
| aspose-tex-mcp/reference | master | english/net |
Good to know
- The deployment bundles no indexed documentation and no hosted endpoint. Until you ingest, the tools have nothing to return.
- The steps above index one documentation version, latest-stable, so list_breaking_changes returned no items when we tried it.
- The engine still defines routes for other products and for Total. This deployment does not remove them, so restrict the exposed paths at your ingress if you want only this one.
Observed when we called the tools on this pinned commit:
- With product_id left out, each product answers separately. A symbol that exists in only one product comes back as not_found for the other.
- get_symbol_doc needs a fully-qualified name such as Aspose.Words.Document.Save. A short name such as Document.Save was rejected, with a hint naming the full form.
- list_latest_release_features returned items for aspose.words and not_found for aspose.tex. For aspose.words the items differed from the ones Aspose.Words for .NET's own server returned for the same call (a different kind, and fewer of them); we did not find out why.
- Asking for a version other than latest-stable, such as 26.10, returned an error, because only latest-stable is indexed.