fingertip-internal-mcp
v1.6.0
Published
The official MCP Server for the Fingertip Internal API
Readme
Fingertip Internal TypeScript MCP Server
It is generated with Stainless.
Installation
Direct invocation
You can run the MCP Server directly via npx:
export FINGERTIP_INTERNAL_API_KEY="My API Key"
npx -y fingertip-internal-mcp@latestVia MCP Client
There is a partial list of existing clients at modelcontextprotocol.io. If you already have a client, consult their documentation to install the MCP server.
For clients with a configuration JSON, it might look something like this:
{
"mcpServers": {
"fingertip_internal_api": {
"command": "npx",
"args": ["-y", "fingertip-internal-mcp", "--client=claude", "--tools=dynamic"],
"env": {
"FINGERTIP_INTERNAL_API_KEY": "My API Key"
}
}
}
}Exposing endpoints to your MCP Client
There are two ways to expose endpoints as tools in the MCP server:
- Exposing one tool per endpoint, and filtering as necessary
- Exposing a set of tools to dynamically discover and invoke endpoints from the API
Filtering endpoints and tools
You can run the package on the command line to discover and filter the set of tools that are exposed by the MCP Server. This can be helpful for large APIs where including all endpoints at once is too much for your AI's context window.
You can filter by multiple aspects:
--toolincludes a specific tool by name--resourceincludes all tools under a specific resource, and can have wildcards, e.g.my.resource*--operationincludes just read (get/list) or just write operations
Dynamic tools
If you specify --tools=dynamic to the MCP server, instead of exposing one tool per endpoint in the API, it will
expose the following tools:
list_api_endpoints- Discovers available endpoints, with optional filtering by search queryget_api_endpoint_schema- Gets detailed schema information for a specific endpointinvoke_api_endpoint- Executes any endpoint with the appropriate parameters
This allows you to have the full set of API endpoints available to your MCP Client, while not requiring that all of their schemas be loaded into context at once. Instead, the LLM will automatically use these tools together to search for, look up, and invoke endpoints dynamically. However, due to the indirect nature of the schemas, it can struggle to provide the correct properties a bit more than when tools are imported explicitly. Therefore, you can opt-in to explicit tools, the dynamic tools, or both.
See more information with --help.
All of these command-line options can be repeated, combined together, and have corresponding exclusion versions (e.g. --no-tool).
Use --list to see the list of available tools, or see below.
Specifying the MCP Client
Different clients have varying abilities to handle arbitrary tools and schemas.
You can specify the client you are using with the --client argument, and the MCP server will automatically
serve tools and schemas that are more compatible with that client.
--client=<type>: Set all capabilities based on a known MCP client- Valid values:
openai-agents,claude,claude-code,cursor - Example:
--client=cursor
- Valid values:
Additionally, if you have a client not on the above list, or the client has gotten better over time, you can manually enable or disable certain capabilities:
--capability=<name>: Specify individual client capabilities- Available capabilities:
top-level-unions: Enable support for top-level unions in tool schemasvalid-json: Enable JSON string parsing for argumentsrefs: Enable support for $ref pointers in schemasunions: Enable support for union types (anyOf) in schemasformats: Enable support for format validations in schemas (e.g. date-time, email)tool-name-length=N: Set maximum tool name length to N characters
- Example:
--capability=top-level-unions --capability=tool-name-length=40 - Example:
--capability=top-level-unions,tool-name-length=40
- Available capabilities:
Examples
- Filter for read operations on cards:
--resource=cards --operation=read- Exclude specific tools while including others:
--resource=cards --no-tool=create_cards- Configure for Cursor client with custom max tool name length:
--client=cursor --capability=tool-name-length=40- Complex filtering with multiple criteria:
--resource=cards,accounts --operation=read --tag=kyc --no-tool=create_cardsImporting the tools and server individually
// Import the server, generated endpoints, or the init function
import { server, endpoints, init } from "fingertip-internal-mcp/server";
// import a specific tool
import getAnalyticsSiteAll from "fingertip-internal-mcp/tools/fingertip-creator-analytics-v1-analytics-service/get-analytics-site-all";
// initialize the server and all endpoints
init({ server, endpoints });
// manually start server
const transport = new StdioServerTransport();
await server.connect(transport);
// or initialize your own server with specific tools
const myServer = new McpServer(...);
// define your own endpoint
const myCustomEndpoint = {
tool: {
name: 'my_custom_tool',
description: 'My custom tool',
inputSchema: zodToJsonSchema(z.object({ a_property: z.string() })),
},
handler: async (client: client, args: any) => {
return { myResponse: 'Hello world!' };
})
};
// initialize the server with your custom endpoints
init({ server: myServer, endpoints: [getAnalyticsSiteAll, myCustomEndpoint] });Available Tools
The following tools are available in this MCP server.
Resource fingertip_creator_analytics_v1_analytics_service:
get_analytics_site_all(write): GetAnalyticsSiteAllget_analytics_site_views(write): GetAnalyticsSiteViews
Resource fingertip_creator_blog_post_v1_blog_post_service:
create_blog_post(write): CreateBlogPostget_blog_post(write): GetBlogPostget_blog_posts(write): GetBlogPostsupdate_blog_post(write): UpdateBlogPost
Resource fingertip_creator_booking_v1_booking_service:
accept_booking_request(write): AcceptBookingRequestcomplete_booking(write): CompleteBookingcreate_booking(write): CreateBookingdecline_booking_request(write): DeclineBookingRequestget_booking(write): GetBookingget_booking_requests(write): GetBookingRequestsget_bookings(write): GetBookingsget_bookings_in_range(write): GetBookingsInRangereject_booking(write): RejectBookingreschedule_booking(write): RescheduleBookingupdate_booking(write): UpdateBooking
Resource fingertip_creator_course_v1_course_service:
get_course(write): GetCourseget_courses(write): GetCourses
Resource fingertip_creator_domain_v1_domain_service:
get_site_domains(write): GetSiteDomains
Resource fingertip_creator_event_type_v1_event_type_service:
list_event_types(write): GetEventTypes
Resource fingertip_creator_form_response_v1_form_response_service:
get_form_response(write): GetFormResponseget_form_responses(write): GetFormResponses
Resource fingertip_creator_form_template_v1_form_template_service:
list_form_templates(write): GetFormTemplates
Resource fingertip_creator_group_class_v1_group_class_service:
cancel_group_class(write): CancelGroupClasscomplete_group_class(write): CompleteGroupClassget_group_class(write): GetGroupClassget_group_classes(write): GetGroupClassesget_group_classes_in_range(write): GetGroupClassesInRange
Resource fingertip_creator_message_v1_message_service:
get_message_conversations(write): GetMessageConversationsget_messages(write): GetMessages
Resource fingertip_creator_message_automation_v1_message_automation_service:
get_automation(write): GetAutomationget_automations(write): GetAutomations
Resource fingertip_creator_message_broadcast_v1_message_broadcast_service:
create_broadcast(write): CreateBroadcastget_broadcast(write): GetBroadcastget_broadcasts(write): GetBroadcastssend_preview_broadcast(write): SendPreviewBroadcaststart_broadcast(write): StartBroadcastupdate_broadcast(write): UpdateBroadcast
Resource fingertip_creator_rating_v1_rating_service:
get_site_ratings(write): GetSiteRatings
Resource fingertip_creator_schedule_v1_schedule_service:
create_schedule(write): CreateScheduleget_schedule(write): GetScheduleget_schedules(write): GetSchedulesupdate_schedule(write): UpdateSchedule
Resource fingertip_creator_site_v1_site_service:
get_site(write): GetSiteget_sites(write): GetSites
Resource fingertip_creator_site_contact_v1_site_contact_service:
create_site_contact(write): CreateSiteContactget_site_contact(write): GetSiteContactget_site_contact_overview(write): GetSiteContactOverviewget_site_contacts(write): GetSiteContactsupdate_site_contact(write): UpdateSiteContact
Resource fingertip_creator_site_membership_v1_site_membership_service:
get_site_memberships(write): GetSiteMemberships
Resource fingertip_creator_store_analytics_v1_store_analytics_service:
get_site_store_stats(write): GetSiteStoreStatsget_site_store_summary(write): GetSiteStoreSummary
Resource fingertip_creator_store_coupon_v1_store_coupon_service:
create_store_coupon(write): CreateStoreCouponget_store_coupon(write): GetStoreCouponget_store_coupons(write): GetStoreCouponsupdate_store_coupon(write): UpdateStoreCoupon
Resource fingertip_creator_store_invoice_v1_store_invoice_service:
create_store_invoice(write): CreateStoreInvoiceget_store_invoice(write): GetStoreInvoiceget_store_invoices(write): GetStoreInvoicesmark_store_invoice_paid(write): MarkStoreInvoicePaidsend_store_invoice(write): SendStoreInvoicesend_store_invoice_email(write): SendStoreInvoiceEmailsend_store_invoice_receipt_email(write): SendStoreInvoiceReceiptEmailvoid_store_invoice(write): VoidStoreInvoice
Resource fingertip_creator_store_item_v1_store_item_service:
create_store_item(write): CreateStoreItemget_store_item(write): GetStoreItemget_store_items(write): GetStoreItems
Resource fingertip_creator_store_order_v1_store_order_service:
get_store_order(write): GetStoreOrderget_store_orders(write): GetStoreOrderssend_store_order_receipt(write): SendStoreOrderReceipt
Resource fingertip_creator_store_product_v1_store_product_service:
get_store_product(write): GetStoreProductget_store_products(write): GetStoreProducts
Resource fingertip_creator_store_quote_v1_store_quote_service:
create_store_quote(write): CreateStoreQuoteget_store_quotes(write): GetStoreQuotessend_store_quote(write): SendStoreQuoteupdate_store_quote(write): UpdateStoreQuote
