content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
โŒ€
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
by [@jlowin](https://github.com/jlowin) in [#2696](https://github.com/PrefectHQ/fastmcp/pull/2696) \* Bump pydocket to 0.16.3 to fix worker cleanup race condition by [@chrisguidry](https://github.com/chrisguidry) in [#2700](https://github.com/PrefectHQ/fastmcp/pull/2700) \* Fix Prefect website URL in docs footer by [@m...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.1278519630432129, 0.01835772395133972, 0.027612516656517982, -0.021611370146274567, 0.04847099259495735, -0.09003730863332748, -0.10204843431711197, 0.013458594679832458, -0.09048085659742355, 0.03363286703824997, 0.06070522964000702, 0.07099513709545135, -0.0010998507495969534, -0.0210...
-0.038625
and event resumability (SEP-1699), multi-select enum elicitation schemas (SEP-1330), default values for elicitation (SEP-1034), and tool name validation at registration time (SEP-986). ## Breaking Changes - Docket is always enabled; task execution is forbidden through proxies - Task protocol enabled by default - Remove...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.08771375566720963, -0.04792236536741257, 0.008792639710009098, -0.04783717542886734, 0.015913058072328568, -0.10745660215616226, -0.07515668869018555, 0.01077735424041748, -0.041277989745140076, -0.00235084374435246, -0.006564529612660408, -0.0825638398528099, -0.005484463647007942, -0....
0.239158
enabling tools to return supplementary metadata alongside results. This supports emerging use cases like OpenAI's Apps SDK. The release also brings improved OAuth functionality with custom token verifiers including a new DebugTokenVerifier, and adds OCI and Supabase authentication providers. ๐Ÿท๏ธ \*\*Meta parameters for...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.12561684846878052, 0.034403275698423386, -0.04493049532175064, 0.05419798567891121, 0.03837576135993004, 0.017715513706207275, -0.04111592471599579, 0.008673232048749924, 0.001965348841622472, 0.022439315915107727, 0.022876961156725883, -0.028333140537142754, 0.0804368332028389, -0.0402...
0.083102
for expensive operations. Cache tool and resource responses with configurable TTLs, reducing redundant API calls and speeding up repeated queries. ๐Ÿ”„ \*\*Server lifespans\*\* provide proper initialization and cleanup hooks that run once per server instance instead of per client session. This fixes a long-standing sourc...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.0807494968175888, 0.05401633679866791, 0.07182059437036514, 0.029206199571490288, 0.03660213202238083, -0.01759839802980423, 0.01852196268737316, -0.012172874994575977, -0.02241147868335247, 0.06534375995397568, -0.033864088356494904, 0.002918808488175273, 0.024610163643956184, -0.03953...
0.105544
by [@jlowin](https://github.com/jlowin) in [#1735](https://github.com/PrefectHQ/fastmcp/pull/1735) \* Honor client supplied scopes during registration by [@dmikusa](https://github.com/dmikusa) in [#1860](https://github.com/PrefectHQ/fastmcp/pull/1860) \* Fix: FastAPI list parameter parsing in experimental OpenAPI parse...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.08433588594198227, 0.005433914717286825, -0.04044126719236374, -0.0160832442343235, -0.07325062155723572, -0.12193427234888077, -0.04014788568019867, 0.02372385747730732, -0.0700676217675209, -0.03431934863328934, 0.019616074860095978, -0.07860906422138214, 0.023358682170510292, -0.0090...
0.099098
\* fix: correct documentation link in deprecation warning by [@strawgate](https://github.com/strawgate) in [#1828](https://github.com/PrefectHQ/fastmcp/pull/1828) ### Docs ๐Ÿ“š \* Add migration docs for 2.12 by [@jlowin](https://github.com/jlowin) in [#1745](https://github.com/PrefectHQ/fastmcp/pull/1745) \* Update docs ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.08564839512109756, -0.014085388742387295, 0.0008019475499168038, -0.020904766395688057, 0.07850546389818192, -0.07085542380809784, 0.010682539083063602, 0.006324104964733124, 0.0003488595539238304, -0.0025738736148923635, 0.04375749081373215, -0.058192167431116104, 0.05134696885943413, ...
0.081691
to authentication, configuration, and MCP feature adoption. ๐Ÿ” \*\*OAuth Proxy for Broader Provider Support\*\* addresses a fundamental challenge: while MCP requires Dynamic Client Registration (DCR), many popular OAuth providers don't support it. The new OAuth proxy bridges this gap, enabling FastMCP servers to authen...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.1552179902791977, -0.01592598855495453, 0.06167355552315712, -0.038369666785001755, 0.03154222294688225, -0.07114191353321075, -0.00003446982736932114, -0.005915327928960323, 0.02605324797332287, -0.015194293111562729, 0.041743382811546326, 0.05075391009449959, 0.07905159145593643, 0.00...
0.0966
\* Remove invalid-argument-type ignore and fix type errors by [@jlowin](https://github.com/jlowin) in [#1588](https://github.com/PrefectHQ/fastmcp/pull/1588) \* Remove generate-schema from public CLI by [@jlowin](https://github.com/jlowin) in [#1591](https://github.com/PrefectHQ/fastmcp/pull/1591) \* Skip flaky windows...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.041724611073732376, 0.058165960013866425, 0.021557169035077095, 0.0011346183018758893, 0.058830976486206055, -0.07109133899211884, 0.01648317091166973, -0.03399674594402313, -0.022588908672332764, -0.0224971454590559, 0.05202115327119827, -0.06125587224960327, 0.017694633454084396, 0.03...
0.004721
type annotation in return value documentation by [@MaikelVeen](https://github.com/MaikelVeen) in [#1499](https://github.com/PrefectHQ/fastmcp/pull/1499) \* Fix PromptMessage usage in docs example by [@jlowin](https://github.com/jlowin) in [#1515](https://github.com/PrefectHQ/fastmcp/pull/1515) \* Create CODE\_OF\_CONDU...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.06781893223524094, 0.06163657084107399, 0.009941627271473408, -0.028622012585401535, 0.04612637683749199, 0.008192112669348717, 0.021324392408132553, 0.015893088653683662, 0.02234417386353016, 0.004911178722977638, 0.03294413164258003, -0.07583624869585037, 0.048874758183956146, 0.03403...
0.062097
prevent flaky failures by [@jlowin](https://github.com/jlowin) in [#1406](https://github.com/PrefectHQ/fastmcp/pull/1406) \* Update agents.md; add github instructions by [@jlowin](https://github.com/jlowin) in [#1410](https://github.com/PrefectHQ/fastmcp/pull/1410) \* Add Marvin assistant by [@jlowin](https://github.co...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.10385435819625854, -0.03204561397433281, -0.025429215282201767, 0.016666755080223083, -0.027310824021697044, -0.007741843815892935, -0.002941220300272107, -0.010710676200687885, -0.1007576510310173, -0.014419212937355042, 0.046147216111421585, 0.027834264561533928, 0.03148443251848221, ...
0.060415
๐ŸŽ‰ \* Introduce experimental OpenAPI parser with improved performance and maintainability by [@jlowin](https://github.com/jlowin) in [#1209](https://github.com/PrefectHQ/fastmcp/pull/1209) \* Add state dict to Context (#1118) by [@mukulmurthy](https://github.com/mukulmurthy) in [#1160](https://github.com/PrefectHQ/fast...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.09142512083053589, 0.03802528604865074, 0.0050775641575455666, -0.018215660005807877, -0.008082009851932526, -0.08531713485717773, -0.013616221956908703, 0.008185064420104027, -0.0280337892472744, -0.06290548294782639, 0.03647143766283989, -0.05421724542975426, 0.027264012023806572, 0.0...
0.081386
changelog.mdx by [@jlowin](https://github.com/jlowin) in [#1235](https://github.com/PrefectHQ/fastmcp/pull/1235) \* Update SDK docs by [@jlowin](https://github.com/jlowin) in [#1236](https://github.com/PrefectHQ/fastmcp/pull/1236) \* Update --name flag documentation for Cursor/Claude by [@adam-conway](https://github.co...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.0882410928606987, 0.015788264572620392, -0.016658281907439232, -0.12221565842628479, 0.02207418903708458, -0.015603544190526009, -0.03233613818883896, -0.005978008266538382, -0.03963466361165047, 0.025273919105529785, 0.01941223442554474, -0.038034431636333466, 0.01924879290163517, -0.0...
0.056413
Add no-commit-to-branch hook by [@zzstoatzz](https://github.com/zzstoatzz) in [#1149](https://github.com/PrefectHQ/fastmcp/pull/1149) \* Update README.md by [@jlowin](https://github.com/jlowin) in [#1165](https://github.com/PrefectHQ/fastmcp/pull/1165) \* skip on rate limit by [@zzstoatzz](https://github.com/zzstoatzz)...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.06618186086416245, 0.011765161529183388, 0.004478849936276674, -0.0002473107015248388, -0.01563205011188984, -0.03813566640019417, -0.08469397574663162, -0.038070354610681534, -0.04339782893657684, 0.021905500441789627, 0.05707427114248276, 0.0054366709664464, 0.029871255159378052, -0.0...
-0.037294
auth by [@neilconway](https://github.com/neilconway) in [#1055](https://github.com/PrefectHQ/fastmcp/pull/1055) \* Update favicon by [@jlowin](https://github.com/jlowin) in [#1058](https://github.com/PrefectHQ/fastmcp/pull/1058) \* Update environment note by [@jlowin](https://github.com/jlowin) in [#1075](https://githu...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.16664080321788788, -0.004425598308444023, -0.05262176692485809, -0.0785122737288475, 0.06099303066730499, -0.02464740350842476, -0.03511267155408859, 0.027663547545671463, -0.047908198088407516, 0.016015151515603065, 0.06879167258739471, 0.015267732553184032, 0.04036064073443413, -0.003...
0.016043
to HTTPRoute by [@maddymanu](https://github.com/maddymanu) in [#977](https://github.com/PrefectHQ/fastmcp/pull/977) \* Add title field support to FastMCP components by [@jlowin](https://github.com/jlowin) in [#982](https://github.com/PrefectHQ/fastmcp/pull/982) \* Support implicit Elicitation acceptance by [@jlowin](ht...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.11134892702102661, -0.02851603366434574, -0.0065146032720804214, -0.006715771276503801, 0.0221556406468153, -0.0243611428886652, -0.05830756202340126, 0.0013000230537727475, -0.08406981080770493, -0.040546439588069916, 0.023017115890979767, -0.01583247072994709, 0.024597560986876488, -0...
0.041846
level, giving you powerful capabilities for logging, authentication, validation, and more. This is particularly useful for building production-ready MCP servers that need sophisticated request handling. ### Server-side Type Conversion This release also introduces server-side type conversion for prompt arguments, ensuri...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.04816076532006264, 0.023734521120786667, 0.023918256163597107, -0.026663150638341904, -0.00467089144513011, -0.07041183114051819, -0.049362801015377045, 0.06970587372779846, -0.07077150791883469, 0.010276482440531254, 0.011851346120238304, -0.03876122459769249, 0.028879579156637192, -0....
0.140724
Fixes ๐Ÿž \* Restore .settings access as deprecated by [@jlowin](https://github.com/jlowin) in [#800](https://github.com/PrefectHQ/fastmcp/pull/800) \* Ensure handling of false http kwargs correctly; removed unused kwarg by [@jlowin](https://github.com/jlowin) in [#804](https://github.com/PrefectHQ/fastmcp/pull/804) \* ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.14322951436042786, -0.007532066199928522, 0.114566870033741, 0.013678072020411491, 0.04701358079910278, -0.007951918989419937, -0.08034627139568329, -0.02516958676278591, -0.07697421312332153, 0.017079142853617668, 0.08075624704360962, 0.004788804333657026, 0.011217222549021244, -0.0404...
-0.040912
[#755](https://github.com/PrefectHQ/fastmcp/pull/755) \* Add 2.7 update by [@jlowin](https://github.com/jlowin) in [#756](https://github.com/PrefectHQ/fastmcp/pull/756) \* Reduce 2.7 image size by [@jlowin](https://github.com/jlowin) in [#757](https://github.com/PrefectHQ/fastmcp/pull/757) \* Update updates.mdx by [@jl...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.11245380342006683, 0.07792684435844421, 0.05601426959037781, 0.03454746678471565, 0.11406166851520538, 0.02218097262084484, -0.07155857235193253, 0.015929246321320534, -0.05216480419039726, 0.07619892060756683, 0.017555296421051025, 0.07889555394649506, 0.06856725364923477, -0.035187818...
-0.026959
by [@jlowin](https://github.com/jlowin) in [#701](https://github.com/PrefectHQ/fastmcp/pull/701) \* Formalize resource/functionresource replationship by [@jlowin](https://github.com/jlowin) in [#702](https://github.com/PrefectHQ/fastmcp/pull/702) \* Formalize template/functiontemplate split by [@jlowin](https://github....
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.1519569456577301, 0.02645505964756012, -0.0011436587665230036, -0.02512979321181774, -0.02686384506523609, -0.0013253329088911414, -0.04998679831624031, 0.00276240985840559, -0.07778017967939377, -0.00942807737737894, 0.002658564830198884, -0.03562093526124954, -0.02139366790652275, -0....
0.065694
client by [@jfouret](https://github.com/jfouret) in [#607](https://github.com/PrefectHQ/fastmcp/pull/607) \* Add init\\_timeout for mcp client (incl settings) by [@jlowin](https://github.com/jlowin) in [#609](https://github.com/PrefectHQ/fastmcp/pull/609) \* Support for uppercase letters at the log level by [@ksawaray]...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.12838786840438843, -0.011795200407505035, 0.060579247772693634, -0.03784924000501633, 0.009258745238184929, 0.022807840257883072, -0.03370240330696106, 0.02301236428320408, -0.007120056543499231, -0.01776193268597126, 0.07423754036426544, 0.038706544786691666, 0.06781825423240662, -0.02...
0.083596
server.run by [@Maxi91f](https://github.com/Maxi91f) in [#475](https://github.com/PrefectHQ/fastmcp/pull/475) \* Add lifespan property to app by [@jlowin](https://github.com/jlowin) in [#483](https://github.com/PrefectHQ/fastmcp/pull/483) \* Update `fastmcp run` to work with remote servers by [@jlowin](https://github.c...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.10809678584337234, -0.021942993625998497, 0.012548101134598255, -0.016585256904363632, -0.03662978857755661, -0.03963106870651245, -0.09161616116762161, -0.004677084740251303, -0.008553489111363888, -0.026559220626950264, 0.01381818950176239, 0.004351601004600525, 0.057784318923950195, ...
-0.015702
in [#405](https://github.com/PrefectHQ/fastmcp/pull/405) ### Docs ๐Ÿ“š \* Update composition docs by [@jlowin](https://github.com/jlowin) in [#403](https://github.com/PrefectHQ/fastmcp/pull/403) ### Other Changes ๐Ÿฆพ \* Add test for no prefix when importing by [@jlowin](https://github.com/jlowin) in [#404](https://github....
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.12835417687892914, -0.06139437109231949, 0.04297137260437012, -0.05947479233145714, 0.07255541533231735, -0.037760380655527115, -0.09858697652816772, -0.041830938309431076, -0.023432228714227676, -0.008829516358673573, 0.11853614449501038, 0.01655537448823452, -0.0016678259707987309, -0...
0.048961
Know Better](https://github.com/PrefectHQ/fastmcp/releases/tag/v2.2.7) ### New Features ๐ŸŽ‰ \* use pydantic\\_core.to\\_json by [@jlowin](https://github.com/jlowin) in [#290](https://github.com/PrefectHQ/fastmcp/pull/290) \* Ensure openapi descriptions are included in tool details by [@jlowin](https://github.com/jlowin)...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.11449085921049118, 0.0001607470476301387, -0.007379433140158653, 0.0108953807502985, 0.04633078724145889, -0.041891880333423615, -0.05003877729177475, 0.0340806320309639, -0.05987120419740677, -0.02679763175547123, 0.059732161462306976, -0.0557946115732193, 0.020879698917269707, 0.01403...
0.078305
[@jlowin](https://github.com/jlowin) in [#235](https://github.com/PrefectHQ/fastmcp/pull/235) ### Fixes ๐Ÿž \* Ensure that resource templates are properly exposed by [@jlowin](https://github.com/jlowin) in [#238](https://github.com/PrefectHQ/fastmcp/pull/238) ### Docs ๐Ÿ“š \* Update docs for prompts by [@jlowin](https://g...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.10707010328769684, 0.007890923880040646, 0.034483205527067184, -0.02650349587202072, 0.06170208007097244, -0.012172220274806023, -0.05811464041471481, 0.012885994277894497, -0.048107441514730453, 0.021984906867146492, 0.047469768673181534, -0.005659766495227814, 0.027454549446702003, -0...
0.07401
client return types by [@jlowin](https://github.com/jlowin) in [#123](https://github.com/PrefectHQ/fastmcp/pull/123) ### Other Changes ๐Ÿฆพ \* Add tests for tags in server decorators by [@jlowin](https://github.com/jlowin) in [#122](https://github.com/PrefectHQ/fastmcp/pull/122) \* Clean up server tests by [@jlowin](http...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.1006229817867279, 0.03253841772675514, 0.06185575947165489, 0.023282915353775024, 0.052150383591651917, -0.07847584038972855, -0.036673448979854584, -0.055227164179086685, -0.037351902574300766, -0.00870621670037508, 0.014294713735580444, 0.0070883845910429955, -0.0009724165429361165, 0...
0.028626
importing modules in a server by [@justjoehere](https://github.com/justjoehere) in [#43](https://github.com/PrefectHQ/fastmcp/pull/43) ### New Contributors \* [@justjoehere](https://github.com/justjoehere) made their first contribution in [#42](https://github.com/PrefectHQ/fastmcp/pull/42) \* [@jurasofish](https://gith...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/changelog.mdx
main
model-context-protocol-fastmcp
[ -0.1263505071401596, -0.04065757244825363, 0.007949703373014927, -0.019205313175916672, 0.09056106209754944, 0.0011904960265383124, -0.020924298092722893, -0.0210272166877985, -0.024421675130724907, 0.00920762587338686, 0.09682971984148026, -0.0005446620052680373, 0.023366574198007584, -0....
0.09101
A 2.x backport of the fakeredis pin: fakeredis 2.35.0 renamed a connection class that pydocket's `memory://` backend relied on, crashing `fastmcp[tasks]` installs at startup. Caps `fakeredis<2.35.0` on the 2.x line. v2.14.4 backported `dereference\_refs()` but never wired it into the tool schema pipeline โ€” `$ref` and `...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/updates.mdx
main
model-context-protocol-fastmcp
[ -0.07225888967514038, 0.018022829666733742, -0.02392195723950863, -0.015842769294977188, 0.053926561027765274, -0.11563021689653397, -0.03924954682588577, 0.0028034818824380636, 0.021473536267876625, 0.02538972906768322, 0.08954710513353348, 0.061800189316272736, 0.042232777923345566, -0.0...
-0.050844
persistent storage, response caching, and pragmatic OAuth improvements that reflect real-world deployment challenges. ๐Ÿ’พ \*\*Pluggable storage backends\*\* bring persistent state to FastMCP servers. Built on [py-key-value-aio](https://github.com/strawgate/py-key-value), a new library from FastMCP maintainer Bill Easton...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/updates.mdx
main
model-context-protocol-fastmcp
[ -0.11326213926076889, 0.054481636732816696, -0.03291655331850052, 0.006571786943823099, 0.04059581086039543, -0.08420269191265106, -0.020364802330732346, 0.017499014735221863, 0.04001150652766228, 0.03402196988463402, 0.001586653059348464, 0.05102188140153885, 0.10302674025297165, -0.01704...
0.067937
with WorkOS AuthKit integration, Dynamic Client Registration, and support for separate resource and authorization servers. โšก \*\*Experimental OpenAPI Parser\*\* delivers dramatic performance gains through single-pass schema processing and optimized memory usage (enable with environment variable). ๐Ÿ’พ \*\*Enhanced State ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/updates.mdx
main
model-context-protocol-fastmcp
[ -0.11759155243635178, 0.038162752985954285, 0.01825684681534767, -0.002283919369801879, 0.03044351190328598, -0.10575849562883377, -0.011970930732786655, -0.021316351369023323, -0.012449710629880428, -0.026283692568540573, 0.04197418689727783, -0.036943137645721436, -0.0009655696921981871, ...
0.225848
of the decorated function. This is an important usability enhancement. The bulk of the update is focused on improving the FastMCP internals, including a few breaking internal changes to private APIs. A number of functions that have clung on since 1.0 are now deprecated. FastMCP 2.6 is here! This release introduces firs...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/updates.mdx
main
model-context-protocol-fastmcp
[ -0.13149240612983704, -0.018501129001379013, 0.08204299956560135, 0.015416069887578487, 0.06743106991052628, -0.09732263535261154, -0.05378890782594681, -0.03589068353176117, -0.04396359622478485, -0.0032935079652816057, 0.030936120077967644, -0.011043289676308632, 0.002637566765770316, -0...
0.111904
import { VersionBadge } from '/snippets/version-badge.mdx' Tools are executable functions exposed by MCP servers. The FastMCP client provides methods to discover available tools and execute them with arguments. ## Discovering Tools Use `list\_tools()` to retrieve all tools available on the server: ```python async with ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/tools.mdx
main
model-context-protocol-fastmcp
[ -0.02778138779103756, 0.03980332985520363, 0.007991575635969639, -0.003237097291275859, 0.08683519810438156, -0.046372707933187485, 0.038826074451208115, -0.026529142633080482, -0.03259032964706421, -0.042859241366386414, 0.014927896670997143, -0.04322711378335953, 0.05903377756476402, -0....
-0.027484
servers. Standard MCP structured JSON data as sent by the server, available from all MCP servers that support structured outputs. Boolean indicating if the tool execution failed. ### Structured Data Access FastMCP's `.data` property provides fully hydrated Python objects, not just JSON dictionaries. This includes compl...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/tools.mdx
main
model-context-protocol-fastmcp
[ -0.07057936489582062, 0.08449270576238632, 0.08542631566524506, 0.10064297914505005, 0.014578860253095627, -0.13692830502986908, -0.037733931094408035, -0.03448988124728203, -0.02828327752649784, -0.02436426281929016, -0.03855586796998978, -0.05256250873208046, 0.022299207746982574, 0.0122...
0.034153
import { VersionBadge } from "/snippets/version-badge.mdx" The [MCP task protocol](https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/tasks) lets you request operations to run asynchronously. This returns a Task object immediately, letting you track progress, cancel operations, or await results. S...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/tasks.mdx
main
model-context-protocol-fastmcp
[ -0.0706988200545311, 0.018000883981585503, -0.009357085451483727, 0.048578083515167236, 0.024275781586766243, -0.048322223126888275, -0.034250400960445404, -0.042241521179676056, 0.04242859408259392, -0.004394654184579849, -0.008211477659642696, -0.0031435478013008833, 0.024247070774435997, ...
0.048405
import { VersionBadge } from "/snippets/version-badge.mdx"; ## What is Elicitation? Elicitation allows MCP servers to request structured input from users during tool execution. Instead of requiring all inputs upfront, servers can interactively ask users for information as needed - like prompting for missing parameters,...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/elicitation.mdx
main
model-context-protocol-fastmcp
[ -0.12360445410013199, 0.006323091685771942, 0.05177493020892143, 0.005375824403017759, 0.039113275706768036, -0.08452828228473663, -0.04858303815126419, -0.020670855417847633, -0.05501870438456535, -0.053327564150094986, 0.04100293293595314, -0.0579458586871624, 0.07473186403512955, -0.019...
0.122394
implicitly accept the elicitation return response\_type(value=user\_response) client = Client( "my\_mcp\_server.py", elicitation\_handler=basic\_elicitation\_handler ) ```
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/elicitation.mdx
main
model-context-protocol-fastmcp
[ -0.038985081017017365, 0.0008068743627518415, 0.023496141657233238, 0.027549345046281815, -0.043644409626722336, -0.07109367847442627, 0.078750379383564, 0.06985469162464142, -0.054322514683008194, -0.04798150807619095, 0.009672555141150951, -0.028838735073804855, 0.021179845556616783, 0.0...
0.040513
import { VersionBadge } from '/snippets/version-badge.mdx' Prompts are reusable message templates exposed by MCP servers. They can accept arguments to generate personalized message sequences for LLM interactions. ## Listing Prompts Use `list\_prompts()` to retrieve all available prompt templates: ```python async with c...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/prompts.mdx
main
model-context-protocol-fastmcp
[ 0.009065348654985428, 0.05723034217953682, 0.0429316982626915, -0.01651790924370289, 0.0974326953291893, 0.003427989548072219, 0.03382899612188339, 0.021261924877762794, -0.021489977836608887, -0.03878438472747803, -0.027033062651753426, -0.04739144816994667, 0.0919378474354744, -0.0472330...
-0.018652
prompt\_result = await client.get\_prompt\_mcp("example\_prompt", {"arg": "value"}) # prompt\_result -> mcp.types.GetPromptResult ``` ## Multi-Server Clients When using multi-server clients, prompts are accessible without prefixing (unlike tools): ```python async with client: # Multi-server client # Prompts from any se...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/prompts.mdx
main
model-context-protocol-fastmcp
[ 0.03666765242815018, -0.00788980070501566, 0.043526966124773026, 0.08580352365970612, -0.019467459991574287, -0.060709331184625626, 0.0000059521776165638585, 0.018744733184576035, -0.025971969589591026, -0.05128968507051468, -0.022684834897518158, -0.07238312810659409, 0.06623826175928116, ...
-0.019871
import { VersionBadge } from "/snippets/version-badge.mdx"; MCP servers can request LLM completions from clients. The client handles these requests through a sampling handler callback. ## Sampling Handler Provide a `sampling\_handler` function when creating the client: ```python from fastmcp import Client from fastmcp....
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/sampling.mdx
main
model-context-protocol-fastmcp
[ -0.03608262538909912, -0.0004385893407743424, 0.06243059039115906, 0.004378440789878368, 0.057615138590335846, -0.029727470129728317, 0.03519758954644203, -0.033605627715587616, 0.015459057874977589, -0.03892912343144417, 0.026509208604693413, -0.005261201411485672, 0.09895423799753189, -0...
-0.023015
AsyncAnthropic client = Client( "my\_mcp\_server.py", sampling\_handler=AnthropicSamplingHandler( default\_model="claude-sonnet-4-5", client=AsyncAnthropic(), # Uses ANTHROPIC\_API\_KEY env var ), ) ``` Install the Anthropic handler with `pip install fastmcp[anthropic]`. ### Tool Execution Tool execution happens on the...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/sampling.mdx
main
model-context-protocol-fastmcp
[ -0.07417808473110199, -0.009272622875869274, -0.043134186416864395, 0.018219362944364548, -0.03147714212536812, -0.1204964742064476, -0.020153535529971123, 0.012775789946317673, -0.0033575696870684624, 0.006947647780179977, -0.019532695412635803, -0.007399896625429392, 0.036501962691545486, ...
0.010275
import { VersionBadge } from '/snippets/version-badge.mdx' MCP servers can report progress during long-running operations. The client can receive these updates through a progress handler. ## Progress Handler Set a progress handler when creating the client: ```python from fastmcp import Client async def my\_progress\_ha...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/progress.mdx
main
model-context-protocol-fastmcp
[ -0.02731124311685562, 0.015581712126731873, 0.03020409867167473, 0.02730703167617321, -0.001445630332455039, -0.022768782451748848, 0.0031549527775496244, -0.04778926074504852, -0.007197252009063959, 0.00241045537404716, 0.027567679062485695, 0.0008787948754616082, 0.07099952548742294, -0....
-0.004798
import { VersionBadge } from '/snippets/version-badge.mdx' Roots are a way for clients to inform servers about the resources they have access to. Servers can use this information to adjust behavior or provide more relevant responses. ## Setting Static Roots Provide a list of roots when creating the client: ```python St...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/roots.mdx
main
model-context-protocol-fastmcp
[ -0.05449683591723442, 0.012381883338093758, -0.011254377663135529, -0.0035335191059857607, -0.005474794190376997, -0.11108946800231934, -0.052231814712285995, 0.03460973501205444, 0.013792202807962894, -0.046243779361248016, 0.05896244943141937, 0.03359157219529152, 0.07435985654592514, -0...
-0.034837
import { VersionBadge } from '/snippets/version-badge.mdx' The central piece of MCP client applications is the `fastmcp.Client` class. This class provides a \*\*programmatic interface\*\* for interacting with any Model Context Protocol (MCP) server, handling protocol details and connection management automatically. The...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/client.mdx
main
model-context-protocol-fastmcp
[ -0.07525113224983215, -0.0031539476476609707, -0.01374172791838646, -0.038518548011779785, -0.012773801572620869, -0.08323594182729721, 0.01815524324774742, -0.009619936347007751, -0.056432127952575684, -0.012036974541842937, 0.016303308308124542, 0.002876407466828823, 0.09417416900396347, ...
0.120423
within the same session tools = await client.list\_tools() result = await client.call\_tool("greet", {"name": "World"}) # Connection closed automatically here print(f"Connected: {client.is\_connected()}") ``` ## Operations FastMCP clients can interact with several types of server components: ### Tools Tools are server-...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/client.mdx
main
model-context-protocol-fastmcp
[ -0.08401640504598618, 0.058120738714933395, -0.08634856343269348, 0.10241489112377167, -0.07138612866401672, -0.06600409001111984, 0.020057711750268936, 0.030647721141576767, 0.034594710916280746, -0.016494158655405045, 0.020252354443073273, -0.029788155108690262, 0.01279238611459732, -0.0...
0.009177
for each operation type: ### Core Operations - \*\*[Tools](/v2/clients/tools)\*\* - Execute server-side functions and handle results - \*\*[Resources](/v2/clients/resources)\*\* - Access static and templated resources - \*\*[Prompts](/v2/clients/prompts)\*\* - Work with message templates and argument serialization ### ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/client.mdx
main
model-context-protocol-fastmcp
[ 0.006796160712838173, 0.03949509188532829, -0.031936418265104294, 0.01145923975855112, -0.017317334190011024, -0.08372645080089569, -0.0026784336660057306, 0.03973233327269554, -0.008123926818370819, 0.04115058854222298, -0.039988402277231216, -0.048620954155921936, 0.02080283686518669, -0...
0.12377
import { VersionBadge } from "/snippets/version-badge.mdx"; MCP clients can receive various types of messages from servers, including requests that need responses and notifications that don't. The message handler provides a unified way to process all these messages. ## Function-Based Handler The simplest way to handle ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/messages.mdx
main
model-context-protocol-fastmcp
[ -0.04207969084382057, 0.02057095430791378, 0.09733711928129196, 0.04457198455929756, 0.06872061640024185, -0.0685211643576622, 0.061888232827186584, -0.04836220666766167, -0.0026389819104224443, -0.0013452856801450253, 0.02879742719233036, -0.007113348226994276, 0.0768679529428482, -0.0341...
0.046201
import { VersionBadge } from '/snippets/version-badge.mdx' MCP servers can emit log messages to clients. The client can handle these logs through a log handler callback. ## Log Handler Provide a `log\_handler` function when creating the client. For robust logging, the log messages can be integrated with Python's standa...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/logging.mdx
main
model-context-protocol-fastmcp
[ -0.0014001622330397367, 0.02225559763610363, 0.05472299084067345, 0.005002120975404978, 0.04734915494918823, -0.05301202833652496, 0.04309869930148125, -0.006466091610491276, -0.021976156160235405, -0.002465423196554184, 0.0077399746514856815, -0.03804272413253784, 0.11288804560899734, -0....
0.014329
import { VersionBadge } from '/snippets/version-badge.mdx' Resources are data sources exposed by MCP servers. They can be static files or dynamic templates that generate content based on parameters. ## Types of Resources MCP servers expose two types of resources: - \*\*Static Resources\*\*: Fixed content accessible via...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/resources.mdx
main
model-context-protocol-fastmcp
[ -0.04703463613986969, 0.033466875553131104, 0.023792492225766182, 0.047547370195388794, 0.09169355779886246, -0.026946263387799263, 0.005902990233153105, -0.02678745612502098, -0.04803798720240593, -0.021649207919836044, -0.045056600123643875, 0.006681161466985941, 0.09771998971700668, -0....
0.030937
templates\_result = await client.list\_resource\_templates\_mcp() # templates\_result -> mcp.types.ListResourceTemplatesResult content\_result = await client.read\_resource\_mcp("resource://example") # content\_result -> mcp.types.ReadResourceResult ``` ## Common Resource URI Patterns Different MCP servers may use vari...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/resources.mdx
main
model-context-protocol-fastmcp
[ -0.04916013404726982, 0.03454173728823662, 0.02154405601322651, 0.033395737409591675, 0.0007837263983674347, -0.004137298092246056, -0.0030608195811510086, 0.050696372985839844, -0.029639504849910736, -0.023154648020863533, -0.06825820356607437, 0.01160755380988121, -0.009899910539388657, ...
0.081419
import { VersionBadge } from "/snippets/version-badge.mdx" The FastMCP `Client` communicates with MCP servers through transport objects that handle the underlying connection mechanics. While the client can automatically select a transport based on what you pass to it, instantiating transports explicitly gives you full ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/transports.mdx
main
model-context-protocol-fastmcp
[ -0.016513556241989136, -0.009024331346154213, 0.03548629209399223, -0.034947287291288376, 0.02035417966544628, -0.07058636099100113, -0.006157487165182829, 0.012135060504078865, -0.034108877182006836, -0.021348191425204277, 0.036768749356269836, -0.018789395689964294, 0.050284139811992645, ...
0.102897
import StdioTransport required\_vars = ["API\_KEY", "DATABASE\_URL", "REDIS\_HOST"] env = { var: os.environ[var] for var in required\_vars if var in os.environ } transport = StdioTransport( command="python", args=["server.py"], env=env ) client = Client(transport) ``` \*\*Loading from .env files\*\* keeps configuration...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/transports.mdx
main
model-context-protocol-fastmcp
[ -0.0032936325296759605, -0.007667015306651592, -0.06561330705881119, -0.005058039911091328, -0.025509744882583618, -0.1006779596209526, 0.06445886939764023, 0.03854060918092728, 0.029156995937228203, -0.018968282267451286, -0.012865002267062664, -0.005790881346911192, 0.06487800180912018, ...
0.007732
client codeโ€”no isolation or explicit environment passing required. ```python from fastmcp import FastMCP, Client import os mcp = FastMCP("TestServer") @mcp.tool def greet(name: str) -> str: prefix = os.environ.get("GREETING\_PREFIX", "Hello") return f"{prefix}, {name}!" client = Client(mcp) async with client: result = ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/transports.mdx
main
model-context-protocol-fastmcp
[ -0.11834131926298141, 0.025858160108327866, 0.03635210543870926, 0.05846831202507019, -0.022414570674300194, -0.1279330551624298, -0.042397480458021164, -0.018992954865098, -0.013385877944529057, -0.07067513465881348, 0.017150698229670525, -0.04526601359248161, 0.042641881853342056, 0.0441...
-0.001198
import { VersionBadge } from "/snippets/version-badge.mdx" OAuth authentication is only relevant for HTTP-based transports and requires user interaction via a web browser. When your FastMCP client needs to access an MCP server protected by OAuth 2.1, and the process requires user interaction (like logging in and granti...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/auth/oauth.mdx
main
model-context-protocol-fastmcp
[ -0.08413687348365784, 0.05423731729388237, 0.009280248545110226, -0.05188567936420441, 0.007900016382336617, -0.06551436334848404, 0.002186516532674432, 0.03192633017897606, -0.007801018189638853, -0.07271309942007065, 0.016860581934452057, -0.0002224474010290578, 0.10617899149656296, -0.0...
-0.055865
to the MCP server. If the access token expires, the client will automatically use the refresh token to get a new access token. ## Token Storage By default, tokens are stored in memory and lost when your application restarts. For persistent storage, pass an `AsyncKeyValue`-compatible storage backend to the `token\_stora...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/auth/oauth.mdx
main
model-context-protocol-fastmcp
[ -0.08191315829753876, 0.0017019144725054502, -0.0017612570663914084, 0.029590819031000137, 0.0247808750718832, -0.04708242416381836, 0.017798012122511864, 0.036226920783519745, 0.06886425614356995, 0.011143608018755913, 0.021271629258990288, 0.06499477475881577, 0.10085266828536987, -0.048...
0.025478
import { VersionBadge } from "/snippets/version-badge.mdx" Bearer Token authentication is only relevant for HTTP-based transports. You can configure your FastMCP client to use \*\*bearer authentication\*\* by supplying a valid access token. This is most appropriate for service accounts, long-lived API keys, CI/CD, appl...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/clients/auth/bearer.mdx
main
model-context-protocol-fastmcp
[ -0.09900227189064026, 0.0736517384648323, -0.0030492148362100124, -0.055633947253227234, -0.01956663280725479, -0.03501017764210701, 0.03885091096162796, 0.00004822613118449226, -0.0037401560693979263, -0.052669789642095566, 0.03148674964904785, -0.002241556067019701, 0.1122540831565857, -...
0.009034
import { VersionBadge } from "/snippets/version-badge.mdx" FastMCP provides a command-line interface (CLI) that makes it easy to run, develop, and install your MCP servers. The CLI is automatically installed when you install FastMCP. ```bash fastmcp --help ``` ## Commands Overview | Command | Purpose | Dependency Manag...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.053564950823783875, -0.018180737271904945, 0.05209784209728241, -0.04867960885167122, 0.04635344818234444, -0.04847140982747078, -0.07730986922979355, -0.016180865466594696, -0.06500773131847382, -0.02449582703411579, 0.04362322390079498, -0.038850218057632446, 0.04446934163570404, -0.0...
-0.024106
and uses the specified server entrypoint 3. \*\*[Factory function](#factory-function)\*\*: `server.py:create\_server` - calls the specified function (sync or async) to create a server instance 4. \*\*[Remote server proxy](#remote-server-proxy)\*\*: `https://example.com/mcp-server` - connects to a remote server and crea...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.08637183159589767, -0.041308388113975525, -0.028025498613715172, -0.03753509372472763, -0.031249234452843666, -0.0781506597995758, -0.04463120549917221, -0.03645767644047737, -0.035891856998205185, -0.015820682048797607, 0.0710771456360817, 0.04974914342164993, 0.03183756023645401, 0.00...
0.072414
Or explicitly specify a configuration file fastmcp run my-config.fastmcp.json ``` The configuration file handles dependencies, environment variables, and transport settings. Command-line arguments override configuration file values: ```bash # Override port from config file fastmcp run fastmcp.json --port 8080 # Skip en...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.015281298197805882, 0.05826297774910927, 0.023692237213253975, -0.043721459805965424, 0.03140122443437576, -0.06356191635131836, -0.056068968027830124, -0.006090782582759857, -0.024909552186727524, 0.0020412339363247156, 0.09552162885665894, -0.042990703135728836, 0.0413125716149807, 0....
-0.094237
\*\*FastMCP configuration\*\*: `fastmcp.json` - uses FastMCP's declarative configuration (auto-detects in current directory) The `dev` command \*\*only supports local files and fastmcp.json\*\* - no URLs, remote servers, or standard MCP configuration files. \*\*Examples\*\* ```bash # Run dev server with editable mode a...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.06186934933066368, -0.013873420655727386, -0.012492064386606216, -0.05775246024131775, 0.039832696318626404, -0.10715076327323914, -0.09800927340984344, 0.006521305534988642, -0.0402141772210598, -0.021684719249606133, 0.07508525252342224, -0.021821793168783188, -0.012019929476082325, -...
-0.015893
object is found. 2. \*\*Explicit server entrypoint\*\*: `server.py:custom\_name` - imports and uses the specified server entrypoint 3. \*\*Factory function\*\*: `server.py:create\_server` - calls the specified function (sync or async) to create a server instance 4. \*\*FastMCP configuration\*\*: `fastmcp.json` - uses F...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.06843964010477066, -0.03514143452048302, -0.015415774658322334, -0.009404998272657394, -0.009978855960071087, -0.04169480502605438, -0.026033494621515274, -0.012186127714812756, -0.0057668923400342464, -0.012520680204033852, 0.0892566666007042, -0.006971691735088825, 0.03930216282606125, ...
0.051559
#### FastMCP Format (`--format fastmcp`) The default and most comprehensive format, includes all FastMCP-specific metadata: - Server name, instructions, and version - FastMCP version and MCP version - Tool tags and enabled status - Output schemas for tools - Annotations and custom metadata - Uses snake\_case field name...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ -0.0186994057148695, 0.0312693752348423, 0.014839638955891132, -0.0169584471732378, 0.0420050211250782, -0.021103180944919586, -0.032769858837127686, -0.03452787548303604, -0.015023033134639263, -0.026724863797426224, 0.0601215586066246, -0.027228299528360367, 0.02916642278432846, -0.05612...
0.061083
------ | ---- | ----------- | | Copy to Clipboard | `--copy` | Copy version information to clipboard |
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/cli.mdx
main
model-context-protocol-fastmcp
[ 0.044375285506248474, -0.03293359652161598, -0.01703903265297413, -0.022454651072621346, 0.07962843030691147, 0.016240833327174187, -0.0386541411280632, -0.01957888901233673, 0.003696235129609704, -0.03975868225097656, 0.053769901394844055, -0.017907127737998962, -0.08477521687746048, -0.1...
-0.056758
FastMCP's decorator system is designed to work with functions, but you may see unexpected behavior if you try to decorate an instance or class method. This guide explains the correct approach for using methods with all FastMCP decorators (`@tool`, `@resource`, and `@prompt`). ## Why Are Methods Hard? When you apply a F...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/decorating-methods.mdx
main
model-context-protocol-fastmcp
[ -0.07770925015211105, 0.05627337843179703, 0.08028465509414673, -0.005738536827266216, -0.007374590262770653, -0.03502747043967247, -0.006966633256524801, -0.061231374740600586, 0.0009698863723315299, -0.005207129288464785, 0.023567287251353264, -0.028817616403102875, 0.05889220908284187, ...
-0.037371
# Register the class method after the class is defined mcp.tool(MyClass.from\_string) ``` This works because: 1. The `@classmethod` decorator is applied properly during class definition 2. When you access `MyClass.from\_string`, Python provides a special method object that automatically binds the class to the `cls` par...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/decorating-methods.mdx
main
model-context-protocol-fastmcp
[ -0.07136791199445724, 0.004263268318027258, 0.009177545085549355, 0.0073960525915026665, -0.07644443213939667, -0.017326651141047478, 0.03435440734028816, -0.017145073041319847, -0.09329774230718613, -0.05831044167280197, 0.04289397597312927, -0.019098851829767227, 0.04611090198159218, 0.0...
-0.050289
The best way to ensure a reliable and maintainable FastMCP Server is to test it! The FastMCP Client combined with Pytest provides a simple and powerful way to test your FastMCP servers. ## Prerequisites Testing FastMCP servers requires `pytest-asyncio` to handle async test functions and fixtures. Install it as a develo...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/testing.mdx
main
model-context-protocol-fastmcp
[ -0.06036306917667389, 0.002273860154673457, 0.022936100140213966, 0.06392118334770203, -0.028451908379793167, -0.10525081306695938, -0.08066757023334503, 0.0013872297713533044, -0.034630004316568375, -0.060996443033218384, 0.03288336098194122, -0.017358725890517235, 0.021417435258626938, 0...
-0.058017
import { VersionBadge } from '/snippets/version-badge.mdx' Tool transformation allows you to create new, enhanced tools from existing ones. This powerful feature enables you to adapt tools for different contexts, simplify complex interfaces, or add custom logic without duplicating code. ## Why Transform Tools? Often, a...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.048966944217681885, 0.06932388991117477, -0.020846126601099968, -0.01739349775016308, 0.009271142072975636, 0.04474261403083801, -0.006486509460955858, -0.011643989011645317, -0.05046176165342331, -0.011097201146185398, -0.052675846964120865, -0.038686033338308334, 0.12716186046600342, ...
0.003969
this tool to your MCP server using its `add\_tool()` method. ## Modifying Arguments To modify a tool's parameters, provide a dictionary of `ArgTransform` objects to the `transform\_args` parameter of `Tool.from\_tool()`. Each key is the name of the \*original\* argument you want to modify. You only need to provide a `t...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.042378153651952744, -0.0022091225255280733, -0.06496190279722214, 0.040987879037857056, -0.09233293682336807, -0.017131265252828598, 0.06767928600311279, -0.005925917532294989, -0.043270401656627655, 0.04120652377605438, -0.012940546497702599, -0.03855212777853012, 0.006217525340616703, ...
0.069023
you provide a new default), because the LLM can't provide a value at call time. To pass a constant value to the parent tool, combine `hide=True` with `default=`. ```python {19-20} import os from fastmcp import FastMCP from fastmcp.tools import Tool from fastmcp.tools.tool\_transform import ArgTransform mcp = FastMCP() ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.05486911162734032, 0.03386539965867996, 0.016841579228639603, 0.04300719127058983, 0.0037294868379831314, -0.10070794075727463, 0.03709731251001358, 0.027679894119501114, 0.05747241526842117, -0.03279343992471695, 0.04152723401784897, -0.09882120043039322, 0.06645707041025162, -0.021336...
0.01945
of the time, you don't want to completely replace the parent tool's behavior. Instead, you want to add validation, modify inputs, or post-process outputs while still leveraging the parent tool's core functionality. For this, FastMCP provides the special `forward()` and `forward\_raw()` functions. Both `forward()` and `...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.11603937298059464, -0.007548090070486069, -0.029724741354584694, 0.006274203769862652, -0.016127903014421463, -0.04501575604081154, -0.027642609551548958, -0.01628340221941471, 0.019054515287280083, -0.030640486627817154, 0.07075924426317215, -0.08008891344070435, -0.0004592378973029554, ...
0.005146
int: """Adds two numbers.""" return x + y async def ensure\_a\_positive(a: int, \*\*kwargs) -> int: if a <= 0: raise ValueError("a must be positive") return await forward(a=a, \*\*kwargs) new\_tool = Tool.from\_tool( add, transform\_fn=ensure\_a\_positive, transform\_args={ "x": ArgTransform(name="a"), "y": ArgTransfor...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.1190209612250328, 0.013211469165980816, -0.03938654810190201, 0.03663879260420799, -0.10151555389165878, -0.04713280126452446, 0.05170074850320816, -0.007598166354000568, -0.025224046781659126, 0.00031399427098222077, 0.04839809611439705, -0.0898420587182045, 0.07235443592071533, -0.015...
0.011007
GitHub repository.", transform\_args={ "owner": ArgTransform(description="The owner of the repository."), "repo": ArgTransform(description="The name of the repository."), "limit": ArgTransform(description="Maximum number of issues to return."), # Hide internal parameters "include\_debug\_info": ArgTransform(hide=True, ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/tool-transformation.mdx
main
model-context-protocol-fastmcp
[ -0.08682770282030106, -0.005132731050252914, -0.04980809614062309, 0.01363799162209034, -0.04067995026707649, -0.07694780081510544, 0.029941188171505928, 0.024469787254929543, -0.016062960028648376, 0.010839569382369518, 0.03082369826734066, -0.0476919561624527, 0.06876574456691742, -0.048...
0.029
import { VersionBadge } from "/snippets/version-badge.mdx" FastMCP includes a `contrib` package that holds community-contributed modules. These modules extend FastMCP's functionality but aren't officially maintained by the core team. Contrib modules provide additional features, integrations, or patterns that complement...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/patterns/contrib.mdx
main
model-context-protocol-fastmcp
[ -0.09353691339492798, -0.025817589834332466, 0.00981759000569582, -0.02603747323155403, 0.06956575065851212, -0.027691662311553955, -0.014376899227499962, -0.015706866979599, -0.06601950526237488, -0.1009146124124527, 0.08301759511232376, -0.024965286254882812, 0.052337635308504105, -0.024...
0.036594
import { VersionBadge } from "/snippets/version-badge.mdx" Good tests are the foundation of reliable software. In FastMCP, we treat tests as first-class documentation that demonstrates how features work while protecting against regressions. Every new capability needs comprehensive tests that demonstrate correctness. ##...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/tests.mdx
main
model-context-protocol-fastmcp
[ -0.036509692668914795, 0.02599659562110901, 0.04486207664012909, -0.015731796622276306, 0.05515924096107483, -0.0882062166929245, -0.020785227417945862, 0.019889365881681442, -0.04870092496275902, -0.013418378308415413, 0.06332764029502869, 0.026183949783444405, 0.05332035943865776, 0.0299...
-0.021088
test\_setup\_server(): """Setup for other tests.""" global test\_server test\_server = FastMCP("shared-server") def test\_server\_works(): """Test server functionality.""" # Depends on test\_setup\_server running first assert test\_server is not None ``` #### Clear Intent Test names and assertions should make the verif...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/tests.mdx
main
model-context-protocol-fastmcp
[ -0.1015302985906601, -0.01914246752858162, -0.03718133643269539, 0.06126740947365761, -0.026265908032655716, -0.06278336048126221, 0.007621889468282461, -0.06545277684926987, -0.029286867007613182, -0.02814970351755619, 0.09003610908985138, -0.04414059594273567, 0.09596667438745499, 0.0227...
-0.014541
test\_weather\_operations(): # Pass server directly - no deployment needed async with Client(server) as client: result = await client.call\_tool("get\_temperature", {"city": "NYC"}) assert result.data == {"city": "NYC", "temp": 72} ``` This pattern makes tests deterministic and fast - typically completing in millisecon...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/tests.mdx
main
model-context-protocol-fastmcp
[ -0.0482586994767189, -0.0052968282252550125, 0.02507450245320797, 0.13305532932281494, -0.08448008447885513, -0.1360350102186203, 0.0030875219963490963, -0.0707809329032898, -0.05400586500763893, 0.001970705110579729, 0.040973685681819916, -0.07984257489442825, 0.049956172704696655, -0.028...
-0.039924
This guide provides migration instructions for breaking changes and major updates when upgrading between FastMCP versions. ## v2.14.0 ### OpenAPI Parser Promotion The experimental OpenAPI parser is now the standard implementation. The legacy parser has been removed. \*\*If you were using the legacy parser:\*\* No code ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/upgrade-guide.mdx
main
model-context-protocol-fastmcp
[ -0.053534701466560364, -0.011959258466959, 0.09346090257167816, 0.004069437738507986, 0.015431753359735012, -0.13549087941646576, -0.10147836059331894, -0.03454907611012459, -0.05147155374288559, -0.05766790360212326, 0.0828901156783104, -0.06552613526582718, 0.016817675903439522, -0.01566...
0.011028
Contributing to FastMCP means joining a community that values clean, maintainable code and thoughtful API design. All contributions are valued - from fixing typos in documentation to implementing major features. ## Issues ### Issue First, Code Second \*\*Every pull request requires a corresponding issue - no exceptions...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/contributing.mdx
main
model-context-protocol-fastmcp
[ -0.07383590191602707, 0.034358639270067215, 0.03421606123447418, 0.003683611983433366, 0.037989869713783264, 0.035881079733371735, 0.0034907914232462645, 0.03296378254890442, -0.0451766699552536, -0.006179254502058029, 0.03935234248638153, -0.00879369955509901, 0.01852675899863243, -0.0287...
0.055928
possibly years from now, possibly without context about your decisions. \*\*PRs can be rejected for two opposing reasons:\*\* 1. \*\*Insufficient quality\*\* - Code that doesn't meet our standards for clarity, maintainability, or idiomaticity 2. \*\*Overengineering\*\* - Code that is overbearing, unnecessarily complex,...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/contributing.mdx
main
model-context-protocol-fastmcp
[ -0.16359059512615204, 0.03158579021692276, -0.011676555499434471, 0.009876339696347713, -0.003512921277433634, -0.042603086680173874, 0.03532106801867485, 0.024374254047870636, -0.0340299978852272, -0.0028310411144047976, 0.056382060050964355, -0.015437363646924496, 0.02611057460308075, -0...
0.130979
the "why" - the code shows the "what". Keep it concise but complete. #### What We Look For \*\*Framework Philosophy\*\*: FastMCP is NOT trying to do all things or provide all shortcuts. Features are rejected when they don't align with the framework's vision, even if perfectly implemented. The burden of proof is on the ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/contributing.mdx
main
model-context-protocol-fastmcp
[ -0.08946002274751663, 0.05325040593743324, 0.024097003042697906, 0.045148029923439026, 0.15688161551952362, 0.0023091514594852924, -0.026116935536265373, -0.04224860295653343, -0.06180335953831673, 0.033118490129709244, 0.08671926707029343, -0.010514858178794384, -0.032564688473939896, -0....
0.055354
FastMCP releases frequently to deliver features quickly in the rapidly evolving MCP ecosystem. We use semantic versioning pragmatically - the Model Context Protocol is young, patterns are still emerging, and waiting for perfect stability would mean missing opportunities to empower developers with better tools. ## Versi...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/releases.mdx
main
model-context-protocol-fastmcp
[ -0.04021451622247696, 0.04065835475921631, 0.11236821115016937, -0.038588155061006546, 0.12127432227134705, -0.03917226940393448, -0.10266092419624329, -0.06161292642354965, -0.04866621643304825, -0.0011659970041364431, 0.04268447682261467, -0.029230307787656784, -0.03737775981426239, -0.0...
0.041447
fixes This approach means you get improvements as soon as they're ready rather than waiting for arbitrary release dates.
https://github.com/jlowin/fastmcp/blob/main/docs/v2/development/releases.mdx
main
model-context-protocol-fastmcp
[ -0.02922416292130947, -0.015252199023962021, 0.11128921061754227, -0.01964293234050274, 0.04883607104420662, -0.012222988530993462, -0.11393625289201736, -0.0347290001809597, -0.034256577491760254, 0.04475676268339157, 0.06258974969387054, 0.09474637359380722, -0.08527372032403946, 0.00489...
0.011417
import { VersionBadge } from "/snippets/version-badge.mdx" This guide shows you how to secure your FastMCP server using \*\*OCI IAM OAuth\*\*. Since OCI IAM doesn't support Dynamic Client Registration, this integration uses the [\*\*OIDC Proxy\*\*](/v2/servers/auth/oidc-proxy) pattern to bridge OCI's traditional OAuth ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/oci.mdx
main
model-context-protocol-fastmcp
[ -0.10399021208286285, 0.06035381183028221, 0.020709112286567688, -0.04715149477124214, 0.0009620270575396717, -0.07506797462701797, 0.022330299019813538, 0.0008754143491387367, 0.050164323300123215, -0.018433814868330956, 0.00993274711072445, -0.06344430893659592, 0.08972390741109848, -0.0...
-0.012454
you can also use OCI CLI. Before using the CLI command below, ensure that you have created a token exchange OAuth client. In most cases, you can use the same OAuth client that you created above. You will use the client ID of the token exchange OAuth client in the CLI command below and replace it with {FASTMCP\_SERVER\_...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/oci.mdx
main
model-context-protocol-fastmcp
[ -0.06721227616071701, 0.010233217850327492, -0.04132221266627312, -0.05859369784593582, -0.0035038073547184467, -0.1132795438170433, 0.07324247807264328, 0.03446492925286293, 0.02210826985538006, -0.027267320081591606, 0.057614948600530624, -0.10675759613513947, 0.045844051986932755, -0.00...
0.010961
config\_url=FASTMCP\_SERVER\_AUTH\_OCI\_CONFIG\_URL, client\_id=FASTMCP\_SERVER\_AUTH\_OCI\_CLIENT\_ID, client\_secret=FASTMCP\_SERVER\_AUTH\_OCI\_CLIENT\_SECRET, base\_url="https://your-production-domain.com", # Production token management jwt\_signing\_key=os.environ["JWT\_SIGNING\_KEY"], client\_storage=FernetEncryp...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/oci.mdx
main
model-context-protocol-fastmcp
[ -0.045364439487457275, 0.007527388632297516, -0.037751391530036926, -0.0347672700881958, -0.000019959052224294282, -0.12079963833093643, -0.008330299519002438, 0.042277347296476364, -0.0017110032495111227, -0.052368760108947754, 0.058412566781044006, -0.08162590116262436, 0.04511453956365585...
-0.002738
import { VersionBadge } from "/snippets/version-badge.mdx" Google's Gemini API includes built-in support for MCP servers in their Python and JavaScript SDKs, allowing you to connect directly to MCP servers and use their tools seamlessly with Gemini models. ## Gemini Python SDK Google's [Gemini Python SDK](https://ai.go...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/gemini.mdx
main
model-context-protocol-fastmcp
[ -0.138987734913826, -0.05415216460824013, 0.04691895842552185, -0.045630890876054764, 0.012022418901324272, -0.040434032678604126, -0.022475697100162506, -0.0118084866553545, -0.05989345535635948, -0.023000439628958702, -0.03898222744464874, 0.04517567157745361, 0.060417987406253815, -0.07...
0.01317
import { VersionBadge } from "/snippets/version-badge.mdx" Install auth stack to your FastMCP server with [Scalekit](https://scalekit.com) using the [Remote OAuth](/v2/servers/auth/remote-oauth) pattern: Scalekit handles user authentication, and the MCP server validates issued tokens. ### Prerequisites Before you begin...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/scalekit.mdx
main
model-context-protocol-fastmcp
[ -0.026758644729852676, 0.009768066927790642, 0.022150857374072075, -0.03180338069796562, 0.043797023594379425, -0.025273101404309273, -0.06634099781513214, 0.007529562804847956, -0.02870313450694084, 0.0029639415442943573, 0.05589663237333298, -0.07612594962120056, 0.06366262584924698, -0....
-0.053173
with the Remote OAuth pattern without preโ€‘provisioned credentials. \*\*Validation and SSO\*\*: tokens are verified (keys, RS256, issuer, audience, expiry), and SAML, OIDC, OAuth 2.0, ADFS, Azure AD, and Google Workspace are supported; use HTTPS in production and review auth logs as needed. ## Debugging Enable detailed ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/scalekit.mdx
main
model-context-protocol-fastmcp
[ -0.09331018477678299, -0.005079454742372036, 0.02941041626036167, -0.009266274981200695, 0.01957671344280243, -0.09217134118080139, 0.013701586984097958, -0.05315934494137764, -0.012230961583554745, -0.029154878109693527, 0.01137869618833065, -0.020441563799977303, 0.0638515055179596, -0.0...
-0.063421
import { VersionBadge } from "/snippets/version-badge.mdx" This guide shows you how to secure your FastMCP server using WorkOS's \*\*AuthKit\*\*, a complete authentication and user management solution. This integration uses the [\*\*Remote OAuth\*\*](/v2/servers/auth/remote-oauth) pattern, where AuthKit handles user lo...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/authkit.mdx
main
model-context-protocol-fastmcp
[ -0.07902351021766663, 0.06090904399752617, -0.019025465473532677, -0.07572345435619354, 0.03406244516372681, -0.031594499945640564, -0.0006591194542124867, -0.027762258425354958, -0.030189555138349533, -0.02198054827749729, 0.04586639255285263, -0.04748832806944847, 0.07364370673894882, 0....
0.036359
import { VersionBadge } from "/snippets/version-badge.mdx" This guide shows you how to secure your FastMCP server using \*\*Supabase Auth\*\*. This integration uses the [\*\*Remote OAuth\*\*](/v2/servers/auth/remote-oauth) pattern, where Supabase handles user authentication and your FastMCP server validates the tokens....
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/supabase.mdx
main
model-context-protocol-fastmcp
[ -0.06196818873286247, 0.03035951964557171, -0.004363954067230225, -0.03663421422243118, 0.035487063229084015, 0.031018637120723724, -0.06532489508390427, -0.021985530853271484, -0.029455028474330902, -0.042197585105895996, 0.06868721544742584, -0.03568664565682411, 0.1082918792963028, -0.0...
-0.029878
import { VersionBadge } from "/snippets/version-badge.mdx" This guide shows you how to secure your FastMCP server using \*\*GitHub OAuth\*\*. Since GitHub doesn't support Dynamic Client Registration, this integration uses the [\*\*OAuth Proxy\*\*](/v2/servers/auth/oauth-proxy) pattern to bridge GitHub's traditional OAu...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/github.mdx
main
model-context-protocol-fastmcp
[ -0.06333805620670319, -0.003757419064640999, 0.007690859492868185, -0.026192255318164825, 0.011786410585045815, -0.004920061212033033, -0.03522443026304245, 0.007503334898501635, 0.0004080429207533598, -0.046276938170194626, 0.042794860899448395, -0.011172529309988022, 0.11860588937997818, ...
-0.060421
tokens locally, so you won't need to re-authenticate for subsequent runs unless the token expires or you explicitly clear the cache. ## Production Configuration For production deployments with persistent token management across server restarts, configure `jwt\_signing\_key` and `client\_storage`: ```python server.py im...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/github.mdx
main
model-context-protocol-fastmcp
[ -0.08281686156988144, -0.016286306083202362, -0.06303996592760086, 0.02950943075120449, 0.0037791836075484753, -0.0673174187541008, -0.004081031307578087, 0.052467215806245804, 0.026447277516126633, -0.022262010723352432, 0.03476148471236229, 0.019011080265045166, 0.02302900329232216, -0.0...
0.068558
import { VersionBadge } from "/snippets/version-badge.mdx" import { LocalFocusTip } from "/snippets/local-focus.mdx" Claude Desktop supports MCP servers through local STDIO connections and remote servers (beta), allowing you to extend Claude's capabilities with custom tools, resources, and prompts from your FastMCP ser...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/claude-desktop.mdx
main
model-context-protocol-fastmcp
[ 0.008964101783931255, -0.04414689913392067, -0.015426011756062508, -0.08000240474939346, -0.010463317856192589, 0.04227433353662491, -0.039775311946868896, 0.028581833466887474, -0.04939999431371689, 0.0012663722736760974, 0.007169962394982576, 0.0034666110295802355, 0.04741796851158142, -...
-0.017228
with. This is particularly useful when your server requires a specific Python version: ```bash fastmcp install claude-desktop server.py --python 3.11 ``` \*\*Project directory\*\*: Use `--project` to run your server within a specific project directory. This ensures that `uv` will discover all `pyproject.toml`, `uv.toml...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/claude-desktop.mdx
main
model-context-protocol-fastmcp
[ -0.024227488785982132, 0.01232299953699112, -0.016855880618095398, -0.07406832277774811, 0.014511912129819393, -0.0818188413977623, -0.043290045112371445, 0.036129940301179886, 0.01914934441447258, -0.020701054483652115, 0.046701911836862564, -0.006605255417525768, 0.036568593233823776, 0....
-0.10349
"your-api-key", "DEBUG": "true" } } } } ``` Claude Desktop runs servers in a completely isolated environment with no access to your shell environment or locally installed applications. You must explicitly pass any environment variables your server needs. ## Remote Servers Users on Claude Pro, Max, Team, and Enterprise ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/claude-desktop.mdx
main
model-context-protocol-fastmcp
[ -0.021139537915587425, 0.018094845116138458, -0.03660652041435242, -0.04667136073112488, -0.08791173994541168, -0.05573130398988724, -0.05735711753368378, 0.0812932625412941, -0.01787405088543892, 0.005347668658941984, 0.002347663277760148, -0.019112149253487587, 0.06111661717295647, -0.03...
-0.060572
import { VersionBadge } from "/snippets/version-badge.mdx" ## Responses API OpenAI's [Responses API](https://platform.openai.com/docs/api-reference/responses) supports [MCP servers](https://platform.openai.com/docs/guides/tools-remote-mcp) as remote tool sources, allowing you to extend AI capabilities with custom funct...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/openai.mdx
main
model-context-protocol-fastmcp
[ -0.07636682689189911, -0.029720652848482132, 0.006205146200954914, 0.02466217800974846, 0.05629871413111687, -0.05093957856297493, -0.01861513778567314, -0.021153118461370468, 0.0343167670071125, 0.015359939076006413, -0.007924310863018036, -0.009896091185510159, 0.06151333078742027, -0.02...
0.111612
to sign and verify tokens. ```python from fastmcp.server.auth.providers.jwt import RSAKeyPair key\_pair = RSAKeyPair.generate() access\_token = key\_pair.create\_token(audience="dice-server") ``` FastMCP's `RSAKeyPair` utility is for development and testing only. Next, we'll create a `JWTVerifier` to authenticate the s...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/openai.mdx
main
model-context-protocol-fastmcp
[ -0.09140327572822571, 0.00476790638640523, -0.03815216198563576, -0.02258990705013275, -0.02966357208788395, -0.034683603793382645, 0.020210877060890198, 0.03220805525779724, 0.03007056750357151, -0.08622447401285172, 0.013768887147307396, -0.02326904609799385, 0.08204620331525803, -0.0599...
-0.033835
import { VersionBadge } from "/snippets/version-badge.mdx"; This guide shows you how to secure your FastMCP server using [\*\*Descope\*\*](https://www.descope.com), a complete authentication and user management solution. This integration uses the [\*\*Remote OAuth\*\*](/v2/servers/auth/remote-oauth) pattern, where Desc...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/descope.mdx
main
model-context-protocol-fastmcp
[ -0.09362678229808807, 0.025134531781077385, 0.01582092046737671, -0.060562457889318466, 0.02118728868663311, -0.007926338352262974, -0.02645796164870262, -0.016984328627586365, -0.010117551311850548, -0.04070209339261055, 0.06348621100187302, -0.04013020545244217, 0.09014935791492462, -0.0...
-0.039078
Add \*\*policy-based authorization\*\* to your FastMCP servers with one-line code addition with the \*\*[Eunomia][eunomia-github] authorization middleware\*\*. Control which tools, resources and prompts MCP clients can view and execute on your server. Define dynamic JSON-based policies and obtain a comprehensive audit ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/eunomia-authorization.mdx
main
model-context-protocol-fastmcp
[ -0.060922592878341675, 0.023448802530765533, -0.008539176546037197, -0.03349727764725685, 0.0023076559882611036, -0.05245572328567505, 0.05124901607632637, -0.010207177139818668, -0.004391294438391924, 0.03566068410873413, 0.01732858084142208, -0.041227780282497406, 0.07078025490045547, -0...
0.150619
import { VersionBadge } from "/snippets/version-badge.mdx" import { LocalFocusTip } from "/snippets/local-focus.mdx" Cursor supports MCP servers through multiple transport methods including STDIO, SSE, and Streamable HTTP, allowing you to extend Cursor's AI assistant with custom tools, resources, and prompts from your ...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/cursor.mdx
main
model-context-protocol-fastmcp
[ -0.09025735408067703, -0.06581855565309525, 0.0060805692337453365, -0.0705493614077568, -0.03644121065735817, -0.048712458461523056, 0.003982563968747854, -0.02547227218747139, -0.020641274750232697, -0.0007464422378689051, 0.02851884625852108, -0.012496949173510075, 0.08574467152357101, -...
0.020638
fastmcp install cursor server.py --project /path/to/my-project ``` #### Environment Variables Cursor runs servers in a completely isolated environment with no access to your shell environment or locally installed applications. You must explicitly pass any environment variables your server needs. If your server needs en...
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/cursor.mdx
main
model-context-protocol-fastmcp
[ -0.05315084010362625, -0.0020134001970291138, 0.02616514079272747, -0.07663273811340332, -0.012743981555104256, -0.07043096423149109, -0.029425833374261856, 0.032207589596509933, -0.0393495075404644, 0.006485545076429844, 0.04080424830317497, -0.0629747286438942, 0.07860344648361206, 0.009...
-0.090379
The 6 was a nice high roll there! The AI assistant can now access all the tools, resources, and prompts you've defined in your FastMCP server.
https://github.com/jlowin/fastmcp/blob/main/docs/v2/integrations/cursor.mdx
main
model-context-protocol-fastmcp
[ -0.09066808223724365, -0.04017195105552673, -0.015796508640050888, -0.015218187123537064, 0.01972457952797413, 0.05013938620686531, -0.03403729945421219, -0.026305852457880974, -0.017523784190416336, 0.01090754009783268, 0.03311767429113388, 0.01971268467605114, -0.02095155231654644, -0.09...
0.122434