Basis Theory MCP by usefulapi
Read token metadata, applications, audit logs, proxies and usage in the PCI vault.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWbasis_theory_list_log_entity_types에서
- LOWbasis_theory_list_tenant_members에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"basis-theory": {
"url": "https://basis-theory.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://basis-theory.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (17)
🟢basis_theory_list_tokens(type, container, fingerprint, size, start)
List vault tokens as METADATA — id, type, container, fingerprint, metadata and timestamps. Does not return the underlying card number or PII. Basis Theory: GET /v2/tokens.
입력 스키마
{
"type": "object",
"properties": {
"type": {
"description": "Only tokens of this type, e.g. card, bank, token.",
"type": "string"
},
"container": {
"description": "Only tokens in this container path, e.g. /pci/high/.",
"type": "string"
},
"fingerprint": {
"description": "Only tokens sharing this fingerprint — how you find duplicates of the same card.",
"type": "string"
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"start": {
"description": "Cursor from the previous page's pagination.next. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_search_tokens(query, size, start)
Search tokens with Basis Theory's query syntax over metadata, e.g. metadata.customer_id:"cus_1". Returns metadata only. Read-only despite being a POST — the query goes in the body. Basis Theory: POST /v2/tokens/search.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Query string, e.g. type:card AND metadata.customer_id:\"cus_1\"."
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"start": {
"description": "Cursor from the previous page's pagination.next. Omit for the first page.",
"type": "string"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_token(token_id)
Fetch a single token by id. Returns metadata, container, fingerprint and timestamps. WARNING: if the configured API key carries a reveal permission, the response also contains the token's plaintext data — issue this server a read-only management key instead. Basis Theory: GET /tokens/{id}.
입력 스키마
{
"type": "object",
"properties": {
"token_id": {
"type": "string",
"description": "The token's id."
}
},
"required": [
"token_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_applications(type, page, size)
List the applications (API-key holders) in the tenant, with their types and permissions. Basis Theory: GET /applications.
입력 스키마
{
"type": "object",
"properties": {
"type": {
"description": "Only applications of this type, e.g. private, public, management, expiring.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_application(application_id)
Fetch a single application with its type and permission list. Basis Theory: GET /applications/{id}.
입력 스키마
{
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "The application's id."
}
},
"required": [
"application_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_whoami
Return the application the configured BT-API-KEY belongs to — the fastest way to check which permissions this server actually has. Basis Theory: GET /applications/key.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_logs(entity_type, entity_id, start_date, end_date, page, ...)
List audit-log entries — who did what to which entity and when. The tool for answering 'who touched this token?'. Basis Theory: GET /logs.
입력 스키마
{
"type": "object",
"properties": {
"entity_type": {
"description": "Only entries for this entity type, e.g. token, application, proxy.",
"type": "string"
},
"entity_id": {
"description": "Only entries for this entity id.",
"type": "string"
},
"start_date": {
"description": "ISO-8601 lower bound.",
"type": "string"
},
"end_date": {
"description": "ISO-8601 upper bound.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_log_entity_types
List the entity types the audit log records — the valid values for entity_type. Basis Theory: GET /logs/entity-types.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_proxies(name, page, size)
List the proxies that forward requests to third parties, detokenizing in flight. Basis Theory: GET /proxies.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Filter by proxy name.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_proxy(proxy_id)
Fetch a single proxy with its destination URL and transform configuration. Basis Theory: GET /proxies/{id}.
입력 스키마
{
"type": "object",
"properties": {
"proxy_id": {
"type": "string",
"description": "The proxy's id."
}
},
"required": [
"proxy_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_reactors(name, page, size)
List reactors — the serverless functions that run against detokenized data inside the vault. Basis Theory: GET /reactors.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Filter by reactor name.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_reactor(reactor_id)
Fetch a single reactor with its configuration. Basis Theory: GET /reactors/{id}.
입력 스키마
{
"type": "object",
"properties": {
"reactor_id": {
"type": "string",
"description": "The reactor's id."
}
},
"required": [
"reactor_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_permissions(application_type)
List the permissions that can be granted to an application, optionally for one application type. Basis Theory: GET /permissions.
입력 스키마
{
"type": "object",
"properties": {
"application_type": {
"description": "Only permissions valid for this application type.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_roles
List the roles available for tenant members. Basis Theory: GET /roles.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_tenant
Fetch the current tenant — name, id and settings. Basis Theory: GET /tenants/self.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_tenant_usage
Fetch the tenant's usage report — token counts by type and container, and monthly API call volume. Basis Theory: GET /tenants/self/reports/usage.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_tenant_members(page, size)
List the people with access to the tenant, and their roles. Basis Theory: GET /tenants/self/members.
입력 스키마
{
"type": "object",
"properties": {
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거