Download the PHP package padosoft/askmydocs-connector-mcp without Composer

On this page you can find all versions of the php package padosoft/askmydocs-connector-mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package askmydocs-connector-mcp

askmydocs-connector-mcp

Product-level MCP connections for AskMyDocs.

This package is the product/account layer above padosoft/askmydocs-mcp-pack. It does not reimplement the MCP protocol and it does not turn arbitrary HTTP routes into tools. Its job is to connect an AskMyDocs user to an approved remote MCP server, keep that user's OAuth credentials encrypted, discover the tools available to that identity, and apply tenant/project/tool policy before the host exposes them to an LLM.

Package boundary

Package Owns
askmydocs-mcp-pack v2 Dual-era MCP wire protocol, Streamable HTTP, historical HTTP+SSE and normalized results
askmydocs-connector-mcp Server catalogue, shared/personal connections, OAuth, SSRF guard, tool discovery/policy/execution and artifacts
askmydocs-connector-api Arbitrary HTTP endpoint configuration and endpoint-to-tool compilation
AskMyDocs host Unified tool catalogue, chat UX, host RBAC and human confirmation

askmydocs-connector-mcp depends on askmydocs-mcp-pack; it deliberately does not depend on askmydocs-connector-api.

Current status

The connector runtime is operational behind MCP_CONNECTOR_ENABLED=false by default:

The package still does not implement the scheduled source ConnectorInterface: resource ingest is an explicit, governed action instead of an automatically scheduled connector sync. Advanced MCP Apps host features remain separately feature-gated through MCP_CONNECTOR_APP_ADVANCED_ENABLED=false so a deployment can first validate the basic sandbox renderer.

Data model

Tenant server definitions are administrator-approved infrastructure. A personal definition and connection are owned through owner_type + owner_id, so the package does not import AskMyDocs's User class and remains reusable.

The effective tools for a chat will be the intersection of:

Discovered annotations are persisted but remain untrusted input. Unknown or write-like tools default to disabled and confirmation-required.

Optional agent capability hints

An MCP server may add a compact advisory routing hint under _meta["askmydocs/agent-capability"]. The connector validates and exposes only the following fields to hosts: entity, operation, intent_tags, requires, produces, collection_path, identity_fields and next_tools. Supported operations are search, list, get, detail, summary, count and check.

Hints are optional and never override authentication, tenant/project scope, risk, read-only annotations or confirmation policy. Standard MCP tools without this extension remain fully supported through host-side schema inference.

Local development

The sibling askmydocs-mcp-pack repository is resolved through a Composer path repository as 2.0.x-dev:

Before publishing this package, replace the local path-repository development override with the released padosoft/askmydocs-mcp-pack:^2.0 dependency.

HTTP surfaces

All product routes are feature-gated and authenticated except the feature-gated CIMD document. Personal owner identity is always taken from the authenticated session, never from request input. Connection creation and discovery are rate-limited, and each owner has a configurable personal connection quota.

Connection creation accepts an explicit auth_method of oauth, bearer or none. OAuth creation stores a pending connection and returns a server-generated next_action.authorization_url; clients must navigate to that URL instead of handling authorization codes or tokens themselves. The callback uses PKCE, single-use state bound to the authenticated owner, tenant, issuer and MCP resource, then stores the resulting Bearer/refresh tokens only in encrypted server-side credentials. Existing clients that omit auth_method remain compatible: a supplied Bearer token selects bearer, otherwise none.

The principal resource controls can be tuned with:

MCP_CONNECTOR_OAUTH_ALLOW_INSECURE_LOCAL is intended only for loopback development and test providers. Production authorization, token and dynamic registration endpoints must use HTTPS. Hosts may provide pre-registered clients through connector-mcp.oauth.clients, keyed by the exact issuer; these take priority over CIMD and dynamic client registration.

Setting MCP_CONNECTOR_MAX_PERSONAL_CONNECTIONS=0 disables the per-owner connection quota. The discovery rate is measured per authenticated user, with an IP fallback, by Laravel's standard throttle middleware.

Security posture

Personal endpoints require public HTTPS. DNS A/AAAA answers and every outbound OAuth request/redirect are checked against private, loopback, link-local, reserved and metadata addresses. Public DNS answers are pinned into the cURL connection to prevent rebinding between validation and connect. Redirects are revalidated and capped, credentials are removed on origin changes, and response bodies are written through a hard-size-limited stream. Shared internal hosts require an explicit admin allowlist. Tokens, PKCE verifiers, client secrets, legacy headers and pending continuations use Laravel encrypted casts and are never returned by the API.

License

Apache-2.0.


All versions of askmydocs-connector-mcp with dependencies

PHP Build Version
Package Version
Requires ext-curl Version *
php Version ^8.3
illuminate/contracts Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/routing Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
nesbot/carbon Version ^2.0|^3.0
padosoft/askmydocs-connector-base Version ^1.4
padosoft/askmydocs-mcp-pack Version ^2.0@dev
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package padosoft/askmydocs-connector-mcp contains the following files

Loading the files please wait ...