Documentation MCP server

Aspose.Words for .NET MCP Server

.NETDocs + API referenceSelf-hosted aspose-words-net-mcp

Search the Aspose.Words for .NET guides and API reference, look up the exact signature of a class or method, and list breaking changes and release features, from any MCP-compatible AI client, served by a context engine you host yourself.

Reference

How it works

  • The server is the Aspose Context Engine with the Aspose.Words for .NET plugin registered. It indexes the product's documentation and API reference, and your AI client reads from that index.
  • 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.
  • The endpoint is fixed to one product and one SDK language, so a question cannot drift to another product.
Setup

Host Aspose.Words 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-words-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
SettingWhat it doesExample
POSTGRES_DSNPostgreSQL connection. It also holds the API-reference symbol store.postgresql+psycopg://adcs:CHANGE_ME@127.0.0.1:5432/adcs
REDIS_URLValkey (Redis-compatible) connection.redis://127.0.0.1:6379/0
RABBITMQ_URLRabbitMQ connection, used by the worker for queued ingestion.amqp://adcs:CHANGE_ME@127.0.0.1:5672//
QDRANT_URLQdrant, the vector store.http://127.0.0.1:6333
OPENSEARCH_URLOpenSearch, the lexical index.http://127.0.0.1:9200
ADCS_PERSISTENCE_BACKENDWhere the engine keeps its records.postgres
ADCS_RETRIEVAL_BACKENDHow retrieval is served.qdrant_opensearch
APIREF_STRUCTURED_STORE_ENABLEDTurns on the four exact-symbol tools (aspose_lookup, get_symbol, list_members, search_symbols). Without it they return an error.true
ADCS_API_KEYKey for the engine's admin API. Generate a random value.CHANGE_ME
ADCS_HASH_SECRETKeys 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_BACKENDThe embeddings provider type.openai_compatible
ADCS_EMBEDDING_API_URLBase URL of an OpenAI-compatible embeddings API.https://embeddings.example.com/v1
ADCS_EMBEDDING_API_KEYThat API's key.YOUR_API_KEY
ADCS_EMBEDDING_MODELThe 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 engine/sources
git clone --filter=blob:none --sparse --branch master https://github.com/aspose-words-mcp/docs.git engine/sources/documentation-current
git -C engine/sources/documentation-current sparse-checkout set en/net
git clone --filter=blob:none --sparse --branch main https://github.com/aspose-words-mcp/reference.git engine/sources/api-reference
git -C engine/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 engine/sources/documentation-current/en/net \
  --cache plugins/words-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 --source-kind docs
./scripts/ingest.sh --source-kind apiref

# publish: embeds the content into the index
./scripts/ingest.sh --source-kind docs --publish
./scripts/ingest.sh --source-kind apiref --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
Setup

Connect your AI client to Aspose.Words 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 words-net http://127.0.0.1:8080/words/net/mcp/v1/streamable-http
Try it

Example prompts

  • Using the Aspose.Words for .NET MCP server, show me how to convert a DOCX file to PDF and give me the exact Document.Save signature I should call.
  • Find out which Aspose.Words for .NET classes handle mail merge and list the members of the main one.
  • What changed in the latest Aspose.Words for .NET release that affects how I load documents?
Reference

Available tools (9)

Every tool this server exposes, read from the running server's own tool list. product_id and language are fixed by this endpoint, so they are not shown.

ToolDescriptionParameters
resolve_product Return this endpoint's fixed scope: Aspose.Words for .NET. Read-only query: string
prompt: which product and SDK language does the aspose words net mcp server cover?
prompt: resolve the product for the query 'convert docx to pdf' using the aspose words net mcp server
query_docs Aspose.Words for .NET only. Search Aspose documentation for guides, how-to articles, and API reference pages. Use this to understand how an API works before writing code. Make focused queries like 'create pivot table from data range' rather than broad queries like 'features'. Call MULTIPLE times for different aspects of your task. Read-only query: string (required)
prompt: search the docs for how to convert a DOCX file to PDF using the aspose words net mcp server
prompt: search the docs for mail merge with a data source using the aspose words net mcp server
get_symbol_doc Aspose.Words for .NET only. Look up the exact API signature, parameters, return type, and usage examples for a specific class or method. Use this to verify EVERY class/method you plan to use — do NOT guess signatures. Examples: 'BarcodeGenerator', 'RecognitionSettings', 'Document.Save', 'PivotTable.AddFieldToArea'. Read-only symbol_fqn: string (required)
prompt: get the documentation for Aspose.Words.Document.Save using the aspose words net mcp server
list_breaking_changes Aspose.Words for .NET only. List breaking API changes and deprecations between two product versions. Use when migrating code or targeting a specific version. Read-only from_version: string (required), to_version: string (required)
prompt: list the breaking changes between 25.10 and 26.10 using the aspose words net mcp server
list_latest_release_features Aspose.Words for .NET only. List new features, improvements, and migration hints from the latest (or specified) release of a product SDK. Read-only version: string, top_k: integer
prompt: list the new features in the latest release using the aspose words net mcp server
prompt: list the top 5 new features of latest-stable using the aspose words net mcp server
aspose_lookup Look up API symbols and signatures for Aspose.Words for .NET. Provide a natural-language query or dotted symbol name. Product and SDK language are fixed by this endpoint. Read-only query: string (required), version: string, limit: integer
prompt: look up the class for mail merge using the aspose words net mcp server
prompt: look up Document.Save in latest-stable and show up to 5 matches using the aspose words net mcp server
get_symbol Aspose.Words for .NET only. Exact API-reference symbol lookup from the structured symbol store (precise, non-vector). Returns ALL overloads of a fully-qualified member with signature, summary, parameters, returns, and examples. Use to verify the exact signature of a class/method before using it. member_fqn is dotted and case-insensitive, e.g. 'Aspose.Cells.Workbook.Save' or 'aspose.email.MapiMessage'. Read-only version: string, symbol_fqn: string (required)
prompt: get every overload of Aspose.Words.Document.Save with its signature using the aspose words net mcp server
prompt: get Aspose.Words.Document.Save for latest-stable using the aspose words net mcp server
list_members Aspose.Words for .NET only. List the direct members (methods, properties, fields, nested types) of a class or namespace from the structured symbol store. Use to discover what operations a type offers. parent_fqn is the dotted class/namespace, e.g. 'Aspose.Cells.Workbook' or 'aspose.email.mapi'. Read-only version: string, parent_fqn: string (required)
prompt: list the members of Aspose.Words.Document using the aspose words net mcp server
prompt: list the members of Aspose.Words.Saving for latest-stable using the aspose words net mcp server
search_symbols Aspose.Words for .NET only. Search API symbols by name or concept (prefix/fuzzy + full-text) in the structured symbol store. Use to find the right class/method when you don't know the exact name, e.g. query 'Workbook', 'save as pdf', 'pivot table'. Read-only version: string, query: string (required), limit: integer
prompt: search the API for symbols about saving as pdf using the aspose words net mcp server
prompt: search the latest-stable API for 'save as pdf' and show the top 5 using the aspose words net mcp server
Reference

Source code and components

Pinned to exact commits, because these repositories publish no release tags.

ComponentRepositoryCommit
Deployment (this server)aspose-words-mcp/net-server40458cd
Context engineaspose-core-mcp/context-enginebc82ec3
words-net pluginaspose-words-mcp/net-plugin336eee1

Documentation sources it indexes

RepositoryBranchFolder
aspose-words-mcp/docsmasteren/net
aspose-words-mcp/referencemainenglish/net
Troubleshooting

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:

  • get_symbol_doc works with a fully-qualified name such as Aspose.Words.Document.Save. The short name Document.Save was matched loosely and returned an unrelated code sample as its signature; use search_symbols to find the canonical name first.
  • list_latest_release_features returned items for latest-stable, but their text looks like extraction artifacts (for example, "Prefer `empty` instead of deprecated/legacy `be`").
  • Asking for a version other than latest-stable, such as 26.10, returned an error, because only latest-stable is indexed.