Skip to main content
Glama
IndraStra MCP

IndraStra MCP

Official
by indrastra
README.md
# IndraStra MCP

**Connecting IndraStra Knowledge to AI**

IndraStra MCP is a Model Context Protocol (MCP) server designed to provide AI assistants, agent platforms, and applications with structured discovery and retrieval access to IndraStra publications.

The project aims to expose publication search and retrieval tools with source URLs and available bibliographic metadata, allowing connected AI clients to work with IndraStra's published knowledge.

## Project status

**Development: ingestion implementation underway. Worker not yet deployed; first harvest pending.**

The repository is the source of truth for the project. Feed ingestion, database storage, search, MCP tool behavior, client compatibility, and production deployment remain subject to implementation and testing.

## Initial data sources

- **Atom feed:** https://www.indrastra.com/feeds/posts/default?alt=atom
- **OAI-PMH:** https://oai.indrastra.com/

Live source inspection was completed on November 30, 2026. Blogger Atom reports approximately 5,216 posts; a 50-entry page size was verified for safe archive harvesting. The OAI-PMH endpoint advertises only the `oai_dc` metadata format and its current `ListRecords` response returned 59 records without a resumption token. The Atom feed is the preferred source for richer HTML article content.

## Planned capabilities

- Search IndraStra publications.
- Retrieve an article and its available metadata.
- Discover latest publications.
- Search by topic or category.
- Find related publications.
- Return canonical source URLs to support traceability.

The initial service will be read-only and will not publish, edit, or delete content.

## Architecture

The planned flow is:

```text
Atom + OAI-PMH
      |
      v
Feed ingestion and normalization
      |
      v
Cloudflare D1 (planned)
      |
      v
Search and retrieval
      |
      v
MCP server (planned)
      |
      v
AI assistants and agent clients
```

Cloudflare Workers and D1 are the initial infrastructure. The production D1 database and a separate staging D1 database have been created in the APAC region. Staging is isolated and has a manual GitHub Actions deployment workflow. The Worker is configured for harvesting every three hours, with the latest Atom page plus up to eight archive pages per run. FTS5 full-text indexing with BM25-ranked search has been implemented and its trigger behavior verified directly in D1. The first deployment and harvest are still pending. GitHub Actions currently passes dependency installation, Wrangler type generation, TypeScript type-checking, and the parser/schema tests. R2 and semantic search may be added only if measured requirements justify them.

## Relationship to IndraStra services

- **IndraStra ID** handles persistent identifiers and resolution. ARK integration is a future optional enhancement; this project does not depend on the ARK rebuild.
- **IndraStra MCP** provides AI-compatible discovery and retrieval.
- **IndraStra AI** may later use the same retrieval layer to power a reader-facing conversational interface.

## Repository documentation

- [Architecture](docs/architecture.md)
- [Roadmap](docs/roadmap.md)
- [Feed ingestion details](docs/ingestion.md)
- [Staging deployment](docs/staging.md)

## Development

Implementation instructions will be added alongside the application scaffold. Do not commit credentials or local environment files. Use Cloudflare's secret management for deployment credentials.

## Security

Please do not disclose vulnerabilities in public issues. A dedicated security reporting process will be documented before production release.

## License

MIT. See [LICENSE](LICENSE).